Mailinglist Archive: opensuse (2700 mails)

< Previous Next >
Re: [SLE] Desktop files
  • From: Sid Boyce <sboyce@xxxxxxxxxxxxxxxx>
  • Date: Thu, 28 Jul 2005 12:32:43 +0100
  • Message-id: <42E8C25B.4010306@xxxxxxxxxxxxxxxx>
Carl William Spitzer IV wrote:
On Tue, 2005-07-26 at 21:14, Dotan Cohen wrote:

On 7/26/05, Carl William Spitzer IV <cwsiv@xxxxxxxxxxxxx> wrote:

Which files? If they start with a period (hidden files), they may be
configuration files for various programs.

ls /home/<user>/Desktop/ -lh

FlashDrive.desktop
H_DRIVE.desktop
myComputer.desktop
OpenOffice.org.desktop
Printer.desktop
shredder.desktop
starthere.desktop
Support.desktop

If you've gotten this far and not needed them, then you can go ahead
and trash them. Store them for a little while in the trash bin before
you delete them. Regarding the OO file, try opening OO after you trash
the file to see if it complains.



I do not want to delete them I want to understand them and the various
settings.

Try setting up a desktop link to an application in KDE as I described in my previous post, then compare the .desktop file generated with what you've set up. Right-click on the desktop icon and select "Properties" of any of the above and compare with the .desktop file.
lancelot@barrabas:~> less Desktop/gonvert.desktop
[Desktop Entry]
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec=/usr/local/bin/gonvert
GenericName=
GenericName[en_US]=
Icon=/usr/local/share/pixmaps/gonvert.png
MimeType=
Name=gonvert
Name[en_US]=gonvert
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
--------------------------------
"gonvert" is the Name I gave it.
"/usr/local/bin/gonvert" is the command.
"/usr/local/share/pixmaps/gonvert.png" is the icon I selected.
Description, Comment, mime type and Work path I left blank. UTF-8, StartNotify=true both setup by KDE as default. It wrote /home/lancelot/Desktop/gonvert.desktop when I clicked OK. The desktop icon then appeared. Since it worked, I didn't even bother looking at gonvert.desktop until now. This is my usual routine when I need a desktop icon. On some I have to prefix the command with "sudo" if it needs to be run as root and on others such as knoda, it starts and I only need to fill in the database name, user root and root password.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM Mainframes and Sun Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks

< Previous Next >