Click to See Complete Forum and Search --> : Shortcuts with flags? Diamond Rio support Et. Al.


WhoIsTheFly
07-13-2001, 09:55 AM
I just downloaded and installed the open source uspport for the Diamond Rio. (HowTo doc here (http://www.linuxnewbie.org/nhf/intel/hardware/diamond_rio.html)) It seems to work pretty well. But I'd like to set up a link on the desktop to run it. The quandry is that the util needs to be run with flags. Eg:
./rio -d (to list songs)

I know in Windows, you can set up a shortcut that includes the flags to be run. Is there a way to do this in KDE? Or can a script/batch-like file be written to execute the file?

####
cd /usr/local/bin
./rio -d
####

And then the link could be pointed to that file.

Of course, this doesn't help with uploading and deleting files where you have to specify the filename. It's be great if there were an easy way to write a wizard-ezque interface that would ask "what file do you want to upload?" and then feeds the appropriate command to the console to execute the command and upload the file.

Any thoughts of suggestions on this?

TheFly http://www.nogagreflex.com

bdg1983
07-13-2001, 04:19 PM
Rightclick on the desktop, select create new application link and then enter the path, command and any flags.

You can also put everything in a script, make the script executable and run the script through the new application link.