# Customization & Tweaks Make it yours # DBus `dbus-broker` is a drop-in replacement for the *libdbus* reference implementation, which aims "to provide high performance and reliability, while keeping compatibility to the D-Bus reference implementation". Install `dbus-broker`: ~~~bash pacman -S dbus-broker ~~~ Disable `dbus.service` and enable `dbus-broker.service` globally: ~~~bash systemctl disable dbus systemctl enable dbus-broker ~~~ Reboot for the changes to take effect. # KDE Plasma Themes ## Akava [https://akava-design.github.io/](https://akava-design.github.io/) ~~~bash yay -S breeze-blurred-git akava-kde-git akava-konsole-git kvantum-theme-akava-git ~~~ ## Layan ~~~bash yay -S kvantum-theme-layan-git layan-cursor-theme-git layan-gtk-theme-git layan-kde-git tela-icon-theme-git ~~~ ## Aritim Install Konsole theme with "Get new stuff" Feature from Konsole. ~~~bash yay -S aritim-dark-gtk-git aritim-light-kde-git aritim-dark-kde-git aritim-light-gtk-git lightly-qt kora-icon-theme ~~~ # Latte Dock
CAUTION: The developer of Latte announced his retirement from maintining the project.
Dock based on Plasma frameworks that provides an elegant and intuitive experience for your tasks and plasmoids. ## Installation Install Latte Dock from AUR (most recent version) ~~~bash yay -S latte-dock-git ~~~ ## Configuration ### Borderless maximized windows 1. Right-click on Latte dock -> `Configure Latte` -> `Preferences` tab -> Behavior: Support borderless maximized windows in different layouts 1. Enable borderless windows for KWin: ~~~bash kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows true qdbus org.kde.KWin /KWin reconfigure ~~~ ## Widgets ### Window Title Install with KDE Widget "Get new stuff" feature. Alternatively install via AUR: ~~~bash yay -S plasma5-applets-window-title-git ~~~ ### Window Buttons Widget Install via AUR: ~~~bash yay -S plasma5-applets-window-buttons-git ~~~ ## Troubleshoot ### Meta key doesn't open application launcher ~~~bash kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu" qdbus org.kde.KWin /KWin reconfigure ~~~ # Additional Packages Additional packages one might find useful to have installed on their system ## File System Utilities | File system | Package | Creation command | Description | |-------------|------------------|------------------|------------------------------------------------------------------------| | Btrfs | `btrfs-progs` | `mkfs.btrfs` | Btrfs filesystem utilities | | VFAT | `dosfstools` | `mkfs.fat` | DOS filesystem utilities | | exFAT | `exfatprogs` | `mkfs.exfat` | exFAT filesystem userspace utilities for the Linux Kernel exfat driver | | F2FS | `f2fs-tools` | `mkfs.f2fs` | Tools for Flash-Friendly File System (F2FS) | | ext4 | `e2fsprogs` | `mkfs.ext4` | Ext2/3/4 filesystem utilities | | HFS/HFS+ | `hfsprogs` (AUR) | `mkfs.hfsplus` | User space utils to create and check Apple HFS/HFS+ filesystem | | JFS | `jfsutils` | `mkfs.jfs` | JFS filesystem utilities | | NILFS2 | `nilfs-utils` | `mkfs.nilfs2` | A log-structured file system supporting continuous snapshotting | | NTFS | `ntfs-3g` | `mkfs.ntfs` | NTFS filesystem driver and utilities | | ReiserFS | `reiserfsprogs` | `mkfs.reiserfs` | Reiserfs utilities | | UDF | `udftools` | `mkfs.udf` | Linux tools for UDF filesystems and DVD/CD-R(W) drives | | XFS | `xfsprogs` | `mkfs.xfs` | XFS filesystem utilities | ## System Tools | Package | Description | |-------------------------|-------------------------------------------------------------------------------------------| | `fwupd` | Simple daemon to allow session software to update firmware | | `htop` | Interactive process viewer | | `impression` | A straight-forward modern application to create bootable drives. | | `libimobiledevice` | Library to communicate with services on iOS devices using native protocols | | `lshw` | A small tool to provide detailed information on the hardware configuration of the machine | | `man-db` | A utility for reading man pages | | `power-profiles-daemon` | Makes power profiles handling available over D-Bus | | `radeontop` | View AMD GPU utilization for total activity percent and individual blocks | ## Multimedia | Package | Description | |------------------|-------------------------------------------------------------------------------| | `aegisub` | A general-purpose subtitle editor with ASS/SSA support | | `amberol` | Plays music, and nothing else | | `blanket` | Improve focus and increase your productivity by listening to different sounds | | `eartag` | Simple music tag editor | | `handbrake` | Multithreaded video transcoder | | `identity` | Compare multiple versions of an image or video | | `makemkv` | DVD and Blu-ray to MKV converter | | `mediainfo-gui` | Supplies technical and tag information about media files | | `mousai` | Simple application for identifying songs | | `paleta` | Extract the dominant colors from any image | | `soundconverter` | A simple sound converter application for GNOME | | `tube-converter` | An easy-to-use video downloader | | `video-trimmer` | Trim videos quickly | ## Productivity | Package | Description | |--------------------------|---------------------------------------------------------------------| | `apostrophe` | A distraction free Markdown editor for GNU/Linux made with GTK+ | ## Developer Tools | Package | Description | |--------------------------|---------------------------------------------------------------------| | `devtoolbox` | Development tools at your fingertips | | `escambo` | An HTTP-based APIs test application for GNOME | | `gitg` | GNOME GUI client to view git repositories | | `ohmysvg` | SVG optimizer | | `playhouse` | A Playground for HTML/CSS/JavaScript | | `share-preview` | Preview and debug websites metadata tags for social media share | | `textpieces` | Transform text without using random websites | | `visual-studio-code-bin` | Editor for building and debugging modern web and cloud applications | | `webfontkitgenerator` | Create `@font-face` kits easily | ## Misc Tools | Package | Description | |-----------------------|---------------------------------------------------------------------------------------------| | `extension-manager` | A native tool for browsing, installing, and managing GNOME Shell Extensions | | `gnome-obfuscate` | Censor private information | | `newsflash` | Desktop application designed to complement an already existing web-based RSS reader account | | `p7zip` | Command-line file archiver with high compression ratio | | `teamviewer` | All-In-One Software for Remote Support and Online Meetings | # zsh configuration `zsh` configuration as provided on a standard Manjaro install with some additions ## General settings ~~~bash ## Options section setopt correct # Auto correct mistakes setopt extendedglob # Extended globbing. Allows using regular expressions with * setopt nocaseglob # Case insensitive globbing setopt rcexpandparam # Array expension with parameters setopt nocheckjobs # Don't warn about running processes when exiting setopt numericglobsort # Sort filenames numerically when it makes sense setopt nobeep # No beep setopt appendhistory # Immediately append history instead of overwriting setopt histignorealldups # If a new command is a duplicate, remove the older one setopt autocd # if only directory path is entered, cd there. setopt inc_append_history # save commands are added to the history immediately, otherwise only when shell exits. zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc) zstyle ':completion:*' rehash true # automatically find new executables in path # Speed up completions zstyle ':completion:*' accept-exact '*(N)' zstyle ':completion:*' use-cache on zstyle ':completion:*' cache-path ~/.zsh/cache HISTFILE=~/.zhistory HISTSIZE=10000 SAVEHIST=10000 #export EDITOR=/usr/bin/nano #export VISUAL=/usr/bin/nano WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word ~~~ ## Key Bindings ~~~bash ## Keybindings section bindkey -e bindkey '^[[7~' beginning-of-line # Home key bindkey '^[[H' beginning-of-line # Home key if [[ "${terminfo[khome]}" != "" ]]; then bindkey "${terminfo[khome]}" beginning-of-line # [Home] - Go to beginning of line fi bindkey '^[[8~' end-of-line # End key bindkey '^[[F' end-of-line # End key if [[ "${terminfo[kend]}" != "" ]]; then bindkey "${terminfo[kend]}" end-of-line # [End] - Go to end of line fi bindkey '^[[2~' overwrite-mode # Insert key bindkey '^[[3~' delete-char # Delete key bindkey '^[[C' forward-char # Right key bindkey '^[[D' backward-char # Left key bindkey '^[[5~' history-beginning-search-backward # Page up key bindkey '^[[6~' history-beginning-search-forward # Page down key # Navigate words with ctrl+arrow keys bindkey '^[Oc' forward-word # bindkey '^[Od' backward-word # bindkey '^[[1;5D' backward-word # bindkey '^[[1;5C' forward-word # bindkey '^H' backward-kill-word # delete previous word with ctrl+backspace bindkey '^[[Z' undo # Shift+tab undo last action ~~~ ## Aliases ~~~bash ## Alias section alias ls='ls --color=auto' alias ll='ls -lahF' alias cp='cp -i' # Confirm before overwriting something alias df='df -h' # Human-readable sizes alias free='free -m' # Show sizes in MB alias gitu='git add . && git commit && git push' ~~~ ## Theming ~~~bash # Theming section autoload -U compinit colors zcalc compinit -d colors # Color man pages export LESS_TERMCAP_mb=$'\E[01;32m' export LESS_TERMCAP_md=$'\E[01;32m' export LESS_TERMCAP_me=$'\E[0m' export LESS_TERMCAP_se=$'\E[0m' export LESS_TERMCAP_so=$'\E[01;47;34m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[01;36m' export LESS=-R ~~~ ## Plugins ~~~bash ## Plugins section: Enable fish style features # Use syntax highlighting source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # Use history substring search source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh # bind UP and DOWN arrow keys to history substring search zmodload zsh/terminfo bindkey "$terminfo[kcuu1]" history-substring-search-up bindkey "$terminfo[kcud1]" history-substring-search-down bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20 ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' ~~~ ## Terminal Window Title ~~~bash # Set terminal window and tab/icon title # # usage: title short_tab_title [long_window_title] # # See: http://www.faqs.org/docs/Linux-mini/Xterm-Title.html#ss3.1 # Fully supports screen and probably most modern xterm and rxvt # (In screen, only short_tab_title is used) function title { emulate -L zsh setopt prompt_subst [[ "$EMACS" == *term* ]] && return # if $2 is unset use $1 as default # if it is set and empty, leave it as is : ${2=$1} case "$TERM" in xterm*|putty*|rxvt*|konsole*|ansi|mlterm*|alacritty|st*) print -Pn "\e]2;${2:q}\a" # set window name print -Pn "\e]1;${1:q}\a" # set tab name ;; screen*|tmux*) print -Pn "\ek${1:q}\e\\" # set screen hardstatus ;; *) # Try to use terminfo to set the title # If the feature is available set title if [[ -n "$terminfo[fsl]" ]] && [[ -n "$terminfo[tsl]" ]]; then echoti tsl print -Pn "$1" echoti fsl fi ;; esac } ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD ZSH_THEME_TERM_TITLE_IDLE="%n@%m:%~" # Runs before showing the prompt function mzc_termsupport_precmd { [[ "${DISABLE_AUTO_TITLE:-}" == true ]] && return title $ZSH_THEME_TERM_TAB_TITLE_IDLE $ZSH_THEME_TERM_TITLE_IDLE } # Runs before executing the command function mzc_termsupport_preexec { [[ "${DISABLE_AUTO_TITLE:-}" == true ]] && return emulate -L zsh # split command into array of arguments local -a cmdargs cmdargs=("${(z)2}") # if running fg, extract the command from the job description if [[ "${cmdargs[1]}" = fg ]]; then # get the job id from the first argument passed to the fg command local job_id jobspec="${cmdargs[2]#%}" # logic based on jobs arguments: # http://zsh.sourceforge.net/Doc/Release/Jobs-_0026-Signals.html#Jobs # https://www.zsh.org/mla/users/2007/msg00704.html case "$jobspec" in <->) # %number argument: # use the sameATTENTION: When using the encrypt
hook to unlock encrypted devices during boot, place it after the plymouth
hook in order to receive a passphrase prompt, e.g.:
HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems fsck)
ATTENTION: When using the sd-encrypt
hook to unlock encrypted devices during boot, place it after the plymouth
hook in order to receive a passphrase prompt, e.g.:
HOOKS=(base systemd plymouth autodetect keyboard sd-vconsole modconf block sd-encrypt lvm2 filesystems fsck)
TIP: When unlocking a LUKS encrypted root file system during boot the passphrase prompt replaces the firmware logo. To prevent this install and set the following theme instead:
yay -S plymouth-theme-bgrt-better-luks
sudo plymouth-set-default-theme -R bgrt-better-luks
TIP: It may prove useful to set multiple values separated by ;
. In case one is not available, the next one is used.