Anyway, if you want to have only a single instance of Kate running, here is how to fix this. You can edit the Kate menu entry by right-clicking on the K-menu and editing it. Edit the "Command: " line and insert '--use' between 'kate' and the '%U'. It should end up looking like this:
Command: kate --use %UThe other option is to manually open the file in a text editor: /home/user_name/.local/share/applications/kde4-kate.desktop (Where 'user_name' is the target user name).
You want to change the "Exec: " line. Insert '--use' between 'kate' and the '%U'. It should end up looking like this:
Exec: kate --use %UTest the new configuration in Konqueror. If Konqueror gives you problems about not being able to open /usr/bin/kate, this is to a known bug in the KDE-Libs with DBUS. There is a workaround for this.
Open the file in a text editor (again): /home/user_name/.local/share/applications/kde4-kate.desktop (Where 'user_name' is the target user name).
Find the line "X-DBUS-StartupType=Multi" and change the "Multi" to "None".
That should fix your problem.
No comments:
Post a Comment