KDE notes

From raju

KDE configuration 20200409

alt+tab

K Menu -> search for "task" and select "Task Switcher"

-> Check "Show selected window"
-> select Compact style from the dropdown menu.

The Compact style is not available in the default installation. Install kwin-addons package to get it.

Ref:- https://superuser.com/questions/996597/kde-plasma-alt-tab-behavior-options-most-of-them-are-missing

tags | show all open windows during alt tab switching

Workspaces

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

Numer of desktops = 4
Numer of rows = 2

hide windows from other virtual desktops

Right click on the panel -> Configure Task Manager -> General -> Scroll down to the 'Filters' section -> Show only tasks from the current desktop -> Apply -> OK

Ref:- http://takingnothingforgranted.com/introduction-kde-virtual-desktops-activities/ - a bit wordy; discusses a lot of concepts.

Digital Clock

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

    Panel -> Right click on the digital clock -> Configure Digital Clock -> Appearance
    
    -> Show date -> check
    -> Date format -> choose 'ISO Date' from the drop down
    
    -> Apply -> ok
    

disable window maximization

  • 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

tags | snap

lock screen timings

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

Disable the alt+click mapping

K Menu -> System Settings -> Window Management -> Window Behavior -> Window Actions -> Inner Window, Titlebar & Frame -> set Alt + Left button to Nothing -> Apply

The problem is that alt+click is used to move a window in KDE (Alt+<Left mouse button> and drag mouse) and to enable/disable breakpoints in Pycharm. So, when I used remmina to remote into a machine and ran pycharm, I was not able to enable/disable the break points as alt+click is captured by KDE.

    % dpkg -l remmina
    ii  remmina        1.3.3+dfsg-2 amd64        GTK+ Remote Desktop Client
    

tags | Do not grab Alt+click

disable kde wallet popups when running google-chrome

$ sudo apt-get install kwalletmanager

K Menu -> System Settings -> Personalization -> Account Details -> Wallet Preferences -> Enable the KDE wallet subsystem -> uncheck -> Apply

Ref:- https://superuser.com/a/1396729/679081

System Information

K Menu -> Applications -> System -> Info Center -> Information About This System -> Copy to Clipboard

    Operating System: Debian GNU/Linux 10
    KDE Plasma Version: 5.14.5
    Qt Version: 5.11.3
    KDE Frameworks Version: 5.54.0
    Kernel Version: 4.19.0-8-amd64
    OS Type: 64-bit
    Processors: 2 × Intel® Xeon® CPU W3503 @ 2.40GHz
    Memory: 3.8 GiB of RAM
    

KDE configuration (old, migrateafter)

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.

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

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

Dummy

copy paste from vim in konsole

select with mouse -> middle click.

Tested with

     % konsole --version
    konsole 18.04.0
    

dummy

Take a screenshot - ksnapshot