[dolphin] [Bug 467169] New: Question: Cant integrate $USER Directories in user-places.xbel

gonanza bugzilla_noreply at kde.org
Fri Mar 10 19:32:00 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=467169

            Bug ID: 467169
           Summary: Question: Cant integrate $USER Directories in
                    user-places.xbel
    Classification: Applications
           Product: dolphin
           Version: 22.12.3
          Platform: Debian testing
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: bars: location
          Assignee: dolphin-bugs-null at kde.org
          Reporter: gonanza at ulm-dsl.de
                CC: kfm-devel at kde.org
  Target Milestone: ---

-pSUMMARY
***
In order to supply system-wide, future-open defaults (/etc/skel) I want to
include something like a generic $HOME-variable (or $USER) in the
user-places.xbel: f.e. should a places-bookmark point to the Documents-folder
of the current user. 
Currently, only hard-coded folder-links like <bookmark
href="file:///home/xyz/Documents"> (for user 'XYZ') seem to be supported, how
could one alter the file to get something like <bookmark
href="file:///$HOME/Documents">? Or is it possible to edit the defaults that
create user-places.xbel in the first place when this file does not exist f.e.
when a new user is added and the user-space gets populated automatically?

***


STEPS TO REPRODUCE
1. add new user to system (f.e. 'xyz')
2. dolphin creates user-places.xbel (from defaults)
3. edit this file pointing to $USER or $HOME (f.e. as default-file usable in
/etc/skel) 

OBSERVED RESULT
when testing an altered user-places.xbel with $USER or $HOME in it on the
current user, the according entries give errors or ar not visible anymore (and
you cannot reuse the file for other users because you have to hard-code links
to the user-directory)

EXPECTED RESULT
user-places.xbel should be open for inclusion of entries working with $USER or
$HOME (dolphin itself does find $USER, but not when clicking on the edited
'place'.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: debian testing
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list