NsCDE config for thunar
I recently installed NsCDE [1] and it's mostly self-explanatory. I use thunar and i missed seeing removable media automatically appear in the file manager. This feature depends on gvfs, which depends on a dbus session. To restore this functionality, i used the solution shown below [2] and edited /etc/X11/xinit/xinitrc.NsCDE as shown below [3]. Then i logged out and logged back in.
[1] https://slackbuilds.org/repository/15.0/desktop/NsCDE/ [2] https://www.linuxquestions.org/quest...1/#post6340899 [3] --- etc/X11/xinit/xinitrc.NsCDE.orig 2022-08-03 19:05:21.000000000 -0700 +++ etc/X11/xinit/xinitrc.NsCDE 2022-08-04 13:36:00.202425621 -0700 @@ -1,6 +1,12 @@ #!/bin/sh # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ +## Reinvoke within a dbus session: + +if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x /usr/bin/dbus-run-session ]; then + exec dbus-run-session -- $0 "$@" +fi + userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources |
Thought this was a question at first. I run a lightwieght GUI on most of my systems, with Thunar as the go-to FM, and I too have missed the auto-mount shortcuts and even resort to Nautilus because of it.
Now that I'm aware of a way to bring that functionality back, I'm probably going to. Thanks for the heads-up and mini-tutorial! |
HI, i sent an update to version 2.2.
|
All times are GMT -5. The time now is 09:33 PM. |