LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   NsCDE config for thunar (https://www.linuxquestions.org/questions/slackware-14/nscde-config-for-thunar-4175715373/)

BenCollver 08-04-2022 03:43 PM

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

JP3 08-12-2022 08:01 PM

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!

adcdam 08-12-2022 08:53 PM

HI, i sent an update to version 2.2.


All times are GMT -5. The time now is 09:33 PM.