Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > LimeWire Beta Archives
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11 (permalink)  
Old May 13th, 2004
Enthusiast
 
Join Date: July 12th, 2003
Posts: 46
limenut is flying high
Default KDE/Gnome Menu Entries

Could future versions of LimeWire's installer in Linux drop in KDE/Gnome menu entries?

The guide at:
http://freedesktop.org/Standards/des...ry-spec/0.9.4/
explains how to format a ".desktop" file.

http://www.freedesktop.org/standards...8/ar01s02.html
and http://freedesktop.org/Standards/bas...6/ar01s03.html explain where to place the ".desktop" files.

On SuSE 9.0, none of that XDG environment variable stuff seems to be defined so, $HOME/.local/share/applications/ works as a decent place to drop in a ".desktop file when the installer is being run as a normal user. When it is being run as root, it should drop a ".desktop" file in /usr/share/applications/ and it would appear on all user's menus.

Following their specification, a working ".desktop" file I created looks like this:
Code:
[Desktop Entry]
Type=Application
Version=0.9.4
Encoding=UTF-8
Name=LimeWire
GenericName=File Sharing Client
Comment=Gnutella-based File Sharing Client
Icon=/home/user/LimeWire/limewire.ico
Exec=/home/user/LimeWire/LimeWire
Path=/home/user/LimeWire
Categories=Network;FileTransfer
If LimeWire is ever uninstalled, removing its entry is as easy as removing the LimeWire.desktop file it dropped in $HOME/.local/share/applications/ or /usr/share/applications/ (and possibly also rebuilding the menu cache if the uninstaller is run within kde using "kbuildsycoca" but I don't think that is required).

The specs at www.freedesktop.org regarding .desktop entries seems to work ok in KDE 3.1.4, I haven't tested any other environment though.
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 12:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.