Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-01-22 15:50:00

cmcanulty
Member
From: Beulah, Michigan
Registered: 2014-05-10
Posts: 167

add java app to whisker menu

I have successfully added a java app and a shortcut on the desktop but can't get it added to whisker menu I tried this

xfce4-terminal -e "java -jar /home/usertest/java/testpad.jar"   /home/cmcanulty/jin-2.14.1/jin

with no luck. I can run it from terminal with ./jin

the desktop shortcut has this as the command

/home/cmcanulty/jin-2.14.1/jin

Also now T have 3 jin in the games menu which I can't
delete as they don't show in edit menus or my home/.config/menus

I googled this quite a bit without success, thank you

Last edited by cmcanulty (2019-01-22 15:57:16)

Offline

#2 2019-01-22 21:18:30

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,113

Re: add java app to whisker menu

cmcanulty wrote:

Also now T have 3 jin in the games menu which I can't
delete as they don't show in edit menus or my home/.config/menus

Look in ~/.local/share/applications and remove the 3 errant .desktop files


I have successfully added a java app and a shortcut on the desktop but can't get it added to whisker menu I tried this

xfce4-terminal -e "java -jar /home/usertest/java/testpad.jar"   /home/cmcanulty/jin-2.14.1/jin

with no luck. I can run it from terminal with ./jin

the desktop shortcut has this as the command

/home/cmcanulty/jin-2.14.1/jin

Create the file ~/.local/share/applications/jin.desktop with the following content:

[Desktop Entry]
Type=Application
Icon=/home/cmcanulty/jin-2.14.1/icon.png
Name=Jin Chess Client
Comment=Client for various chess servers	
Categories=Game;
Exec=/home/cmcanulty/jin-2.14.1/jin
Path=/home/cmcanulty/jin-2.14.1
StartupNotify=true
Terminal=false

This .desktop file works for me.

Online

#3 2019-01-22 22:28:05

cmcanulty
Member
From: Beulah, Michigan
Registered: 2014-05-10
Posts: 167

Re: add java app to whisker menu

Thanks so much but I had the desktop shortcut, what I can't do is add it to the whisker menu, see my post. But I added it to the menu using the command you gave in the desktop file:
Exec=/home/cmcanulty/jin-2.14.1/jin
and that worked for whisker! Thanks

Last edited by cmcanulty (2019-01-22 22:31:24)

Offline

Board footer

Powered by FluxBB