maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Shortcut to command file on desktop (https://talk.maemo.org/showthread.php?t=37086)

casper27 2009-12-13 22:53

Shortcut to command file on desktop
 
Is there anyway to create a shortcut to a command file on the desktop? I know you can shortcut to applications and such. Basically instead of typing my ssh commands to various servers I have created a command file but still have to execute in terminal. Just looking for an even lasier option. I know Personal Menu on the N800 used to be able to do this. Any ideas? Thanks

ruskie 2009-12-14 08:11

Re: Shortcut to command file on desktop
 
Create a .desktop file in /usr/share/applications somewhere.

mason 2009-12-14 09:13

Re: Shortcut to command file on desktop
 
check out this post, plenty of information

Exca 2009-12-14 09:15

Re: Shortcut to command file on desktop
 
You can create a file like this:

[Desktop entry]
Encoding=UTF-8
Name=Applicationname
Comment=comment
Exec=osso-xterm 'ssh user@example.org'
Icon=
Type=Application

Where exec determines what the program should do, that one connects to another host. Save the file as something.desktop to /usr/share/applications/hildon

NightShift79 2010-06-11 22:58

Re: Shortcut to command file on desktop
 
Could this method also work to get a shortcut to a mp3 or playlist files on the desktop to work?

How should a .desktop-file look that should open an mp3/m3u file with the mediaplayer?
the files are stored under /home/user/MyDocs/.sounds/music/xxx.mp3

thx for any helping hand.


All times are GMT. The time now is 10:31.

vBulletin® Version 3.8.8