Putting application built from tarball into menu

Just built HandBrake-1.0.1 from tarball with a great deal of help from The HandBrake Team.

After running sudo make install all was well except that the executable was put in my /usr/local/bin directory.

Two questions:-
How may I put the HandBrake icon and title in my “start menu”

Will other users be able to see and use HandBrake on this computer. I was under the impression they would but not if executable is in the directory it is surely. Where should it be and how should I have installed it to achieve all this?
Budgie2

Hi
Did it put the ghb.desktop file in /usr/share/applications or /usr/local/share/applications?

Tou may need to create a softlink to it and then update the desktop database;


update-desktop-database /usr/share/applications

Might also need to update the mime one as well…

Hi Malcolm,
regret I am not with it tonight!

That file is in /usr/local/share/applications

Tou may need to create a softlink to it and then update the desktop database;

update-desktop-database /usr/share/applications

Might also need to update the mime one as well…

One step at a time; soft link where?
What about pineapple icon?
Mime one?

Would help to know which desktop you use

Hi
In /usr/share/applications;


ln -s /usr/local/share/applications/ghb.desktop /usr/share/applications/ghb.desktop
update-desktop-database /usr/share/applications

Or uninstall (make uninstall) and rebuild with the --prefix=/usr and it will put in the normal places…

Hi and yes, please forgive. KDE.

Hi Malcolm,
Many thanks. Will do it tomorrow. Getting late.
Budgie2

Right click the menu icon select edit application add you item.

On Mon 23 Jan 2017 12:26:01 AM CST, gogalthorp wrote:

Right click the menu icon select edit application add you item.

Hi
Use Budgie2 wants it available for all users AFAIK, hence the need to
set this in a system-wide ‘standard’ locale…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-44-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi Malcolm,
Decided to uninstall and install using your suggestion. System didn’t like --prefix=/usr. I checked out man install and --prefix is not there so I must be misunderstanding you.
Grateful for further guidance please.
Budgie2

Hi
Try on the install then in you build location;


make install DESTDIR=/usr

Hi
So what is your configure command looking like? Or have they changed to cmake or similar?

Hi Malcolm,

My problem (apart from my general ignorance,) was that there were no install instructions in the tarball. I just used ./configure, make and make install as usual. There were very many libraries to install and a small change to ./make/include/main.defs before make would run without errors. Needed much help from HandBrake Team.

The suggested DESTDIR line didn’t give what I needed. Bottom line is that your first suggestion of a soft link works when I edit the Applications > Multimedia menu and loh and behold an icon has appeared there alongside my edit so I am content but remain ignorant. Nothing done about mime.
Thanks for the help.

Hi
Look at the Packman spec file in the %build part to see the configure options used…
https://pmbs.links2linux.de/package/view_file/Multimedia/handbrake-unstable/handbrake-unstable.spec?expand=1

But if all is good…rock on and enjoy :slight_smile: Remember to have fun…