m (Shortcuts)
m (Shortcuts)
Line 24: Line 24:
  
 
== Shortcuts ==
 
== Shortcuts ==
 +
Because Plasma ([[KDE]]) no longer supports shortcuts—which it was not doing very well anyway (they were defined in [[:File:laussy-custom-kde-shortcuts.zip|in this file]] could be imported)—I now use [https://github.com/houmain/keymapper keymapper], which has a fairly intuitive interface.
 +
 
{{anchor|shortcuts}}
 
{{anchor|shortcuts}}
 
# Ctrl+Alt+P generates a <nowiki><pre></pre></nowiki> tag.
 
# Ctrl+Alt+P generates a <nowiki><pre></pre></nowiki> tag.
Line 31: Line 33:
 
# Ctrl+Alt+Shift+W generates a <nowiki><wz tagtotip=></wz><span id=""></span></nowiki> tag.
 
# Ctrl+Alt+Shift+W generates a <nowiki><wz tagtotip=></wz><span id=""></span></nowiki> tag.
 
# Ctrl+Alt+B opens by [[bibTeX]] file.
 
# Ctrl+Alt+B opens by [[bibTeX]] file.
 +
# Ctrl+Alt+R generates a <nowiki>== References ==<references /></nowiki> section.
 +
# Ctrl+Alt+N generates a <nowiki><nowiki></nowiki></nowiki> section.
  
discontinued:
+
The file is in <tt>~/.config/keymapper.conf</tt>. The application runs with <tt>keymapper -u</tt> (where <tt>-u</tt> is for updating the rules from the file).
 +
 
 +
Discontinued:
  
 
# Ctrl+Alt+J generates a [[Julia (coding)|Julia]] snippet:<pre><syntaxhighlight lang="python"></syntaxhighlight></pre> which is actually <tt>python</tt> until I get support for julia.
 
# Ctrl+Alt+J generates a [[Julia (coding)|Julia]] snippet:<pre><syntaxhighlight lang="python"></syntaxhighlight></pre> which is actually <tt>python</tt> until I get support for julia.
  
They are all defined [[:File:laussy-custom-kde-shortcuts.zip|in this file]] which you can import.
+
Limitations:
<wz tagtotip=""></wz><span id=""></span>
+
 
 +
I didn't figure out how to write outputs from programs, e.g., the current date (it doesn't understand <tt>/dev/tty</tt> or <tt>/dev/stdout</tt>, though it can output to tty but that's for terminals only).
  
 
== Konqueror ==
 
== Konqueror ==

Revision as of 23:38, 11 December 2024

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