Prev | Current Page 278 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

After you save
the changes, the new item immediately appears on the menu (no need to restart anything). The
following is an example of what the vidplay.desktop entry just created might look like:
[Desktop Entry]
Encoding=UTF-8
Name=My Video Player
Comment=Play Videos
Exec=myplayer
Icon=redhat-sound_video.png
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;AudioVideo;Audio;Player;
OnlyShowIn=GNOME;
108
Linux First Steps Part I
From the previous example, My Video Player appears on the Sound and Video menu along with an
icon (redhat-sound_video.png from the /usr/share/pixmaps directory). The words Play
Videos appear when the mouse pointer hovers over the menu entry. When launched from the
menu, the myplayer command is run.
Adding an Applet
There are several small applications, called applets, that you can run directly on the GNOME panel.
These applications can show information you may want to see on an ongoing basis or may just
provide some amusement. To see what applets are available and to add applets that you want to
your panel, perform the following steps:
1. Right-click an open space in the panel so that the panel menu appears.
2. Select Add to Panel. An Add to Panel window appears.
3. Select from among several dozen applets, including a clock, dictionary lookup, stock ticker,
and weather report.


Pages:
266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290