Unity Linux Support Forum
March 11, 2010, 08:03:53 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: JMiahMan's KDE 4 Tips and Tricks  (Read 444 times)
JMiahMan
Administrator
Jr. Member
*****
Posts: 80


View Profile
« on: December 16, 2009, 11:36:57 PM »

This will be my ever changing tips and tricks thread. These are all things I've learned recently or in the past for KDE 4. This will be updated from time to time with new information. Your comments and (examples of) uses of this information are more then welcomed. These may also be posted on my blog with more detail and maybe even a screenshot or two.

Loading Dialogs Individually.
Many people don't know that different dialogs can be used individually. ie. display settings can be brought up in it's own windows by this command:

Code:
/usr/bin/kcmshell4 display

This should bring up the display settings for KDE 4 (display resolution settings). Display settings is not the only dialog that can be called if one was to do a:

Code:
/usr/bin/kcmshell4 --list

Then one can find a listing of all the configuration dialogs that can be called individually.
« Last Edit: December 16, 2009, 11:39:51 PM by JMiahMan » Logged
Stumpy
Administrator
Newbie
*****
Posts: 16



Code Monkey


View Profile
« Reply #1 on: January 06, 2010, 12:07:30 AM »

Ever open a text/script file, make a change, go to save it, and Oh Darn it's permissions don't allow it, maybe it's owned by root! Well here's a neat trick to save you some keystrokes/mouse clicks...

Create a new right-click menu item under the Actions menu for Dolphin/Konqueror with this tip. Open your text editor and paste the following, save it to /home/username/.kde4/share/kde4/services/editasroot.desktop:

Code:
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin,text/*,application/x-desktop,application/x-shellscript
Actions=Editassu

[Desktop Action Editassu]
Name=Edit as Root
Name[it]=Edita come Root
Name[fr]=Editer en tant que Root
Name[es]=Editar como Root
Name[de]=Als root bearbeiten
Icon=accessories-text-editor
Exec=/usr/lib64/kde4/libexec/kdesu /usr/bin/kwrite %F

Feel free to change kwrite in the last line to your favorite editor, but remember it needs to be a GUI editor unless you further modify the file above (and I'll leave that up to the reader to work out).

Apologies if the other language Name entries are incorrect, I just found those on the interwebs...  Roll Eyes

And please add any corrections or additional languages if you can, thanks!
Logged

Every program has at least one bug and can be shortened by at least one instruction -- from which one can deduce that every program can be reduced to one instruction which doesn't work.
Pages: [1]   Go Up
  Print  
 
Jump to: