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

            Bug ID: 464460
           Summary: Support environmental variables in Places
    Classification: Applications
           Product: dolphin
           Version: 21.12.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: panels: folders
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: la...@oisher.net
                CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY
Support environmental variables as part of Places links.  Consider an
environmental variable named "CurrentYear" which is set with the current year
in a file under /etc/porofile.d, a link in Places could be created with name
"$CurrentYear" and reference "$HOME/Data/$CurrentYear"

STEPS TO REPRODUCE
1. Assign CurrentYear in /etc/profile.d file
2. Create Place with name "$CurrentYear" and reference
"$HOME/Data/$CurrentYear"
3. Places entry would be updated appropriately when Dolphin loads

OBSERVED RESULT
Created entries are static

EXPECTED RESULT
Dynamic palces

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: N/A
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Could also be done in $HOME//.local/share/user-places.xbel as follows:
 <bookmark href="file://$HOME/Data/$CurrentYear">
  <title>$CurrentYear</title>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to