Re: What is this .gvfs directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



john wendel wrote:
>On 07/23/2009 01:15 AM, Ron Yorston wrote:
>> According to a thread on the fedora-test list it's possible to prevent
>> the gvfs-fuse-daemon starting by setting an environment variable:
>>
>> On Thu, 2008-05-01 at 23:05 -0400, Matthias Clasen wrote:
>>> To get rid of it:
>>>
>>> GVFS_DISABLE_FUSE=1
>>> export GVFS_DISABLE_FUSE
>>
>> However, I've been unable to find out where to set that environment
>> variable.  Although gvfsd is run as the user logging in it doesn't
>> have that users environment.
>
>Maybe /etc/profile ???

No, that's not it.  The environment of gvfsd doesn't have much in it.

SHELL=/bin/bash
DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-wxBkE2MbNz,guid=be870825ff168caac4f87a554a68af49
XDG_SESSION_COOKIE=6149537b2fea289ae508adbd4a61a75f-1248374601.299195-1269933510
DISPLAY=:0.0
GNOME_KEYRING_SOCKET=/tmp/keyring-Wh22Uj/socket
DESKTOP_SESSION=gnome
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3159,unix/unix:/tmp/.ICE-unix/3159
PATH=/usr/local/bin:/usr/bin:/bin
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
USERNAME=rmy
GDMSESSION=gnome
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-wxBkE2MbNz,guid=be870825ff168caac4f87a554a68af49
GTK_RC_FILES=/etc/gtk/gtkrc:/home/rmy/.gtkrc-1.2-gnome2
XAUTHORITY=/var/run/gdm/auth-for-rmy-tuokKC/database
USER=rmy
DBUS_STARTER_BUS_TYPE=session
GNOME_KEYRING_PID=3140
SHLVL=1
PWD=/home/rmy
GDM_LANG=en_GB.UTF-8
LANG=en_GB.UTF-8
_=/usr/bin/dbus-launch
LOGNAME=rmy
HOME=/home/rmy

These settings come from things like gdm, dbus and gnome-session, which
all run early in the life of the desktop session.

Since it's possible to use an environment variable to have gvfsd not
start gvfs-fuse-daemon it would be useful to have some way to inject
that variable into gvfsd's environment.

The gnome-session README says of GSM_SESSION_PHASE_INITIALIZATION:

   Apps in this phase can make use of a D-Bus interface
   (org.gnome.SessionManager.Setenv) to set environment variables
   in gnome-session's environment. This can be used for things like
   $GTK_MODULES, $GNOME_KEYRING_SOCKET, etc

This is presumably how GNOME_KEYRING_SOCKET got into gvfsd's environment.
So is there a simple way to persuade gnome-session to set an environment
variable?  Or gdm, or dbus?

Ron

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux