JavaFIBS Backgammon Client - CREATE A LAUNCHER in the start menu

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
Ragtime
Level 1
Level 1
Posts: 1
Joined: Mon Aug 14, 2017 9:26 am

JavaFIBS Backgammon Client - CREATE A LAUNCHER in the start menu

Post by Ragtime » Mon Aug 14, 2017 10:13 am

CONFIGURE A LAUNCHER TO JavaFIBS Backgammon Client

Apparently, a number of JavaFIBS users have difficulties doing this.
Also, not many info can be found about it, so I thought it would be useful writing a couple of lines.
NOTE: this procedure can be used in a similar way for any other application you may need it for.
____________________________________________________

The following will work assuming you placed the folder containing the application ("JavaFIBS2001")
in your "home" folder; just change "YOURUSERNAME" with... your user name.
If not, paths must be edited accordingly.

First you need to rename
"JavaFIBS_1009_J13.jar" or "JavaFIBS_1009_J15.jar"
(one of the two, at your choice), contained in the "JavaFIBS2001" folder, as

JavaFIBS.jar

(I suggest to duplicate the original file, then rename it, keep the original)
____________________________________________________

Then:

1.- create a new launcher on the desktop
(right click on desktop, "create new launcher here", do not "put in start menu" when asked)

2.- give initially "java -jar JavaFIBS.jar" (no quotes) as command, so that it is accepted

3.- Right click launcher and edit content (open with - gedit)

4.- Overwrite all launcher content with the following lines:

[Desktop Entry]
Comment=FIBS Backgammon Client
Name=JavaFIBS
Path=/home/YOURUSERNAME/JavaFIBS2001
Exec=java -jar JavaFIBS.jar
Type=Application
Icon=/home/YOURUSERNAME/JavaFIBS2001/images/boardwin.gif

--> Hit SAVE <--
____________________________________________________

NOTES about commands:
Comment=(comment of your choice)
Name=(name of your choice)
Path=(path where the folder program is located, replace "YOURUSERNAME")
Exec=(startup command)
Type=Application
Icon=(launcher icon, change path and icon as preferred/needed)
____________________________________________________

5.- Place launcher in the

/home/YOURUSERNAME/.local/share/applications

folder (copy/move, your choice).

After that, it will appear in the Start Menu as "others"

6.- use the menu configuration utility to move the launcher to the "games" category.
(right-click menu icon, configure, menu tab, open menu editor, cut & paste)

Close everything, done.
____________________________________________________

The JavaFIBS launcher will now appear in your start menu under "Games", along with its icon: just hit it and play.

Have fun ;)


Tested and working on Mint 18+, should work on UBUNTU

Post Reply

Return to “Tutorials”