• chevron_right

      How to remove disabled snaps

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 23 November, 2022 - 12:00 edit

    Remove disabled snaps which are not longer used. List installed snaps. Notice, some of these are disabled as there are multiple revisions available. $ snap list --all Name Version Rev Tracking Publisher Notes bare 1.0 5 latest/stable canonical* base chromium 98.0.4758.102 1912 latest/stable canonical* - chromium 98.0.4758.80 1899 latest/stable canonical* disabled code f80445ac 88 latest/stable […]

    Značky: #DailyOps, #Ubuntu, #Linux, #snap

    • chevron_right

      How to keep custom number of snap revisions

      pubsub.slavino.sk / sleeplessbestie · Monday, 21 November, 2022 - 12:00 edit

    Define a custom number of snap revisions. Since snap 2.34 you can use refresh.retain option to define a number of kept revisions (between 2 and 20). By default it is 3 on Ubuntu Core and 2 on other Ubuntu systems. Inspect initial refresh configuration – noting is defined, so defaults apply. $ sudo snap get […]

    Značky: #Linux, #DailyOps, #Ubuntu, #snap

    • chevron_right

      How to manage monitor using DDC/CI protocol

      pubsub.slavino.sk / sleeplessbestie · Monday, 31 October, 2022 - 12:00 edit

    Use ddcutil to manage monitor using DDC/CI protocol. Installation Use openSUSE Build Service to download ddcutil package. Download package sing terminal. $ wget https://download.opensuse.org/repositories/home:/rockowitz/xUbuntu_21.10/amd64/ddcutil_1.2.2-1_amd64.deb Inspect downloaded package. $ dpkg --info ddcutil_1.2.2-1_amd64.deb new Debian package, version 2.0. size 313476 bytes: control archive=1202 bytes. 827 bytes, 16 lines control 816 bytes, 12 lines md5sums 199 bytes, 7 […]

    Značky: #DailyOps, #Ubuntu, #Linux

    • chevron_right

      How to manage command history using text-based user interface

      pubsub.slavino.sk / sleeplessbestie · Saturday, 29 October, 2022 - 11:00 edit

    Manage command history using text-based user interface. Inspect hstr application. $ sudo apt info hstr Package: hstr Version: 2.3+ds-1 Priority: optional Section: utils Maintainer: Daniel Echeverri Installed-Size: 74.8 kB Depends: libc6 (>= 2.29), libncursesw6 (>= 6), libreadline8 (>= 6.0), libtinfo6 (>= 6) Homepage: https://github.com/dvorka/hstr Tag: uitoolkit::ncurses Download-Size: 26.9 kB APT-Sources: https://deb.debian.org/debian bullseye/main arm64 Packages Description: […]

    Značky: #Linux, #Debian, #Bullseye, #DailyOps

    • chevron_right

      How to configure cursor size using command-line utility

      pubsub.slavino.sk / sleeplessbestie · Monday, 19 September, 2022 - 11:00 edit

    Configure cursor size using command-line on Ubuntu 22 Jammy Jellyfish. You can configure cursor size using GNOME control center. Get current cursor size using GSettings configuration tool. $ gsettings get org.gnome.desktop.interface cursor-size 32 Set cursor size using command-line utility. $ gsettings set org.gnome.desktop.interface cursor-size 48 Use cursor sizes defined inside GNOME control center source code. […]

    Značky: #Linux, #Ubuntu, #DailyOps

    • chevron_right

      How to control Power Profiles daemon using command-line

      pubsub.slavino.sk / sleeplessbestie · Monday, 12 September, 2022 - 11:00 edit

    Control Power Profiles daemon using a dedicated powerprofilesctl command-line utility. Permanently change the power profile Display version of the Power Profiles command-line utility. $ powerprofilesctl version 0.10.1 Display active power profile. $ powerprofilesctl get performance Display available power profiles. $ powerprofilesctl list * performance: Driver: intel_pstate Degraded: no balanced: Driver: intel_pstate power-saver: Driver: intel_pstate Alter […]

    Značky: #Linux, #DailyOps, #Ubuntu

    • chevron_right

      How to archive entire web page in a single HTML file

      pubsub.slavino.sk / sleeplessbestie · Friday, 13 May, 2022 - 11:00 edit

    Use SingleFile to archive entire web page in a single HTML file. Browser extension Install browser extension for Firefox, Chrome or Edge. This is enough for occasional use, quick and clean solution, just remember to backup saved pages. CLI utility You can also use the command-line utility which will execute a headless browser. Install npm. […]

    Značky: #Ubuntu, #Debian, #Linux, #DailyOps

    • chevron_right

      How to enumerate power sources and display battery status

      pubsub.slavino.sk / sleeplessbestie · Friday, 29 April, 2022 - 11:00 edit

    Enumerate power sources and display battery status using UPower a System-wide Power Management daemon. Display help information. $ upower --help Usage: upower [OPTION?] UPower tool Help Options: -h, --help Show help options Application Options: -e, --enumerate Enumerate objects paths for devices -d, --dump Dump all parameters for all objects -w, --wakeups Get the wakeup data […]

    Značky: #DailyOps, #Ubuntu, #Linux

    • chevron_right

      How to pretty print ping output

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 20 April, 2022 - 11:00 edit

    Pretty print ping output using prettyping. Clone source code. $ git clone https://github.com/denilsonsa/prettyping Cloning into 'prettyping'... remote: Enumerating objects: 391, done. remote: Counting objects: 100% (7/7), done. remote: Compressing objects: 100% (6/6), done. remote: Total 391 (delta 0), reused 3 (delta 0), pack-reused 384 Receiving objects: 100% (391/391), 535.04 KiB | 2.26 MiB/s, done. Resolving […]

    Značky: #Linux, #DailyOps