So I’m still used to pressing WinKey+R (AKA Meta+R) to bring up a command prompt. I added the Search and Launch widget to my default panel in KDE Plasma, then right-clicked on it and selected “Search Settings…”. From there I could bind an appropriate keyboard shortcut.
Tag Archives: kde
Disable middle mouse button (paste) on Debian KDE
Every now and again I will accidentally click the middle mouse button when I go to grab my mouse, and KDE will dump my clipboard buffer into a BASH shell. Not good. Could run something damaging if I’m unlucky. So see here for the solution. Basically run this to get the mouse device ID:
xinput list | grep 'id='
Then to edit e.g. device 10 to disable middle mouse button:
xinput set-button-map 10 1 0 3
To persist the changes add the set-button-map command to e.g. ~/.xstartup.
Or you can add a pointer configuration to ~/.Xmodmap like this:
pointer = 1 0 3 4 5 6 7 8 9 10
And make sure xmodmap is applied at start-up with an autostart file like e.g. ~/.config/autostart/mouse-config.desktop:
[Desktop Entry] Type=Application Name=mouse-config Comment=Disables middle mouse button. Exec=xmodmap /home/jj5/.Xmodmap
WinKey+R in KDE
So I found this:
Go into “Global Keyboard Shortcuts”. Under “Run Command Interface” you’ll find ‘Run Command’. Under “KWin” you’ll find a ‘Show Desktop’ entry which is the equivalent of minimize all.
Entering SSH passphrase once in a KDE Pulse session
If you want KDE to remember your SSH key’s passphrase for your whole desktop session you can create a ~/.config/autostart/ssh-add.desktop file like this:
[Desktop Entry] Type=Application Name=ssh-add Comment=Adds my private key to my session. Exec=/usr/bin/konsole -e 'ssh-add /home/$USER/.ssh/id_rsa'
KDE Plasma Desktop hacks
I managed to get my desktop settings so that files on the desktop were sorted automatically. But I didn’t want that. I edited the ~/.kde/share/config/plasma-desktop-appletsrc file and set the sortingStrategy=0 and that disabled automatic alphabetical desktop sorting.
I wanted to run an application on my desktop when I dropped some files on it. To do that I created a process.desktop file like this:
#!/usr/bin/env xdg-open [Desktop Entry] Icon=unknown Name[en_US]=process Name=process Type=Application Exec=/home/jj5/bin/tmp/process-test %F
Note the “%F” to receive the file list. More information here and here.
Setting Desktop path in KDE on Debian Wheezy
I found the ~/.config/user-dirs.dirs file! Fun!
Debian DPMSControl error
I got an error in KDE on Debian complaining about DPMSControl something or other.
I found this conversation and learned:
xset dpms 0 0 0 xset s off
Disabling sound in Debian KDE
I’m having a problem whereby my KDE session is “locking up” periodically for 5 or 10 minutes at a time. I checked /var/log/syslog and dmesg and it *seems* as though the high-priority audio threads are staving other threads, so I figure I’ll try to disable sound and see if my system continues to lock up. To disable sound I used:
root@mercy:/home/jj5# alsa force-unload Unloading ALSA sound driver modules: snd-ens1371 snd-ac97-codec snd-seq-midi snd-seq-midi-event snd-rawmidi snd-pcm snd-page-alloc snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-ens1371 snd-ac97-codec snd-rawmidi snd-pcm snd-page-alloc snd-seq-device snd-timer).