KDE notes

From raju


To take a screenshot in KDE - ksnapshot


KDE configuration 20161225

System Information

K Menu -> Applications -> System -> Info Center -> Infromation About This System

    Software:
    KDE Plasma Version 5.8.2
    KDE Frameworks Version 5.27.0
    Qt Version 5.7.1
    Kernel Version 3.16.0-4-amd64
    OS Type: 64-bit
    
    Hardware:
    Processors: 2x Intel Xeon CPU W3503 @ 2.40GHz
    Memory: 3.9 GiB of RAM
    

Workspace Desktop Behavior

  • Do not maximize windows when they touch monitor top while dragging

K Menu -> Applications -> Settings -> System Settings -> Workspace -> Desktop Behavior -> Screen Edges -> Maximize windows by dragging them to the top of the screen -> uncheck -> Apply

  • Change screen locking behaviour

K Menu -> Applications -> Settings -> System Settings -> Workspace -> Desktop Behavior -> Screen Locking
-> Lock screen automatically after = 30 mins
-> Require password after locking = 99 secs

KDE configuration (old, migrateafter)

alt+tab

K Menu -> Computer -> System Settings -> Workspace Appearance and Behavior -> Window Behavior -> Task Switcher -> Visualization -> Check "Show selected window", select Compact style from the dropdown menu.

Window Behavior

  • K Menu -> System Settings -> Workspace Appearance and Behavior -> Window Behavior -> Window Behavior -> Titlebar Actions -> Titlebar -> Double-click -> choose Maximize (vertical only)
  • K Menu -> Computer -> System Settings -> Common Appearance and Behavior -> Shortcuts and Gestures -> Global Keyboard Shortcuts -> KDE component = kwin -> Search = quick

    Here choose
    • Win+Left for "Quick Tile Window to the Left" Action.
    • Win+Right for "Quick Tile Window to the Right" Action.

Digital Clock

Display the date in YYYY-MM-DD format in the panel's clock application

Panel -> Right click on the digital clock -> Digital Clock Settings -> Appearance -> Information -> Date Format -> Choose "Short date" from the drop down -> click the settings icon next to it -> Date & Time -> Short date format -> YYYY-MM-DD -> Apply -> ok -> ok

iceweasel

The idea here is to make iceweasel (a GTK+ application) have the same look and feel of other KDE applications.

sudo apt-get install kde-config-gtk-style qtcurve lxappearance
K Menu -> System Settings -> Application Appearance -> GTK -> Select a GTK2 Theme: -> QtCurve -> Apply
Further Reading:- https://scottlinux.com/2013/07/23/enable-kde-style-for-iceweasel-and-other-gtk-apps-in-debian/

default browser

The default browser in KDE is Konqueror. Change it to iceweasel as follows.

K Menu -> System Settings -> File Associations -> Search for html in the Configure file associations panel -> text -> html -> Application Preference Order -> Move Iceweasel all the way to the top -> Apply

Workspaces

K Menu -> Search for "Virtual Desktops" -> Desktops ->

Numer of desktops = 4
Numer of rows = 2

Give names for each desktop as you see fit.

K Menu -> Search for "Virtual Desktops" -> Switching ->
Animation = "Desktop Cube Animation"

Get rid of debug output

konsole -> kdebugdialog -> Click the "Deselect All" button
                        -> Select Disable all debug output -> click OK

Add frequently used apps to panel

  • K menu -> search for konsole -> right click on the konsole icon -> add to panel

repeat the same excercise for iceweasel.

Startup scripts

All the scripts in ~/.kde/Autostart will be executed whenever a user logs into a new KDE session.
Here is a sample script:

    % cat reading.zsh 
    #! /usr/bin/env zsh
    acroread /a page=40 "/home/rajulocal/books/currently_reading/file1.pdf" &
    sleep 2
    acroread /a page=1  "/home/rajulocal/books/currently_reading/file2.pdf" &
    
    iceweasel &
    

Make it executable

    % chmod +x reading.sh
    

Related internal links

konsole notes