Image

K Desktop Environment (KDE)

How to remove window border drop shadow in KDE

Some KDE themes display drop shadows on the window's border. It is good for both aesthetic and user experience, but there could be cases where it's not desirable, such …
Read More

How to start with an empty session in KDE

KDE will automatically start from where the user left off in their previous session. KDE, for example, keeps track of open applications and their window positioning when a user …
Read More

How to stop unnecessary KDE services

Some applications or services are required to run when a Linux system boots to provide core system functionalities. The same goes for KDE where there are specific services that …
Read More

How to change screen color temperature in KDE

KDE allows you to change the screen's color temperature with the Night Color option. This is equivalent to Night Shift in iOS, iPadOS and macOS or Night Mode in …
Read More

How to change mouse sensitivity in KDE

Your mouse pointer speed could be too fast or too slow to your liking, whether due to your screen's size and resolution or the DPI of the mouse that …
Read More

How to disable automatic lock screen for KDE

Linux systems are normally configured to automatically lock the screen after the user is idle after a set period of time. It is also by default configured to lock …
Read More

How to configure automatic login in KDE

You normally authenticate via username and password combination to access your Linux system. Whether it's a necessity or simply for convenience, you can configure your KDE-based Linux system to …
Read More

How to automatically run program on KDE startup

KDE looks for programs in the ~/.kde/Autostart directory to be executed during it’s startup. The way to execute programs as KDE starts would be to;

  1. Copy programs directly to the directory
  2. Create (soft) link to programs from the directory
  3. Create a script which will execute other programs

The first method is very straightforward, and the second method can be achieved using the ln command. The following example is to run superkaramba as KDE starts.

$ cd ~/.kde/Autostart/
$ ln -s /usr/bin/superkaramba mykaramba

The third option is my personal favorite, as it provides a great level of flexibility. The following is an example bash script placed in the ~/.kde/Autostart/ directory to run gpg-agent, export a variable, and start the program katapult and conky;

#!/bin/bash
 
/usr/bin/gpg-agent --daemon --use-standard-socket &
export GPG_AGENT_INFO=/home/shakir/.gnupg/S.gpg-agent
/usr/bin/katapult &
/usr/bin/conky &

Please make sure all programs are executable by running chmod, probably as the following example;

$ chmod +x ~/.kde/Autostart/*

Top