Use localized/xdg Desktop folder automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Kupfer can't find my Desktop folder because it's named differently based on locale settings.
Lazy users may expect that Kupfer is smart enough to detect it automatically.
The method you suggested on bug report LP: #462332 works for me.
Error [kupfer.data] SourceController: Loading Desktop raised an exception:
Traceback (most recent call last):
File "/usr/share/
source.
File "/usr/share/
self.
File "/usr/share/
seq = seq if isinstance(seq, list) else list(seq)
File "/usr/share/
for fname in os.listdir(
OSError: [Errno 2] Nessun file o directory: '/home/
Error [kupfer.data] SourceController: This error is probably a bug in Desktop
Error [kupfer.data] SourceController: Please file a bug report
Changed in kupfer: | |
status: | Fix Committed → Fix Released |
This is a bug in the default configuration rather than in Kupfer's, so my boring maintainer answer is: we'll change the default configuration for next release and make the default directories just the home directory (that would be a minimal assumption).
After that we can add code to read the special user settings, and add USER_DIRECTORY_ DESKTOP to the defaults.
The output there that you are pasting is part of a change so that Kupfer will detect errors early, and disable the malfunctioning parts -- you should be able to continue using Kupfer, but "Desktop" won't be visible. Did it work, could you continue using kupfer?