xdg-user-dirs-gtk-update not working properly

Bug #1963902 reported by geole0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-user-dirs-gtk (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Hello.

It seems to me that the xdg-user-dirs-gtk-update command does nothing at all.

I want to change the location of the download directory.
So I move the directory with this command:
"mv -v /media/Common/a/Downloads /media/Common/a/BisDownloads"

Then I update my reference file with this command:
"xdg-user-dirs-update --set DOWNLOAD /media/Commun/a/DownloadsBis"

Then I think to inform the software that the directory has changed by doing this command:
"xdg-user-dirs-gtk-update"

But when initiating a download, it cannot be done with the error message "...unable to save because an unknown error has occurred...."

Also, the "files" application continues to reference the old directory as if no update had been made.

I have to log out and log back in to get everything working properly again.

On the other hand, would it be possible to modify the contents of the file "user-dirs.dirs"
to clearly say if the modification carried out by the command "xdg-user-dirs-update --set DOWNLOAD /media/Commun/a/TéléchargementsBis" is immediately carried out wherever necessary or if it is necessary to make another additional command or if it is necessary to wait for the next session launch because the message is not very understandable by saying only that the modifications are not lost.

 UBUNTU version 20.04

Thank you.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: evince 41.3-3
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 7 13:09:20 2022
InstallationDate: Installed on 2022-02-16 (18 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220216)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
geole0 (geole0) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What xdg-user-dirs-gtk-update is doing is that if the session locale is changed to another language it will suggest renaming the directories to words that make sense in the new language

affects: evince (Ubuntu) → xdg-user-dirs-gtk (Ubuntu)
Changed in xdg-user-dirs-gtk (Ubuntu):
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.