How to change home folder?

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM

How to change home folder?

Postby Sambuca » Mon Feb 22, 2010 2:02 pm

Hi

I'm interested to know is there some way to change home folder?
Sambuca
 
Posts: 4
Joined: Sun Feb 21, 2010 1:40 pm

Re: How to change home folder?

Postby maces » Wed Feb 24, 2010 6:16 pm

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
maces
 
Posts: 503
Joined: Sat Oct 25, 2008 7:04 pm

Re: How to change home folder?

Postby IgnorantGuru » Sat Feb 27, 2010 9:05 pm

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/
Check out my blog for useful scripts, mods and tips... http://igurublog.wordpress.com
IgnorantGuru
 
Posts: 30
Joined: Sat Feb 27, 2010 8:35 pm

Re: How to change home folder?

Postby PCMan » Sun Feb 28, 2010 6:51 am

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.
PCMan
 
Posts: 85
Joined: Mon Oct 06, 2008 10:52 am

Re: How to change home folder?

Postby IgnorantGuru » Wed Mar 03, 2010 3:05 am

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.
Check out my blog for useful scripts, mods and tips... http://igurublog.wordpress.com
IgnorantGuru
 
Posts: 30
Joined: Sat Feb 27, 2010 8:35 pm

Re: How to change home folder?

Postby Sambuca » Sun Mar 07, 2010 10:47 pm

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 :?
Sambuca
 
Posts: 4
Joined: Sun Feb 21, 2010 1:40 pm

Re: How to change home folder?

Postby IgnorantGuru » Sun Mar 07, 2010 11:48 pm

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.
Check out my blog for useful scripts, mods and tips... http://igurublog.wordpress.com
IgnorantGuru
 
Posts: 30
Joined: Sat Feb 27, 2010 8:35 pm


Return to PCManFM

Who is online

Users browsing this forum: No registered users and 0 guests