You are not logged in.

#1 2011-09-23 20:59:25

profelm
Member
Registered: 2011-09-22
Posts: 3

[SOLVED] Easy question regarding OpenBox Configuration

Hi there, everyone!

I have a feeling that the fix for this issue is a really easy one. I am running LXDE and am unable to change my theme under user.

If I log in as root, I am able to change the theme in Openbox Configuration Manager. However, as a user, I am not able to.

When I change themes, I get the following message: "An error occured while saving the config file '/home/username/.config/openbox/lxde-rc.xml' "

Could it be that the file is not editable?

Thanks a lot, everyone!

Last edited by profelm (2011-09-23 21:35:56)

Offline

#2 2011-09-23 21:01:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Easy question regarding OpenBox Configuration

Post the output of

ls -l /home/username/.config/openbox/lxde-rc.xml

If you edited this file as root, you may need to revert the ownership to user before you can edit it as a user.

Offline

#3 2011-09-23 21:13:05

profelm
Member
Registered: 2011-09-22
Posts: 3

Re: [SOLVED] Easy question regarding OpenBox Configuration

Yep. This is the output that I was given:

ls: cannot access /home/profelm/.config/openbox/lxde-rc.xml: No such file or directory

Offline

#4 2011-09-23 21:17:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Easy question regarding OpenBox Configuration

profelm wrote:

Yep. This is the output that I was given:

ls: cannot access /home/profelm/.config/openbox/lxde-rc.xml: No such file or directory

Just to be sure, run this command as root.
I have absolutely no knowledge wrt openbox, so you may need to e.g. see the wiki and maybe create the file in the first place :-)

Offline

#5 2011-09-23 21:32:04

kyla
Member
From: Arlington, VA
Registered: 2011-03-12
Posts: 112
Website

Re: [SOLVED] Easy question regarding OpenBox Configuration

I think there might be a default config file somewhere owned by root that you are meant to copy to your home directory (well inside of .config in your home directory)

Update:
from the wiki article on LXDE:

Place menu.xml, rc.xml and autostart in ~/.config/openbox
They can be found in /etc/xdg/openbox

and

mkdir -p ~/.config/openbox
cp /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/autostart ~/.config/openbox

Probably good to just read that wiki page

Last edited by kyla (2011-09-23 21:35:49)

Offline

#6 2011-09-23 21:35:15

profelm
Member
Registered: 2011-09-22
Posts: 3

Re: [SOLVED] Easy question regarding OpenBox Configuration

Hahah! Thanks a lot, karol!

I was perusing through the internet and was able to find out that the file is not there. What I ended up doing is copying over the rc.xml file from the openbox directory and giving my user full access to the folder.

So:

sudo cp /etc/xdg/openbox/rc.xml /home/username/.config/openbox/lxde-rc.xml
sudo chmod 777 -R /home/username/.config/openbox

That seemed to do the trick!

Offline

Board footer

Powered by FluxBB