Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-15-2004, 11:45 AM   #1
Registered: Jul 2004
Location: Montréal
Distribution: Yoper
Posts: 40

Rep: Reputation: 15
Question + service menus

Hi there,
I'm running mdk10 with KDE and here's basically what i want to do:

right-click on a .torrent file and be able to open a konsole and run it with Would also be nice if there would be a prompt to ask for --max_upload_rate .

I have tried to figure out how to add service menus with this LINK and have come up with this:

create a .desktop file with this inside:

[Desktop Entry]

[Desktop Action OpenBTfile]
Name=Open Torrent
Icon=/usr/....blah blah/bt.png --max_upload_rate 60 %u


1- would it be easier to set up a script (i'm a real newbie and don't have a clue how that would work) to run --max_upload_rate 60 %u and associate the script with .torrent files so the normal left-clicking would work??

2- If in fact i do run (using one of the above ways) --max_upload_rate 60 %u, will this leave the konsole window open so that i see the progress or will it run background?

3- Is there an easy way to get prompted for upload speed so that i can throttle the downloads according to how many downloads i'm doing? or should i edit the service menu to put a sub-menu with 3 or so different actions all doing the same thing but with say: 60, 40 and 20 max upload rate?

4- If I would like to use KDocker and dock it all at the same time i open it, I guess i would have to launch the konsole in the Exec line of the .desktop file right? If so the line would look like:
Exec=/bin/konsole <MY COMMANDS HERE>
but how would i separate the commands?? would it be:
/bin/konsole --max_upload_rate 60 %u ; kdocker konsole


I'm really crap at all this and would definitely appreciate any help you people can offer me. Thanx a lot!

Old 08-25-2004, 05:45 PM   #2
LQ Newbie
Registered: Aug 2004
Location: Sheffield, UK
Posts: 1

Rep: Reputation: 0
Are you using Konqueror as your browser?
I imagine a little script would be easy to write to do this.
Old 08-25-2004, 05:56 PM   #3
Registered: Jul 2004
Location: Montréal
Distribution: Yoper
Posts: 40

Original Poster
Rep: Reputation: 15
konqueror in kde 3.2.3

Konqueror in kde 3.2.3

that's what i'm using

I guess a simple script would do.. but i'm still not sure how to add to the right-click.. the ones i did didn't work... I downloaded some .desktop files just to see how they were made.. and it looked pretty much like the ones i did.. Anyways.. I guess i can manage.. it shouldn't too hard



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Making a service as a system service Dakkar SUSE / openSUSE 2 07-13-2005 07:36 AM
Problem with running btdownloadcurses SDmac Slackware 8 05-19-2005 08:22 AM and damienduff Linux - Software 2 04-01-2005 01:29 PM
scripting astrowill Linux - Software 1 01-13-2005 03:39 PM
/sbin/service is empty every weekend and changed to service.1 LineS Linux - General 0 05-24-2004 02:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:46 PM.

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