Contents

Ritual for setting up a KDE environment

These are the steps to follow to set up a kde environment, in more or less the order or urgency.

Virtual desktops

Can't live without this. Declare $4\times4$ in Settings then for Switching, first "Always Enabled" switching desktop on edge (0ms or minimum for everything, no animation) in Shortcuts KWin family such as:

  • Ctrl+(left,right,up,down): navigate through desktops (staying in the same row/column).
  • Ctrl+Alt+Shift+(left,right,up,down): navigate through desktops (seemingly)
  • Ctrl+Alt+(left,right,up,down): drag active window navigate through desktops.

The shortcuts are now to be found in KWin's Global Shortcuts.

Screenshot 20210410 115851.png

To zoom in/out, go in Desktop Behaviour, and select Desktop Grid with shortcut Alt+E. Remove fading for both desktop & windows.

Window Behavior

  • Focus follows mouse (mouse precedence)
    Delay focus by 0ms
  • Alt+Mouse Wheel => Raise/Lower.

Shortcuts

Because Plasma (KDE) no longer supports shortcuts—which it was not doing very well anyway (they were defined in in this file could be imported)—I now use keymapper, which has a fairly intuitive interface.

  1. Ctrl+Alt+P generates a <pre></pre> tag.
  2. Ctrl+Shift+Space generates a  
  3. Ctrl+Alt+T generates a <tt></tt> tag
  4. Ctrl+Alt+W generates a wz <wz tip="">(?!)</wz> tag.
  5. Ctrl+Alt+Shift+W generates a <wz tagtotip=></wz><span id=""></span> tag.
  6. Ctrl+Alt+B opens by bibTeX file.
  7. Ctrl+Alt+R generates a == References ==<references /> section.
  8. Ctrl+Alt+N generates a <nowiki></nowiki> section.

The file is in ~/.config/keymapper.conf. The application runs with keymapper -u (where -u is for updating the rules from the file).

Discontinued:

  1. Ctrl+Alt+J generates a Julia snippet:
    <syntaxhighlight lang="python"></syntaxhighlight>
    which is actually python until I get support for julia.

Limitations:

I didn't figure out how to write outputs from programs, e.g., the current date (it doesn't understand /dev/tty or /dev/stdout, though it can output to tty but that's for terminals only).

Konqueror

I use this as the file browser (better than dolphin).

It has a lot of configurations in itself, most of them obvious. Maybe the most important is the web shortcut lw (for "laussywiki") that brings me to this website:

http://laussy.org/wiki/Special:Search?search=\{@}&go=Go