Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - Tips, Tricks & Tweaks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Tips, Tricks & Tweaks Post your tips, tricks and tweaks about SuSE Linux in here. Please do not ask questions here - this is for factual information

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-Aug-2007, 08:53
FeatherMonkey
Guest
 
Posts: n/a
Default

If you wish to ceate an action associated to a file type etc create a config.desktop type file here ==~/.kde/share/apps/konqueror/servicemenus
My example was for the ark extract on another distro also set background from image file, but I suspect others may find this useful, for those files you have a favourite app that you open with.

Code:
[Desktop Entry]
ServiceTypes=all/allfiles
ExcludeServiceTypes=kdedevice/*
Actions=extract

[Desktop Action extract]
Name=Extract Here!
Icon=ark
Exec=ark --extract-to .
=====2nd========
[Desktop Entry]
ServiceTypes=image/*
Actions=setAsWallpaper

[Desktop Action setAsWallpaper]
Name=Use As Wallpaper
Icon=background
Exec=dcop kdesktop KBackgroundIface setWallpaper %U 6
More info here Service Menus
  #2 (permalink)  
Old 05-Aug-2007, 13:43
broch
Guest
 
Posts: n/a
Default

and plenty, ready to use scripts here
http://www.kde-look.org/index.php?xsortmod...contentmode=287
simply download and copy to
~/.kde/share/apps/konqueror/servicemenus

some may require extra script in ~/bin
e.g.
komparetwo, steghide

after installation restart konqueror and voila, new useful services added.
  #3 (permalink)  
Old 05-Aug-2007, 14:03
FeatherMonkey
Guest
 
Posts: n/a
Default

lol Didn't even think of Kdelook.org may of made it easier, never mind perhaps it'll help someone if they want something not found over there.

I was trying to find the default ark one to modify but conceeded when I acheived the results all be it not neatly.
  #4 (permalink)  
Old 06-Aug-2007, 08:32
broch
Guest
 
Posts: n/a
Default

I was not trying to criticize your post. I simply pointed to a place where one who wants to learn simple scripting, can find more examples or if one does not want to learn, then simply download and install.
  #5 (permalink)  
Old 06-Aug-2007, 09:06
FeatherMonkey
Guest
 
Posts: n/a
Default

My apologies
I realized you weren't I really did find it funny, I'd just spent 2 hrs searching and tweaking and you posted an easier solution

As for criticism, you can only learn from criticism, and at the end of the day we can always agree to disagree.(Not exactly thin skinned over here)

I've learn't more by watching disagreements and critics than sensible one of solutions. Always good to get a for and against opinion then to make your own mind up
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2