View previous topic :: View next topic |
Author |
Message |
FrancoisVal Tux's lil' helper
Joined: 12 May 2005 Posts: 86 Location: Namur, Belgique
|
Posted: Thu Nov 21, 2024 8:27 pm Post subject: [SOLVED] Problem to create a folder in KDE 6. |
|
|
Maybe I am blind but I wonder how it is possible to create a new folder now in KDE 6. If I click on "Create new", the list of all the folders of my home directory appears and there is a no choice to create a new folder. If I chose one of the folders and a name, a directory is created with a copy of the files in the original directory.
How is this possible ? Why such a basic operation has become so compilcated ?
Here is a link to a screenshot: https://pasteboard.co/eUxsPV6eogiW.png
Has anyone also noticed this ? _________________ François Valenduc
Last edited by FrancoisVal on Fri Nov 22, 2024 6:25 am; edited 1 time in total |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 426
|
Posted: Thu Nov 21, 2024 11:00 pm Post subject: |
|
|
I cannot replicate this. In Dolphin, when selecting File > +Create New > and then clicking on the top item 'Folder . . . CTRL+SHIFT+ N' a dialog box pops up --
'Create New Folder - Dolphin'. There is a editable dialog box as well that uses the default folder name 'New Folder' that is highlighted allowing for editing of the new folder name. You can also do this by right clicking anywhere on the display pane and selecting create new from the context menu.
If you have a lot of directories/folders in the current directory, the top item in the context menu 'Folder . . . CTRL+SHIFT+N' may not be visible depending on your display resolution or scaling. Try creating the new directory in an empty directory ( or one that contains fewer to no items) and moving it to where you would like as a workaround.
You can also hit 'F4' to open a terminal in Dolphin at the current directory location and use 'mkdir <foldername>' to create the directory manually. |
|
Back to top |
|
|
steve_v Guru
Joined: 20 Jun 2004 Posts: 411 Location: New Zealand
|
Posted: Fri Nov 22, 2024 3:08 am Post subject: |
|
|
https://bugs.kde.org/show_bug.cgi?id=494679
TLDR: Set XDG_TEMPLATES_DIR to some empty directory (i.e. not $HOME) _________________ Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy. |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 426
|
Posted: Fri Nov 22, 2024 4:10 am Post subject: |
|
|
Per that bug, you can change XDG_TEMPLATES_DIR="$HOME/" to XDG_TEMPLATES_DIR="" in ~/.config/user-dirs.dirs if the auto populating of the home directory is actually causing the sub-context menu entry 'Folder . . . CTRL+SHIFT+ N' to be obscured or demoted due to excessive number of items in the context menu. It will definitely reduce the size of the context menu on the screen and take up less space, hopefully bringing the +Create > Folder option into view if that is the cause. |
|
Back to top |
|
|
FrancoisVal Tux's lil' helper
Joined: 12 May 2005 Posts: 86 Location: Namur, Belgique
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3436 Location: Canada
|
Posted: Fri Nov 22, 2024 9:40 am Post subject: |
|
|
rab0171610 wrote: | Per that bug, you can change XDG_TEMPLATES_DIR="$HOME/" to XDG_TEMPLATES_DIR="" in ~/.config/user-dirs.dirs if the auto populating of the home directory is actually causing the sub-context menu entry 'Folder . . . CTRL+SHIFT+ N' to be obscured or demoted due to excessive number of items in the context menu. It will definitely reduce the size of the context menu on the screen and take up less space, hopefully bringing the +Create > Folder option into view if that is the cause. |
After reading the bug, I am trying to understand what having a template even means for creating a directory. In what use case do you want the new directory to be anything but empty ?
Last edited by dmpogo on Fri Nov 22, 2024 10:53 pm; edited 1 time in total |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 426
|
Posted: Fri Nov 22, 2024 3:30 pm Post subject: |
|
|
I don't really know what the Templates directory that is placed in the home directories after KDE Plamsa installation or upgrade is actually for. I don't use any kind of templates so I delete it. I can only assume in this context it works like the default naming scheme 'New Folder', 'New Folder1', 'New Folder2'. Instead you can name a folder similar to one that is already named by clicking the name of that directory in the context sub-menu of create a new folder, and then edit it slightly to distinguish. Otherwise it adds the numbers at the end automatically, 1, 2, 3 etc. 'Data', 'Data 1', 'Data 2'. Or one can add an identifying suffix, 'Data-Jack', 'Data-Jill', 'Data-Jeff' by editing the name in the dialog box that pops up when creating a new folder. That is purely conjecture on my part from testing the context menu to create new folders with template directory set to the home directory. Maybe a template would allow the default suffix of 1, 2, 3 to be changed to something more meaningful, i.e A, B, C, etc.. This would only be helpful if creating directories often or multiple directories, for say like alphabetizing music or videos into sub-directories. |
|
Back to top |
|
|
steve_v Guru
Joined: 20 Jun 2004 Posts: 411 Location: New Zealand
|
Posted: Fri Nov 22, 2024 6:13 pm Post subject: |
|
|
AFAIK it's supposed to contain files, e.g. a 'simple html.html' could contain some headers or whatever, and you'd see it as an option for create new -> simple html file.
Personally I wish the whole xdg_user_dirs concept would just die in a fire, I know where I keep my stuff and I don't need or want my home directory polluted with "well known" directories like "Music", "Pictures", "Documents", "Downloads" or any other such trash. I really have no use for "templates" either, for that matter.
The whole thing is just the usual pandering to pathologically indecisive and disorganised ex-windows/mobile-generation users who can't decide on a logical directory structure for themselves. _________________ Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy. |
|
Back to top |
|
|
|