• chevron_right

      How to define favorite applications on Ubuntu desktop

      pubsub.slavino.sk / sleeplessbestie · Friday, 4 February, 2022 - 12:00 edit

    Define favorite applications on Ubuntu desktop using command-line utility. Get current favorite applications. $ gsettings get org.gnome.shell favorite-apps ['org.gnome.Nautilus.desktop', 'chromium_chromium.desktop', 'code_code.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.gedit.desktop'] List available desktop entries for applicatons. $ ls /usr/share/applications/ ~/.local/share/applications/ /home/milosz/.local/share/applications/: /usr/share/applications/: apport-gtk.desktop gnome-location-panel.desktop im-config.desktop org.gnome.eog.desktop rygel.desktop apturl.desktop gnome-lock-panel.desktop info.desktop org.gnome.Evince.desktop shotwell.desktop bluetooth-sendto.desktop gnome-microphone-panel.desktop io.snapcraft.SessionAgent.desktop org.gnome.Evince-previewer.desktop shotwell-viewer.desktop defaults.list gnome-mouse-panel.desktop libreoffice-calc.desktop org.gnome.Evolution-alarm-notify.desktop simple-scan.desktop […]

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

    • chevron_right

      How to incorporate EDID into initrd image

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 2 February, 2022 - 12:00 edit

    Incorporate EDID (Extended Display Identification Data) into initrd (initial ramdisk) image. Extract Extended Display Identification Data Install required software on a Linux machine that can properly read EDID. $ sudo apt install read-edid edid-decode Extract EDID. $ sudo get-edid > desktop_edid.bin This is read-edid version 3.0.2. Prepare for some fun. Attempting to use i2c interface […]

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

    • chevron_right

      How to define idle delay on Ubuntu desktop

      pubsub.slavino.sk / sleeplessbestie · Tuesday, 1 February, 2022 - 12:00 edit

    Define idle delay (blank screen) on Ubuntu desktop. By default idle delay (blank screen) can be set from 1 to 15 minutes, or simply disabled. Get current idle delay (blank screen) value using seconds. $ gsettings get org.gnome.desktop.session idle-delay uint32 300 Disable idle delay (blank screen). $ gsettings set org.gnome.desktop.session idle-delay 0 Set current idle […]

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

    • chevron_right

      How to install privacy focused fork of Firefox

      pubsub.slavino.sk / sleeplessbestie · Saturday, 22 January, 2022 - 23:04 edit

    Install LibreWolf a fork of Firefox that is focused on privacy, security and freedom. Add a dedicated repository. $ echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/librewolf.gpg] \ http://deb.librewolf.net $(lsb_release -sc) main" | \ sudo tee /etc/apt/sources.list.d/librewolf.list deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/librewolf.gpg] http://deb.librewolf.net impish main Download a signing key. $ sudo wget --output-document /etc/apt/trusted.gpg.d/librewolf.gpg \ https://deb.librewolf.net/keyring.gpg --2022-01-22 9:23:34-- https://deb.librewolf.net/keyring.gpg Resolving deb.librewolf.net […]

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

    • chevron_right

      How to remove trash icon from sidebar on Ubuntu desktop

      pubsub.slavino.sk / sleeplessbestie · Friday, 21 January, 2022 - 12:00 edit

    Remove trash icon from sidebar on Ubuntu desktop. By default there is a trash icon visible on the left sidebar. Use GSettings configuration tool to remove it. $ gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false That is all.

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

    • chevron_right

      How to create a new tmux window with a given name

      pubsub.slavino.sk / sleeplessbestie · Friday, 24 September, 2021 - 06:00 edit

    Create a new tmux window with a given name. # create new window and change name bind-key C command-prompt -p "Create window with name:" "new-window; rename-window '%%'" Use prefix key C to provide a name and create a new tmux window.

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

    • chevron_right

      How to create custom WordPress post type

      pubsub.slavino.sk / sleeplessbestie · Sunday, 12 September, 2021 - 11:00 edit

    Create a custom WordPress post type to keep your ideas in one place. The following example will create Ideas menu entry where you can jot down your ideas. The whole process is really fun. <?php /** * Plugin Name: Ideas * Plugin URI: https://github.com/milosz/wp-ideas * Description: Ideas * Version: 0.4.0 * Requires at least: 5.8 […]

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

    • chevron_right

      How to create personal tmux configuration

      pubsub.slavino.sk / sleeplessbestie · Wednesday, 8 September, 2021 - 11:00 edit

    This is an updated blog post to reflect changes over the last five years (especially GitHub issue #1688) as I am still tmux terminal multiplexer on daily basis. Brief description Set default terminal type. set -g default-terminal "screen-256color" Disable mouse support. set -g mouse off Set default shell. set -g default-shell /bin/zsh Unbind the default […]

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

    • chevron_right

      How to pretty-print text files inside terminal

      pubsub.slavino.sk / sleeplessbestie · Friday, 3 September, 2021 - 11:00 edit

    Pretty-print text files inside terminal using bat a cat clone with syntax highlighting and Git integration. Install bat utility. $ sudo apt install bat Display help information. $ batcat --help bat 0.12.1 A cat(1) clone with syntax highlighting and Git integration. USAGE: batcat [OPTIONS] [FILE]... batcat <SUBCOMMAND> OPTIONS: -l, --language <language> Explicitly set the language […]

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