Page 1 of 1

Desktop Icon with Ubuntu Desktop

Posted: Wed Aug 12, 2020 8:19 pm
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.

Re: Desktop Icon with Ubuntu Desktop

Posted: Mon Aug 24, 2020 3:04 am
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

Re: Desktop Icon with Ubuntu Desktop

Posted: Thu Aug 27, 2020 5:12 am
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!