I have downloaded a java app (Jaikoz tagger) and to run I have to run from the bin directory created in the download by changing to the subdirectory in my home directory and running ./jaikoz all from a terminal. This all works as expected, opens the application window and works as expected.
I now want to have this app installed in my Application Multimedia list so I can open it from the start button. How should I do this please?
@Budgie2 Create a desktop file in ~/.local/share/applications called say jaikoz.desktop
[Desktop Entry]
Version=1.0
Name=Jaikoz
GenericName=Jaikoz Audio Tagger
Comment=Launcher for Jaikoz.
Type=Application
Terminal=false
Exec=Jaikoz_start_script
Icon=YOU NEED TO PUT AN ICON NAME HERE
Categories=AudioVideo;AudioVideoEditing;
I have a directory called applications to pop these things in, then just a script in ~/bin to cd to the location and run…
Hi Malcolm,
Many thanks and simple though your suggestion is it is too complicated for me:
I do not have a bin in my home directory but there is of course a bin subdirectory in the downloaded installation files. I had assumed it should be in somewhere in my system so exactly where should it be?
I can create a bash script but then where do I then put it. Is it in the [Desktop Entry] file above?
The icon name also has be puzzled. I have an icon in the installation file download, jaikoz.png but should I include the full tree?
It is, it is! Tired old eyes and impossible to tell until I changed the name and only then difficult to tell so many thanks.
I have never used a bin subdirectory in my home directory. I always understood these were in /etc/bin or elsewhere higher in the root tree. Since this now is working as I hoped who am I to complain.
That’s another drink I owe you!
Regards,
Alastair.
@Budgie2 I always use lowercase to avoid the issue, but your example showed a “J” so didn’t want to confuse… (but I did…)
Anything you want to run as just your user can happily live in ~/bin that’s the whole point of it… if system wide, then down in /usr/local would be the place for those things or maybe /opt.
Hi Malcolm,
Having had modest success with Jaikoz I am now trying to resurrect my old version of songkong which I last used in 2019. I have upgraded my subscription but all the old installation was long lost with my hardware upgrades so I have downloaded the latest version. I thought I could then follow your above instructions but songkong is nothing like Jaikoz and the downloaded version (without java) uses a more recent version of java than TW so I have download the version which includes java. So far so good.
I have installed songkong in /usr/local/bin where I have other apps like Get_iplayer so I now have the unzipped files in the /usr/local/bin/songkong directory thus:-
I am not sure what next. I cannot find the logo .png for the app and I am not sure if I need to create a start script as before. If you have time I would appreciate more help please.
Alastair.
Hi Malcolm,
Not so important. I do have a couple or users on this machine but it would only be me using it as far as I can foresee for now. It was just that I have Get_iplayer also installed in /usr/local/bin so that is where I started. Of course when I started out I hadn’t realised that my system did not support the TW version of java so if you suggest I change to local user that would be fine. Just point me in the right direction. I have no idea how songkong will support updating with the imported java so just suggest what will work best with me as local user.
@Budgie2 Just follow the earlier instructions as in create a directory in your $HOME and extract there etc. Of course remove the other stuff you installed…
Hi Malcolm,
Yes that is what I did and now I have songkong working same as Jaikoz. Nothing popped up this thread as indicated in 4 above but it is all working as hoped so many thanks.
A.