You are not logged in.

#1 2010-11-05 00:17:17

einstein
Member
From: Binghamton, NY
Registered: 2009-05-12
Posts: 14

fusion-icon attempting to load .config from wrong user

Hi everybody, I can no longer start fusion-icon for my main user account. I had just created a new user account and now when I run gnome with my main (previous) user fusion-icon appears to be trying to pull a .config from the newly created user instead of the user running the command.
Here is the output from fusion-icon:

[brandon@ArchLinux64 ~]$ fusion-icon
 * Detected Session: gnome
 * Searching for installed applications...
Traceback (most recent call last):
  File "/usr/bin/fusion-icon", line 57, in <module>
    from FusionIcon.interface import choose_interface
  File "/usr/lib/python2.6/site-packages/FusionIcon/interface.py", line 23, in <module>
    import start
  File "/usr/lib/python2.6/site-packages/FusionIcon/start.py", line 36, in <module>
    config.check()
  File "/usr/lib/python2.6/site-packages/FusionIcon/util.py", line 363, in check
    os.makedirs(self.config_folder)
  File "/usr/lib/python2.6/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/bender/.config'

So when i run fusion-icon under "brandon" it trys to use the .config from "bender" and permission is denied.
Any help appreciated.
Thanks.

Offline

#2 2010-11-05 00:23:40

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: fusion-icon attempting to load .config from wrong user

What is the output of:

echo $HOME
echo $XDG_CONFIG_HOME

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2010-11-05 02:09:54

einstein
Member
From: Binghamton, NY
Registered: 2009-05-12
Posts: 14

Re: fusion-icon attempting to load .config from wrong user

Stebalien wrote:

What is the output of:

echo $HOME
echo $XDG_CONFIG_HOME
[brandon@ArchLinux64 ~]$ echo $HOME
/home/brandon
[brandon@ArchLinux64 ~]$ echo $XDG_CONFIG_HOME
/home/bender/.config

Ok, so from the looks of this XDG_CONFIG_HOME is pointing to the wrong user. How can I change this?
Thank you.

Offline

#4 2010-11-05 04:07:55

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: fusion-icon attempting to load .config from wrong user

This should be set by '/etc/profile.d/xorg.sh' but you can just add

export XDG_CONFIG_HOME="$HOME/.config"

to your login script.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

Board footer

Powered by FluxBB