[dolphin] [Bug 464460] New: Support environmental variables in Places
Larry
bugzilla_noreply at kde.org
Wed Jan 18 14:30:11 GMT 2023
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-null at kde.org
Reporter: Larry at Oisher.Net
CC: kfm-devel at 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 on the CC list for the bug.
More information about the kfm-devel
mailing list