site  contact  subhomenews

Fix ROX right-click menu

October 10, 2023 — BarryK

I have SeaMonkey PET package installed. When a package is installed, /usr/bin/build-rox-sendto is run, which updates the ROX-Filer right-click menu. It reads the "MimeType" field from /usr/share/applications .desktop files and from that creates right-click menu entries.

Well, actually there are five of them for SeaMonkey; SeaMonkey-Addressbook.desktop, SeaMonkey-Composer.desktop, SeaMonkey-irc-chat.desktop, SeaMonkey-mail-and news.desktop and SeaMonkey-web-browser.desktop, and these don't actually have a "MimeType" field. In that case, there is a fallback in build-rox-sendto; a lookup table.

After installing the SM PET, have right-click entries; however, sometimes those for user-installed packages disappear. I haven't been able to figure out why. There is code in /etc/rc.d/rc.update that will rerun build-rox-sendto if there is a version update or a SFS layers change. I have modified that code to more definitely rerun build-rox-sendto if required, see commit:   

Tags: easy