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

Re: Dot files, get them out of the way



On Tue, 2013-07-09 at 22:13 -0400, davidson@ling.ohio-state.edu wrote:
> i would expect
> 
>   $ HOME=/mnt/music gedit
> 
> to do what you want.

And you are right :). Thank you!

$ echo $HOME
/home/rocketmouse

$ HOME=/mnt/music gedit

$ echo $HOME
/home/rocketmouse

$ ls -hAl /mnt/music/ | grep "Jul 10"
drwxr-xr-x  3 rocketmouse rocketmouse 4.0K Jul 10 09:47 .config
drwxr-xr-x  3 rocketmouse rocketmouse 4.0K Jul 10 09:47 .local

$ ls -hAl /mnt/music/.config/gedit/accels
-rw-r--r-- 1 rocketmouse rocketmouse 11K Jul 10 09:47 /mnt/music/.config/gedit/accels

$ ls -hAl /mnt/music/.local/share/recently-used.xbel
-rw------- 1 rocketmouse rocketmouse 218 Jul 10 09:47 /mnt/music/.local/share/recently-used.xbel

What I tried to pointed out in broken English is:
Assumed I was working on two or more songs, then I had to copy and
restore configs from/to /home, while all the music data was
in /mnt/music, now I can store and load the configs
to /mnt/music/song_foo_1, /mnt/music/song_foo_2 etc..
Some applications have options to save and load config files, but others
simply store data in $home only and in addition the configs sometimes
are not easy to find.

$ HOME=/mnt/music $music_applications     will solve this issue for me.




Reply to: