You are not logged in.
I noticed a strange bug in caja. If I'm inside a hidden directory (e.g., ~/.config) and toggle hidden files by pressing control + h, caja changes directory to /proc or / (root directory). This is quite disorienting.
I have absolutely no idea how to begin troubleshooting this. Any ideas? I hope one of you guys can help, as I don't think a MATE-specific forum exists anymore (notice the forums listed here: https://mate-desktop.org/community/).
Details:
Devuan ASCII
MATE version 1.16.2
Caja version 1.16.6-1+deb9u1
P.S. I also asked in the debian forum (for more eyeballs). The post is here: http://forums.debian.net/viewtopic.php? … 46&start=0
Last edited by GNUser (2018-03-14 14:41:14)
Offline
I would try reinstalling caja but that is just a weak guess.
Where would expected behavior take you? The directory .config is in or a higher dir.? file systems is where my install takes me.
"The obstacle is the path."
Offline
I will try reinstalling, wouldn't hurt.
Expected behavior when I press control + h in the file manager is to toggle visibility of hidden files and directories in the directory I'm in, not to take me to another directory (/proc, /, or anywhere else).
When you press control + h caja takes you to file systems? That's unexpected behavior, similar to what I'm experiencing.
Last edited by GNUser (2018-03-14 14:35:57)
Offline
I reinstalled caja and it made no difference
Offline
I might never have seen this with my limited hidden files experience.But i'm curious to see
what you find. Good luck.
"The obstacle is the path."
Offline
Thanks for your help, catprints. It was helpful to know that another Devuan ASCII + MATE user was experiencing the same thing, since that confirms that this is caused by a bug and not by some misconfiguration on my system.
This behavior bothers me enough that for the time being I've remapped control+h to run this script of mine:
#!/bin/sh
current_state=$(gsettings get org.mate.caja.preferences show-hidden-files)
if [ "$current_state" = "false" ]; then
gsettings set org.mate.caja.preferences show-hidden-files true # to show regular user's hidden files
sudo gsettings set org.mate.caja.preferences show-hidden-files true # to show root user's hidden files
else
gsettings set org.mate.caja.preferences show-hidden-files false
sudo gsettings set org.mate.caja.preferences show-hidden-files false
fi
Here's a prettier version that puts an icon in the taskbar while hidden files/folders are visible (requires yad to be installed):
#!/bin/sh
icon=/path/to/your/icon.png
current_state=$(gsettings get org.mate.caja.preferences show-hidden-files)
if [ "$current_state" = "false" ]; then
gsettings set org.mate.caja.preferences show-hidden-files true # to show regular user's hidden files
sudo gsettings set org.mate.caja.preferences show-hidden-files true # to show root user's hidden files
yad --notification --image=$icon --text="Showing hidden files" --no-middle &
else
gsettings set org.mate.caja.preferences show-hidden-files false
sudo gsettings set org.mate.caja.preferences show-hidden-files false
pkill -f "Showing hidden files"
fi
It's a workaround and not a fix, of course, but I want the unexpected teleports to other filesystem locations to stop right away. Hopefully a caja expert will come along and offer us a proper fix.
Last edited by GNUser (2018-03-15 17:01:33)
Offline
I never knew of that key control but just tried it and it works perfectly in Thunar. Probably won't ever use it though because I am blind without seeing hidden files at all times. The reason I moved on from gnome2 years ago were little bugs like that.
Online
If I keep finding these annoying little bugs, I may eventually switch to XFCE, too. As much as I love MATE, it has definitely gotten sloppy.
Not to be ungrateful (MATE is both libre and gratis, after all), but you'd think that toggling hidden files and mounting run-of-the-mill Android phones are things that file managers should be able to do out-of-the-box these days, without nasty surprises.
Last edited by GNUser (2018-03-14 15:59:17)
Offline
If I keep finding these annoying little bugs . . .
gnome2 was buggy out of the gate so no surprise . . .
Online
golinux, I thought it was weird that you said "I am blind without seeing hidden files at all times" because this is the icon I had selected to show in my notification area when hidden files are being shown:
Haha, what are the odds?
Offline
There is order in the chaos of the universe. Nice image BTW.
Online