User Tools

Site Tools


kubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kubuntu [2016/08/05 14:11]
mstraub [KDE 4 freezes in Debugging GUIs]
kubuntu [2019/11/07 09:54] (current)
mstraub
Line 1: Line 1:
-====== ​KDE 5 / Kubuntu ​Tipps Tricks ​======+====== ​Kubuntu Wrestling ====== 
 + 
 +===== Menu ===== 
 + 
 +Instead of using kmenueditor a quick way to add new entries to the start menu is by creating a .desktop file here: 
 + 
 +<​code>​ 
 +~/.local/​share/​applications/​ 
 +</​code>​ 
 + 
 +E.g. 
 +<file text anaconda-navigator.desktop>​ 
 +[Desktop Entry] 
 +Name=Anaconda 
 +Comment=anaconda-navigator 
 +Exec=/​usr/​bin/​env PATH=/​home/​mstraub/​anaconda3/​bin/:​$PATH /​home/​mstraub/​anaconda3/​bin/​anaconda-navigator 
 +Icon=/​home/​mstraub/​anaconda3/​lib/​python3.7/​site-packages/​anaconda_navigator/​static/​images/​logos/​continuum_twitter.jpg 
 +Terminal=false 
 +Type=Application 
 +StartupNotify=true 
 +</​file>​ 
 + 
 + 
 +===== Kubuntu ​18.04 Troubleshooting ===== 
 + 
 +Solving my problems with a Lenovo Thinkpad T450s:  
 + 
 +I ended up putting the following scripts in ''/​lib/​systemd/​system-sleep''​. 
 + 
 +This script fixes that touchpad scrolling with a two finger gesture does not work anymore after resume: 
 + 
 +<file bash fix-touchpad.sh>​ 
 +#​!/​bin/​bash 
 +case "​$1"​ in 
 +    post) 
 +        modprobe -r psmouse 
 +        modprobe psmouse 
 +        echo "​modprobe script finished @ `date`"​ >> /​tmp/​modprobescript 
 +        ;; 
 +esac 
 +</​file>​ 
 + 
 +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) 
 + 
 + 
 +<file bash fix-global-shortcuts-and-notifications.sh>​  
 +#​!/​bin/​bash 
 +sleep 6 
 +export DISPLAY=:​0 
 +sudo -u markus kcmshell5 khotkeys ​& 
 +sleep 1 
 +killall kcmshell5 
 +</​file>​ 
 + 
 +===== Inkscape Tooltips ​===== 
 + 
 +To avoid nearly unreadable (white on white) tooltips in Inkscape disable ''​Apply colors to non-Qt applications''​ in the KDE System Settings under Colors. 
 + 
 +https://​askubuntu.com/​questions/​725642/​inkscape-tooltips-unreadable 
 + 
 +===== Eclipse & SVN ===== 
 + 
 +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! 
  
 ===== File Associations / Default Applications ===== ===== File Associations / Default Applications =====
Line 35: Line 102:
  
  
-===== KDE 4 freezes in Debugging GUIs =====+===== KDE 4 & Eclipse problems ===== 
 + 
 +==== Freezes when Debugging GUIs ====
  
 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. 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.
kubuntu.1470399064.txt.gz · Last modified: 2016/08/05 14:11 by mstraub