Need to clean user home folder and organize game folders (with saves, configs, etc)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
I have many installed games, from various sources/stores/frontends (Steam, GOG, Humble Store and Lutris with modules like DOSBox, Libretro, WINE and ScummVM).
Unfortunately many game developers elect their own path under the user home folder to keep game related files (saves, configs, etc). There is clearly no standard or consensus in this aspect of linux gaming.
Most of those paths are under a few standard subfolders like:
/home/user/Documents/HardWest
/home/user/.config/BossConstructor
/home/user/.local/Uber Entertainment/Planetary Annihilation
/home/user/.local/share/Aspyr/Sid Meier's Civilization 5
But some create their own hidden folder put directly into the user home folder like:
/home/user/.BADLAND
/home/user/.frictionalgames/Amnesia
/home/user/.prefs
And some create visible folders there like (7 visible ones now and counting, those are the worst ofenders):
/home/user/LoversInADangerousSpacetime
/home/user/Larian Studios/Divinity Original Sin Enhanced Edition
/home/user/My Games/Orwell
And even some that use multiple paths like:
/home/user/Nongunz
/home/user/.config/nongunz
This is starting to get too messy, so I want to move them into a "games" subfolder or such, and keep my home folder clean.
I have searched online for a way to transparently redirect the game into using a new path to store their files, but all I get is mounting or symlinking. Since the idea is to eliminate those folders, not just link them, that doesn't solve the issue.
Changing the working folder doesn't seem to work either, but I might be missing something here...
Passing a parameter or setting an environment variable to each game/frontend is an acceptable solution, but I would prefer something I can set globally like a from-to table of paths. I have admin rights to the machine in question.
Is there something available (gui, cli or config) on Ubuntu, bash, linux kernel, ...?
PS: If it works well intend to somehow link the answers as a feature request/code contribution to https://github.com/supremesonicbrazil/SLSK
games home-directory paths redirect
add a comment |Â
up vote
2
down vote
favorite
I have many installed games, from various sources/stores/frontends (Steam, GOG, Humble Store and Lutris with modules like DOSBox, Libretro, WINE and ScummVM).
Unfortunately many game developers elect their own path under the user home folder to keep game related files (saves, configs, etc). There is clearly no standard or consensus in this aspect of linux gaming.
Most of those paths are under a few standard subfolders like:
/home/user/Documents/HardWest
/home/user/.config/BossConstructor
/home/user/.local/Uber Entertainment/Planetary Annihilation
/home/user/.local/share/Aspyr/Sid Meier's Civilization 5
But some create their own hidden folder put directly into the user home folder like:
/home/user/.BADLAND
/home/user/.frictionalgames/Amnesia
/home/user/.prefs
And some create visible folders there like (7 visible ones now and counting, those are the worst ofenders):
/home/user/LoversInADangerousSpacetime
/home/user/Larian Studios/Divinity Original Sin Enhanced Edition
/home/user/My Games/Orwell
And even some that use multiple paths like:
/home/user/Nongunz
/home/user/.config/nongunz
This is starting to get too messy, so I want to move them into a "games" subfolder or such, and keep my home folder clean.
I have searched online for a way to transparently redirect the game into using a new path to store their files, but all I get is mounting or symlinking. Since the idea is to eliminate those folders, not just link them, that doesn't solve the issue.
Changing the working folder doesn't seem to work either, but I might be missing something here...
Passing a parameter or setting an environment variable to each game/frontend is an acceptable solution, but I would prefer something I can set globally like a from-to table of paths. I have admin rights to the machine in question.
Is there something available (gui, cli or config) on Ubuntu, bash, linux kernel, ...?
PS: If it works well intend to somehow link the answers as a feature request/code contribution to https://github.com/supremesonicbrazil/SLSK
games home-directory paths redirect
3
If your problem is only with the visible folders in home, you can simply hide them in file manager without changing their names.
â pomsky
Apr 21 at 16:22
1
@pomsky link: How can I hide directories without changing their names?
â wjandrea
Apr 21 at 18:21
Using ".hidden" file (plus symlinks if wanted) doesn't remove the messy folders but at least stops the rest of the family from being confused by the visible ones, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Thanks!
â Paulo Villi
Apr 23 at 3:19
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have many installed games, from various sources/stores/frontends (Steam, GOG, Humble Store and Lutris with modules like DOSBox, Libretro, WINE and ScummVM).
Unfortunately many game developers elect their own path under the user home folder to keep game related files (saves, configs, etc). There is clearly no standard or consensus in this aspect of linux gaming.
Most of those paths are under a few standard subfolders like:
/home/user/Documents/HardWest
/home/user/.config/BossConstructor
/home/user/.local/Uber Entertainment/Planetary Annihilation
/home/user/.local/share/Aspyr/Sid Meier's Civilization 5
But some create their own hidden folder put directly into the user home folder like:
/home/user/.BADLAND
/home/user/.frictionalgames/Amnesia
/home/user/.prefs
And some create visible folders there like (7 visible ones now and counting, those are the worst ofenders):
/home/user/LoversInADangerousSpacetime
/home/user/Larian Studios/Divinity Original Sin Enhanced Edition
/home/user/My Games/Orwell
And even some that use multiple paths like:
/home/user/Nongunz
/home/user/.config/nongunz
This is starting to get too messy, so I want to move them into a "games" subfolder or such, and keep my home folder clean.
I have searched online for a way to transparently redirect the game into using a new path to store their files, but all I get is mounting or symlinking. Since the idea is to eliminate those folders, not just link them, that doesn't solve the issue.
Changing the working folder doesn't seem to work either, but I might be missing something here...
Passing a parameter or setting an environment variable to each game/frontend is an acceptable solution, but I would prefer something I can set globally like a from-to table of paths. I have admin rights to the machine in question.
Is there something available (gui, cli or config) on Ubuntu, bash, linux kernel, ...?
PS: If it works well intend to somehow link the answers as a feature request/code contribution to https://github.com/supremesonicbrazil/SLSK
games home-directory paths redirect
I have many installed games, from various sources/stores/frontends (Steam, GOG, Humble Store and Lutris with modules like DOSBox, Libretro, WINE and ScummVM).
Unfortunately many game developers elect their own path under the user home folder to keep game related files (saves, configs, etc). There is clearly no standard or consensus in this aspect of linux gaming.
Most of those paths are under a few standard subfolders like:
/home/user/Documents/HardWest
/home/user/.config/BossConstructor
/home/user/.local/Uber Entertainment/Planetary Annihilation
/home/user/.local/share/Aspyr/Sid Meier's Civilization 5
But some create their own hidden folder put directly into the user home folder like:
/home/user/.BADLAND
/home/user/.frictionalgames/Amnesia
/home/user/.prefs
And some create visible folders there like (7 visible ones now and counting, those are the worst ofenders):
/home/user/LoversInADangerousSpacetime
/home/user/Larian Studios/Divinity Original Sin Enhanced Edition
/home/user/My Games/Orwell
And even some that use multiple paths like:
/home/user/Nongunz
/home/user/.config/nongunz
This is starting to get too messy, so I want to move them into a "games" subfolder or such, and keep my home folder clean.
I have searched online for a way to transparently redirect the game into using a new path to store their files, but all I get is mounting or symlinking. Since the idea is to eliminate those folders, not just link them, that doesn't solve the issue.
Changing the working folder doesn't seem to work either, but I might be missing something here...
Passing a parameter or setting an environment variable to each game/frontend is an acceptable solution, but I would prefer something I can set globally like a from-to table of paths. I have admin rights to the machine in question.
Is there something available (gui, cli or config) on Ubuntu, bash, linux kernel, ...?
PS: If it works well intend to somehow link the answers as a feature request/code contribution to https://github.com/supremesonicbrazil/SLSK
games home-directory paths redirect
asked Apr 21 at 16:09
![](https://i.stack.imgur.com/SVJK8.jpg?s=32&g=1)
![](https://i.stack.imgur.com/SVJK8.jpg?s=32&g=1)
Paulo Villi
112
112
3
If your problem is only with the visible folders in home, you can simply hide them in file manager without changing their names.
â pomsky
Apr 21 at 16:22
1
@pomsky link: How can I hide directories without changing their names?
â wjandrea
Apr 21 at 18:21
Using ".hidden" file (plus symlinks if wanted) doesn't remove the messy folders but at least stops the rest of the family from being confused by the visible ones, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Thanks!
â Paulo Villi
Apr 23 at 3:19
add a comment |Â
3
If your problem is only with the visible folders in home, you can simply hide them in file manager without changing their names.
â pomsky
Apr 21 at 16:22
1
@pomsky link: How can I hide directories without changing their names?
â wjandrea
Apr 21 at 18:21
Using ".hidden" file (plus symlinks if wanted) doesn't remove the messy folders but at least stops the rest of the family from being confused by the visible ones, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Thanks!
â Paulo Villi
Apr 23 at 3:19
3
3
If your problem is only with the visible folders in home, you can simply hide them in file manager without changing their names.
â pomsky
Apr 21 at 16:22
If your problem is only with the visible folders in home, you can simply hide them in file manager without changing their names.
â pomsky
Apr 21 at 16:22
1
1
@pomsky link: How can I hide directories without changing their names?
â wjandrea
Apr 21 at 18:21
@pomsky link: How can I hide directories without changing their names?
â wjandrea
Apr 21 at 18:21
Using ".hidden" file (plus symlinks if wanted) doesn't remove the messy folders but at least stops the rest of the family from being confused by the visible ones, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Thanks!
â Paulo Villi
Apr 23 at 3:19
Using ".hidden" file (plus symlinks if wanted) doesn't remove the messy folders but at least stops the rest of the family from being confused by the visible ones, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Thanks!
â Paulo Villi
Apr 23 at 3:19
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
I sadly don't think what you want is possible. It's the responsibility of each single application/game's developers to specify their saving locations.
If they decide to hard-code a specific folder into the application, there's no way for you to change it. (Well, if the game is open source, you could change it there and recompile it, or file an issue/feature request for the developer and wait for reactions...)
If they built in some configuration option, let it be e.g. an environment variable, a command-line argument or some in-application setting, that is then specific to this single application and you'd have to figure it out and adapt it for each manually.
add a comment |Â
up vote
0
down vote
If your problem is only with the visible folders in your home directory, you can simply hide them in file manager without changing their names. For that you need to create a file called .hidden
in your home directory and write the names of the folders you want to hide in the .hidden
file.
In your case content of the ~/.hidden
file may be the following.
LoversInADangerousSpacetime
Larian Studios
My Games
and so.
1
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I sadly don't think what you want is possible. It's the responsibility of each single application/game's developers to specify their saving locations.
If they decide to hard-code a specific folder into the application, there's no way for you to change it. (Well, if the game is open source, you could change it there and recompile it, or file an issue/feature request for the developer and wait for reactions...)
If they built in some configuration option, let it be e.g. an environment variable, a command-line argument or some in-application setting, that is then specific to this single application and you'd have to figure it out and adapt it for each manually.
add a comment |Â
up vote
0
down vote
I sadly don't think what you want is possible. It's the responsibility of each single application/game's developers to specify their saving locations.
If they decide to hard-code a specific folder into the application, there's no way for you to change it. (Well, if the game is open source, you could change it there and recompile it, or file an issue/feature request for the developer and wait for reactions...)
If they built in some configuration option, let it be e.g. an environment variable, a command-line argument or some in-application setting, that is then specific to this single application and you'd have to figure it out and adapt it for each manually.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I sadly don't think what you want is possible. It's the responsibility of each single application/game's developers to specify their saving locations.
If they decide to hard-code a specific folder into the application, there's no way for you to change it. (Well, if the game is open source, you could change it there and recompile it, or file an issue/feature request for the developer and wait for reactions...)
If they built in some configuration option, let it be e.g. an environment variable, a command-line argument or some in-application setting, that is then specific to this single application and you'd have to figure it out and adapt it for each manually.
I sadly don't think what you want is possible. It's the responsibility of each single application/game's developers to specify their saving locations.
If they decide to hard-code a specific folder into the application, there's no way for you to change it. (Well, if the game is open source, you could change it there and recompile it, or file an issue/feature request for the developer and wait for reactions...)
If they built in some configuration option, let it be e.g. an environment variable, a command-line argument or some in-application setting, that is then specific to this single application and you'd have to figure it out and adapt it for each manually.
answered Apr 21 at 18:09
![](https://i.stack.imgur.com/m8DYH.jpg?s=32&g=1)
![](https://i.stack.imgur.com/m8DYH.jpg?s=32&g=1)
Byte Commander
59.3k26159267
59.3k26159267
add a comment |Â
add a comment |Â
up vote
0
down vote
If your problem is only with the visible folders in your home directory, you can simply hide them in file manager without changing their names. For that you need to create a file called .hidden
in your home directory and write the names of the folders you want to hide in the .hidden
file.
In your case content of the ~/.hidden
file may be the following.
LoversInADangerousSpacetime
Larian Studios
My Games
and so.
1
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
add a comment |Â
up vote
0
down vote
If your problem is only with the visible folders in your home directory, you can simply hide them in file manager without changing their names. For that you need to create a file called .hidden
in your home directory and write the names of the folders you want to hide in the .hidden
file.
In your case content of the ~/.hidden
file may be the following.
LoversInADangerousSpacetime
Larian Studios
My Games
and so.
1
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
add a comment |Â
up vote
0
down vote
up vote
0
down vote
If your problem is only with the visible folders in your home directory, you can simply hide them in file manager without changing their names. For that you need to create a file called .hidden
in your home directory and write the names of the folders you want to hide in the .hidden
file.
In your case content of the ~/.hidden
file may be the following.
LoversInADangerousSpacetime
Larian Studios
My Games
and so.
If your problem is only with the visible folders in your home directory, you can simply hide them in file manager without changing their names. For that you need to create a file called .hidden
in your home directory and write the names of the folders you want to hide in the .hidden
file.
In your case content of the ~/.hidden
file may be the following.
LoversInADangerousSpacetime
Larian Studios
My Games
and so.
answered Apr 23 at 15:45
![](https://i.stack.imgur.com/A4LiS.jpg?s=32&g=1)
![](https://i.stack.imgur.com/A4LiS.jpg?s=32&g=1)
pomsky
22.6k77096
22.6k77096
1
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
add a comment |Â
1
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
1
1
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
This doesn't completely answer my original question because it doesn't solve the hidden folder mess, so I'll wait a while before marking it as accepted answer. Regardless of that, using ".hidden" file (plus symlinks if wanted) at least stops less tech-savvy users (the rest of the family) from being confused by the excess of visible folders, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Paired with SLSK or symlinks this is an almost perfect workaround.
â Paulo Villi
Apr 24 at 16:37
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
@PauloVilli I would recommend not to mark it as the accepted answer so that others may be more interested to post alternative solutions in future.
â pomsky
Apr 24 at 16:41
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026977%2fneed-to-clean-user-home-folder-and-organize-game-folders-with-saves-configs-e%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
If your problem is only with the visible folders in home, you can simply hide them in file manager without changing their names.
â pomsky
Apr 21 at 16:22
1
@pomsky link: How can I hide directories without changing their names?
â wjandrea
Apr 21 at 18:21
Using ".hidden" file (plus symlinks if wanted) doesn't remove the messy folders but at least stops the rest of the family from being confused by the visible ones, so it is actually a good idea for now! Its a single file to maintain and I can easily back it up and move to a new system at reinstalls, if wanted. Thanks!
â Paulo Villi
Apr 23 at 3:19