Jump to content
Eternal Lands Official Forums
Sign in to follow this  
KyleOr

Linux: Place Eternal Lands menu item into KDE

Recommended Posts

I recently decided to create a desktop file for all users on my multi-user kde workstation. Along the way I discovered that my linux install of EL has no icon. Some guildies have provided stock game icons because they are not included in the linux tarball. My attempts at uncompressing the windows installer to get them were not successful.

 

In your file browser, convert the icons to png format (KDE allows you to right click->Actions->Convert To->png. Copy them to the proper location:

$ ls
icon.png
$ sudo cp icon.png /usr/share/pixmaps 

Note: Use whatever name you want for icon here.

 

If you want an Eternal Lands icon in your KDE menu for all users,

 

1. copy the text below to a file: Eternal-Lands.desktop

2. Change the Exec to the proper location for your machine

+Note: /usr/local/games/el is a good choice for multiple users

+Select an icon.

3. and copy this Eternal-Lands.desktop file to: /usr/share/applications

4. Change the ownership to root:root with +r for users, groups, other

 

It should look like this when done:

/usr/share/applications$ ls -l E*
-rw-r--r-- 1 root root 248 2007-03-04 11:59 Eternal-Lands.desktop

Special Warning: Multi-users from one IP must follow all the rules!

 

========Eternal-Lands.desktop==========

[Desktop Entry]
Comment=
Exec='/usr/local/games/el/el-133.x86.linux.static'
GenericName=
Icon=icon
Name=Eternal Lands
Path=
Categories=Game
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

I see that others are working on a linux installer. It would be nice if future linux installers copied a menu .desktop file to this location and put a png icon in the proper place.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×