Desktop Icon with Ubuntu Desktop

The place to discuss linux version of MakeMKV
Post Reply
MetalDave
Posts: 31
Joined: Wed May 03, 2017 10:17 pm

Desktop Icon with Ubuntu Desktop

Post by MetalDave »

I have successfully compiled and installed MakeMKV v1.15.2 on my Ubuntu Desktop v20.04 system. When I launch the app from the Gnome desktop, the generic application icon is used rather than the MakeMKV one. I was curious if anyone has addressed this.

It appears the appropriate GUI files have been installed in the following locations:

Code: Select all

/usr/share/applications/makemkv.desktop		# Desktop GUI Info
/usr/share/icons/hicolor/<size>/makemkv.png	# Icon
The makemkv.desktop file has the following content:

Code: Select all

[Desktop Entry]
Version=1.0
Name=MakeMKV
Comment=DVD and Blu-ray to MKV converter and network streamer
Exec=makemkv
Icon=makemkv
Terminal=false
Type=Application
Categories=AudioVideo;Qt;
There are icons in the following sizes:

Code: Select all

/usr/share/icons/hicolor$ ll */apps/make*
-rw-r--r-- 1 root root 27806 Aug 11 23:19 128x128/apps/makemkv.png
-rw-r--r-- 1 root root  1069 Aug 11 23:19 16x16/apps/makemkv.png
-rw-r--r-- 1 root root  1788 Aug 11 23:19 22x22/apps/makemkv.png
-rw-r--r-- 1 root root 84380 Aug 11 23:19 256x256/apps/makemkv.png
-rw-r--r-- 1 root root  3303 Aug 11 23:19 32x32/apps/makemkv.png
-rw-r--r-- 1 root root  9644 Aug 11 23:19 64x64/apps/makemkv.png
I've compared this to other installed apps, and it seems like everything is formatted correctly in the config file and the filesystem permissions are consistent. I was hoping that someone else had already solved this little dilemma and would share the solution (before I find it myself).

Ironically, the version of MakeMKV distributed via Snap package (produced by a community member) already fixed this issue. I'm tempted to re-install to see what they did.
Support MakeMKV - Buy a license!
(Seriously, you use this thing enough; A lifetime license is well worth it.)

Thank you to all of my fellow supporters!
audi.rs4
Posts: 4
Joined: Thu Mar 07, 2019 4:39 pm

Re: Desktop Icon with Ubuntu Desktop

Post by audi.rs4 »

I just installed and also found the icons not displayed immediately. A reboot, might fix it, but the key is that it appears the index was not rebuilt. Running the following should fix it.

Code: Select all

gtk-update-icon-cache /usr/share/icons/hicolor
MetalDave
Posts: 31
Joined: Wed May 03, 2017 10:17 pm

Re: Desktop Icon with Ubuntu Desktop

Post by MetalDave »

I'm guessing a reboot did the job as it started appearing. I appreciate the recommendation of the gtk utility, and I'm sure that will come in handy. Thank you!
Support MakeMKV - Buy a license!
(Seriously, you use this thing enough; A lifetime license is well worth it.)

Thank you to all of my fellow supporters!
Post Reply