Page 1 of 1
How to change home folder?
Posted: Mon Feb 22, 2010 1:02 pm
by Sambuca
Hi
I'm interested to know is there some way to change home folder?
Re: How to change home folder?
Posted: Wed Feb 24, 2010 5:16 pm
by maces
Hi,
Well this is very distro related and not depending on LXDE. When you want to change the path it's not possble, afaik (Well via linking maybe). If you want to have /home on a separate hdd/partition, it's working just fine.
maces
Re: How to change home folder?
Posted: Sat Feb 27, 2010 8:05 pm
by IgnorantGuru
I recently added this ability to my PCManFM 0.52 mod. You can set home_folder=FOLDER in ~/.config/pcmanfm/main in the [General] section.
http://igurublog.wordpress.com/downloads/mod-pcmanfm/
Re: How to change home folder?
Posted: Sun Feb 28, 2010 5:51 am
by PCMan
The correct way to do this is modifying /etc/passwd or do this with user management tools.
And also the environment variable $HOME should point to the directory you want.
That's all.
There is nothing to do with the file manager and this shouldn't be a preference option since this just won't work for other programs.
Re: How to change home folder?
Posted: Wed Mar 03, 2010 2:05 am
by IgnorantGuru
I could be mistaken but I think he means change which folder is defined as "home" for the Go|Home command and toolbar button. Many file managers let you set this to a custom folder.
Re: How to change home folder?
Posted: Sun Mar 07, 2010 9:47 pm
by Sambuca
Yes I mean Go|Home command and toolbar button.
You can set home_folder=FOLDER in ~/.config/pcmanfm/main in the [General] section
And this no work

Re: How to change home folder?
Posted: Sun Mar 07, 2010 10:48 pm
by IgnorantGuru
You have to be using the mod of pcmanfm for the home_folder in main to work:
http://igurublog.wordpress.com/downloads/mod-pcmanfm/
Depending on how you install it, you may need to run "pcmanfm-mod" rather than pcmanfm ( check the About window to see if it says MODIFIED VERSION). Also note that the normal version of pcmanfm (0.5.2) will remove the home_folder setting from your main config file (it doesn't recognize it and will omit it when saving the config file).
And home_folder=FOLDER must be in the [General] section. Once that is done and you restart pcmanfm-mod then it should work.