LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-22-2004, 09:12 AM   #1
Dave Farrance
Member
 
Registered: May 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 47

Rep: Reputation: 15
How to add to Konqueror's Actions menu


If you right click on a file in Konqueror, you'll see an entry in the service menu called "Actions" which is a submenu containing actions like "Create gzipped tar archive" and "Print". How to you add extra actions like "Open in kwrite" to this menu?

I've already figured out how to add extra entries to the right-click service menu itself, but I don't want to clutter that.
 
Old 05-30-2004, 04:43 AM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
How do you create the file that you add to your servicemenu folder, i was looking for one that replicated the funtionality that SUSE has. I would like the Copy to: and Move to: menus aswel as the Actions: menu.

Is there a template or a howto that i could read that tells me what to do, and what commands to use to create these funtions?

Thanks

-Chris
 
Old 05-30-2004, 05:23 AM   #3
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
use MCC (Mandrake Control Center)->software management->rpmdrake (install software) & type kdeaddons in the search box. check the box, install it. it adds a bunch of default right click options (the one's you're looking for, plus more). install any depends it might say you need, too.

otis
 
Old 05-30-2004, 05:36 AM   #4
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
thanks mate
 
Old 05-30-2004, 10:05 AM   #5
Dave Farrance
Member
 
Registered: May 2004
Location: UK
Distribution: Mandrake 10.0
Posts: 47

Original Poster
Rep: Reputation: 15
Yes, good tip.

And to answer my original question myself:

I've found that if I configure File-Associations to associate more than one app with the mimetype all/allfiles like KWrite and KHexEdit, then they will be relegated to the "Open With" submenu, so that it doesn't clutter the main right-click menu, which is exactly what I want.
 
Old 08-27-2004, 08:23 AM   #6
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
To indeed go back to this original question, since upgrading to KDE 3.3, a lot of the actions from my rightclick actions menu are now missing. Does anyone have any clue how to re-add them?

I speak specifically in this instance of the option to add and extract files to and from an archive, without needing to manually open an instance of Ark or file roller to do it.

It would be nice too to have some additional actions in this menu as the original poster suggested, however what he seemed interested in was adding associations rather than pure actions to this menu.

It's hard to put into words maybe, but 'extract to' and 'create acrchive' seem somehow different from a command such as 'open with' maybe because one runs a process and the other runs a file?

Anyhoo does anybody genuinely know how to edit this menu?

On a couple of other random notes does anyone know how to increase the level of icon zooming on the KDE task bar? Currently it is set on an insignificant level. I like my taskbar small, but this has the unfortunate effect of making the icons on my taskbar (or is it called a kicker?) really tiny and practically unusable. I would appreciate a more Mac like zooming ability so I can actually see my icons and use them more effectively.

Also I have seen some setups that have semi transparrent taskbars and Kmenus. How is this done?

I would very much like mildly semi transparent menus and task bars - though I don't want to go too much over the top. But I have no clue where to start.

Does anybody know if this is possible?

Any input anyone can offer at all would be very much appreciated.

GJ

Last edited by raid517; 08-27-2004 at 08:27 AM.
 
Old 08-27-2004, 08:35 AM   #7
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
transparency & icon zooming can be set under Kontrol Center (IE: configure your desktop)->look n feel->???. i'm not at the Linux box right now, so i don't remember the exact modules, but poke around in there, you'll find 'em.

as for adding right click options manually, it's basically impossible, from what i've been told. i posed that question some time ago in irc channel #kde & was told that stuff is hard coded into the source code. so, unless you know how to hack code & where to look, you can't do it. if that's changed recently, i also would like to know.

otis
 
Old 08-27-2004, 09:03 AM   #8
Junior41180
Member
 
Registered: Dec 2003
Location: Florida
Posts: 157

Rep: Reputation: 30
does the kdeaddons include the option to open as root for files and folders? cause I can not find this option.
 
Old 08-27-2004, 01:00 PM   #9
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok, i'll eat my words. apparently you can do this. here a link for a download with various right click scripts ready made.........

KDE Right Click Dload

and, here's a "how to"..........

http://developer.kde.org/documentati...vicemenus.html

i just found these & i'm at work on a Win2K box so i haven't had a chance to try any of this. if anybody does, please post with results. looks interesting......

otis
 
Old 08-28-2004, 08:50 AM   #10
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
just to let anyone who cares, know...........

i followed the tutorial in the second link & this works like a charm! wait 'til i get my hands on the folks in #kde!

as for Junior41180's question.........

Quote:
does the kdeaddons include the option to open as root for files and folders? cause I can not find this option.
no, kdeaddons doesn't offer that. but............. following the tutorial mentioned above, i wrote 2 service menu scripts you might be interested in. feel free to modify them as you wish. this one will add an "open as root" option under "actions" in the right click drop down menu. no need to go into konqueror superuser mode anymore if ya don't want to, with this.........

Code:
[Desktop Entry]
ServiceTypes=inode/directory,inode/directory-locked
Actions=Openassu

[Desktop Action Openassu]
Name=Open as Root
Icon=kfm
Exec=kdesu "konqueror --profile filemanagement %U"
and, this one will add a "run as root" option in the same place...........

Code:
[Desktop Entry]
ServiceTypes=application/x-executable,application/x-shellscript,application/x-python,application/x-perl
Actions=runassu

[Desktop Action runassu]
Name=Run as Root
Icon=kfm
Exec=kdesu -c
copy & paste those (seperately) to a text editor (kwrite, etc.) do "save as", name it whatever you like, but just make the file name end with .desktop. (IE: "save as", runasroot.desktop) then, save the file into /home/(username)/.kde/share/apps/konqueror/servicemenus. note, the /.kde directory is hidden by default, so you need to go to (in konqueror file manager) "view" in the top tool bar & put a check besides "show hidden files".

enjoy..........

otis
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add KDE menu to DroplineGNOME menu! Fluxx Slackware 0 11-22-2005 03:01 PM
enable xfce actions menu options TheOneAndOnlySM Slackware 1 07-12-2005 12:08 PM
How do I customize Konqueror's right-click menu? black hole sun Linux - Software 1 10-27-2004 12:45 AM
Add KDE menu in Gnome start menu melinda_sayang Slackware 2 03-06-2004 05:26 AM
How to add KDE menu items to Gnome menu... QtCoder Linux - General 4 10-05-2003 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration