HowTo: Launch a terminal app from a shortcut on Nokia N900


On the N900, it is possible to run a terminal program like ‘top’ directly from the Desktop/Shortcut. The following example creates a shortcut to launch the system monitior program ‘top’.

1. Use a text-editor like vi or Leafpad to create a file with the following text:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=topx
Exec=/usr/bin/osso-xterm top
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

2. Save the file as topx.desktop.

3. As root, copy the file to the ‘/usr/share/applications/hildon/’ directory. This will create an ugly blue application icon in the Application list called ‘topx’.

Launching ‘topx’ will execute ‘top’ directly in xterm. You may now put a shortcut on the desktop for quick access. The not-so-great part of this desktop-shortcut is that it displays the default icon.


Popularity: 32%

Related Posts

HowTo: Launch a terminal app from a shortcut on Nokia N900