linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.48k stars 728 forks source link

Wrong directory association in Cinnamon applets on Debian 8 #4769

Closed ghost closed 8 years ago

ghost commented 8 years ago

Using Cinnamon in Debian 8 testing. This wasn't an issue with Mint Cinnamon 17.2, at least with an up-to-date system some weeks ago.

After compiling and installing bomi (make + make install), the directory shortcuts in Cinnamon applets (the Rubbish Bin applet, to name one installed by default) open with bomi.

Removing bomi from the PATH fixes the association back to Nemo. Needles to say, that's not the solution I'm looking for. Nemo opens fine if I chose it from the menu. Softlinked directories open with Nemo too. There's no "bomi" entry in /usr/share/applications/mimeinfo.cache. So I guess that this is exclusively an error in Cinnamon handling of URIs.

Installing bomi the wrong way, with the deb package in the developer's Ubuntu PPA leads to the same result.

ManIVIctorious commented 8 years ago

Could be linked to your personal mime app list. You could try to execute the following in a terminal: $ xdg-mime default nemo.desktop inode/directory

This should set nemo as default for opening directories. I hope that helped

ghost commented 8 years ago

Thanks for your answer ManIVIctorious. Unfortunately for debugging purposes, I can not longer reproduce after you posted your comment. Re-compiled and re-installed (same system, some variations in the packages) bomi, putting it in and out of the PATH, made different permutations in the "Preferred Applications"... nothing seems to break the applet shourtcuts now.

I couldn't say what triggered this change. I haven't made any further efforts to fix it since I posted this originally at stackexchange last week. I made no relevant Cinnamon configurations either.

I'm closing this issue for now.

ghost commented 8 years ago

It's back!

xdg-mime default nemo.desktop inode/directory fixed it, thanks again. I just had to create the directory applications in /home/user/.local/share/ because it didn't exist and xdg-mime complained.

I re-installed some packages to compile toxcore and qTox so I guess that the responsible is among them. Here's the list

check checkinstall debhelper dh-strip-nondeterminism gir1.2-gtk-2.0 libatk1.0-dev libavdevice-dev libcairo-script-interpreter2 libcairo2-dev libfile-stripnondeterminism-perl libgdk-pixbuf2.0-dev libgtk2.0-dev libice-dev libmail-sendmail-perl libopenal-dev libopus-dev libpango1.0-dev libpixman-1-dev libqrencode-dev libqrencode3 libsm-dev libsodium-dev libsubunit-dev libsubunit0 libsys-hostname-long-perl libvpx-dev libxcb-shm0-dev libxcomposite-dev libxcursor-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxss-dev po-debconf qrencode x11proto-composite-dev x11proto-randr-dev x11proto-render-dev x11proto-scrnsaver-dev x11proto-xinerama-dev

Plus toxcore and qTox that were # make installed

ManIVIctorious commented 8 years ago

Well if my command worked this is no cinnamon bug. Seems to me, that the install process just links the program to open directories. I always have the same issue with easytag (that's why I know the fix :-) )

JosephMcc commented 8 years ago

If this is not a Cinnamon bug will you please close it?

ghost commented 8 years ago

Sure