By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2732

Summary: wish option to not create unwanted directories in $HOME
Product: TDE Reporter: Felix Miata <mrmazda>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: enhancement CC: bugwatch, michele.calgaro, wofgdkncxojef
Priority: P5    
Version: R14.1.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2968    
Attachments: screenshot of automatic directory create window

Description Felix Miata 2016-11-30 16:45:32 CST
Created attachment 2745 [details]
screenshot of automatic directory create window

An option to keep $HOME free of empty, not-to-be-used directories would be welcome. Among the directories I do not use and would like to not have to see cluttering dirlists, MC panels and backup lists:

	Desktop
	Documents
	Downloads
	Music
	Pictures
	Templates
	Videos

TDE could at least by option only attempt to create such directories on the first ever session by a given user. Once deleted, session settings should remember instead of trying to create them anew with a window front and center on the desktop.
Comment 1 Felix Miata 2017-08-21 01:06:32 CDT
I'm able to avoid the annoyance by removing execute permissions from /opt/trinity/bin/kxdglauncher, but what's that going to break?
Comment 2 wofgdkncxojef 2018-05-23 21:34:23 CDT
The dialogues comes back repeatedly?
On my system, it annoys me a few times, then gives up for good.
No need for hacks.

It's normal to annoy you a few times, these are
important folders and must be defined.

Also you can set these paths in
control center > system administration > paths
Set then as home and you get what you want.
When it gives up, it silently does that.
Or you could have told it that directly.

I'll agree with you that the dialogs should
have been clearer.
Comment 3 Felix Miata 2018-05-23 22:23:49 CDT
(In reply to wofgdkncxojef from comment #2)
> The dialogues comes back repeatedly?

Normally once per session, but I typically keep sessions open so briefly in testing it's hard to be sure longer sessions don't result in them more often.

> these are important folders and must be defined.
 
I strongly disagree about the Windows clones. All my media files go either in a home directory called AV, and/or on some other filesystem than that hosting home.

Home is my space, not operating system space. Obviously it's necessary that personal app settings must be in home. That's fine as along as they stay hidden. It's not OK that anything create never to be used visible directories that I must continually have obfuscating what matters to me during personal file management.
Comment 4 wofgdkncxojef 2018-05-23 23:53:38 CDT
let me guess, you press ok
and then redeleting it manually?

You can press cancel 3 times, then it silently
redefines them as home, and never comes back.
You can also change them all to home before clicking ok.
And you can go in
control center > system administration > paths
And define all of them as home.

The above don't work?
When in paths they are defined as home, it definitely stops.
Comment 5 Michele Calgaro 2018-08-04 09:23:13 CDT
Felix, what is the status of this bug? I also can confirm there are no issue if you  have define your home folder in the Path section.
Comment 6 Felix Miata 2018-08-04 22:59:03 CDT
(In reply to wofgdkncxojef from comment #4)

When I first saw this response I was both busy and confused by it and busyness, so forgot about dealing with it.

> let me guess, you press ok
> and then redeleting it manually?
 
> You can press cancel 3 times, then it silently
> redefines them as home, and never comes back.

I normally ignore the popup, so it sits there for the duration of the session hiding under the Konsole window, and comes back fresh with a new session. I don't let those directories get created in the first place. Instead I created unwritable zero byte files with those names when the users' homedirs are created, so that they can't be used accidentally and lose an automatic download or accidental drag.

> You can also change them all to home before clicking ok.
> And you can go in
> control center > system administration > paths
> And define all of them as home.

How can this be done globally via configfile, without logging into each user's session? I have too many homedirs to remember to do this manually with each, even it it weren't too clumsy to do via GUI.
Comment 7 Michele Calgaro 2018-08-05 02:03:26 CDT
The settings are in ~/.config/user-dirs.dirs .
I will keep the bug open. It would be good to add a button to set all folders to $HOME by default :-)
Comment 8 Felix Miata 2018-08-05 02:49:02 CDT
(In reply to Michele Calgaro from comment #7)
> The settings are in ~/.config/user-dirs.dirs .

That does not answer "[h]ow can this be done globally", once per system (/etc/?) rather than individually for every user.
Comment 9 Michele Calgaro 2018-08-05 05:12:58 CDT
> That does not answer "[h]ow can this be done globally", once per system 
> (/etc/?) rather than individually for every user.
Sorry, I had not understood the question in that way.
I am not sure it can be done globally. Those variables are set "per user" and supposed to be different for each of them, given the home folder is different.
You can probably use a script that iterates through all users and replace those variables with $HOME, or something like that.