Solving my problems with a Lenovo Thinkpad T450s:
I ended up putting the following scripts in
This script fixes that touchpad scrolling with a two finger gesture does not work anymore after resume:
#!/bin/bash case "$1" in post) modprobe -r psmouse modprobe psmouse echo "modprobe script finished @ `date`" >> /tmp/modprobescript ;; esac
And this script is an ugly workaround for notifications and global shortcuts not working anymore after resume (see also https://bugs.kde.org/show_bug.cgi?id=396682)
#!/bin/bash sleep 6 export DISPLAY=:0 sudo -u markus kcmshell5 khotkeys & sleep 1 killall kcmshell5
To avoid nearly unreadable (white on white) tooltips in Inkscape disable
Apply colors to non-Qt applications in the KDE System Settings under Colors.
Using Eclipse 2018.09 and Kubuntu 18.04:
Subclipse by default uses JavaHL - this does not work well, for each svn update it takes Gigabytes of RAM and a long time. What works: switch to the pure Java implementation (SVNKit) in Preferences > SVN!
Subversive is no longer maintained, don't use it!
Note: this research was done on Kubuntu 15.10 using KDE 5
ktraderclient5 to determine the default program. Also
xdg-open uses this program (see the function defapp_kde() in xdg-mime or the output of
xdg-mime query default application/pdf). It returns useful defaults such as using Okular to open pdfs even if Gimp is installed (
ktraderclient5 –mimetype application/pdf). However, programs not relying on
ktraderclient5 (such as Firefox) won't get these defaults as they are not stated in any
mimeapps.list file. (: where do the defaults actually come from? Maybe dig into the code...)
As soon as you explicitly configure program preferences with Dolphin the defined program order is written to
~/.local/share/applications/mimeapps.list. The order of entries displayed in Dolphin is reflected in the section [Added Associations]. The section [Default Applications] is filled in as well, but it seems that KDE ignores the default set there and sticks to the first program in [Added Associations].
The most useful way I identified to get consistent for all applications (KDE and non-KDE) is to explicitly set defaults in
~/.local/share/applications/mimeapps.list, which will be updated for all programs when using the GUI method in Dolphin.
[Default Applications] application/pdf=kde4-okularApplication_pdf.desktop; application/postscript=kde4-okularApplication_ghostview.desktop; image/bmp=org.kde.gwenview.desktop; image/gif=org.kde.gwenview.desktop; image/jp2=kde4-okularApplication_kimgio.desktop; image/jpeg=org.kde.gwenview.desktop; image/png=org.kde.gwenview.desktop; image/svg+xml=inkscape.desktop; image/tiff=org.kde.gwenview.desktop;
sudo ln -s /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop /usr/share/kservicetypes5/
Using KDE 4.11 (Kubuntu 14.04) the whole workspace freezes when debugging GUIs, e.g. Java FX. Only switching to the console and killing the started program makes the desktop responsive again.
Solution: pass the VM argument
Alternative solution: System Settings > Application Appearence > GTK > use “Raleigh” as GTK2 theme
The xfce gtk2 engine should also work (and is less ugly): apt install gtk2-engines-xfce