title: KDE Plasma Setup Notes tags: kde kubuntu # Settings * Task Switcher: change to thumbnail grid. * Virtual Desktops: * 2 rows of 4 columns * Disable wrap * Name desktops * Disable animation and grid * Activities * Default and new activity -- assign to win+0=default and win+9=other * Screen Locking * (Less secure) disable lock timeout, only lock after sleep. Remove shortcut as we rarely lock. * Power * If running long job on battery, disable Suspend Session (not by default) * Disable Dim Screen and Screen Energy Saving if we want to keep the screen on (not by default) * Input Devices * Touchpad * Invert Scrolling, two-finger right click, left+right for middle click * Keyboard: Advanced: compose key = right alt * Appearance * Theme: Breeze Dark * Color Scheme * Clone Breeze Dark to Breeze Dark Jda and modify to highlight active title bar (see below) # Clone and modify Color Scheme ``` mkdir color-schemes cp /usr/share/color-schemes/BreezeDark.colors ~/.local/share/color-schemes/JdaBreezeDark.colors ``` Find line `ColorScheme=BreezeDark` and rename to `JdaBreezeDark`, remove language translations. Find section `[Colors:Header]`. and change the `BackgroundAlternate` and `BackgroundNormal` lines to `0,0,90` for darkish blue. ``` [Colors:Header] BackgroundAlternate=0,0,90 BackgroundNormal=0,0,90 #BackgroundAlternate=42,46,50 #BackgroundNormal=49,54,59 ``` # Keyboard Shortcuts ## General Changes Go through Kwin, Plasma, and Krunner shortcuts and change them so that they all use Meta, not just Ctrl or Alt. This frees up Ctrl and Alt for applications to make use of. ## App shortcuts ``` win+t = konsole win+w = chrome # reassign Toggle Overview to win+shift+w win+shift+n = kate # on Windows this gets us notepad++ via autohotkey win+n = gvim win+1 = libreoffice writer win+2 = libreoffice calc win+3 = reaper win+4 = gimp win+5 = cadence win+6 = renoise ``` ## Removing Shortcuts Change all Kwin, Plasma, KRunner, Spectacle, Session Management, and others so that all window/session management shortcuts use Meta, so that all non-Meta combos are guaranteed to go to the focused application. ## Bobbins I generally have a script, e.g. `bobbins` to which I assign many custom shortcuts, passing the combo as an argument. Then I can do a `case...esac` to do something based on the shortcut. This then means I can programmatically change what the shortcut does without opening Settings. [bobbins.kde](bobbins.kde) ## Schmerp I have a simple launcher written in Python and Tk that I call `schmerp` (so as to be unlikely to have a name clash with anything else). [See here](/lang/python/tk/examples/SimpleLauncher_01). ## Schema [My Shortcut Schema kda5jda.kksrc](kde5jda.kksrc) # Konsole ## Settings Tabs on top; close at right of tab bar (avoids mouse slips) ## Shortcuts Use shift-left/right to switch tabs, remove all other shortcuts. * Remove Last Used Tabs * Remove "move tab left/right" Ctrl-Alt-left/right (we use this in tmux to switch panes) * Remove ctrl-pgup/pgdn as aliases for shift-left/right and we use ctrl+pgup/down for vim tabs * Remove alt-number tab shortcuts [konsole.shortcuts](konsole.shortcuts)