Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-09-16 08:55:39

sushi
Member
Registered: 2019-04-22
Posts: 81

[SOLVED] xdg users folders wrong icons theme.

Hi,

The users folders (Music, Videos, Documents, Images) installed by xdg are not displayed with my default theme but with adwaita or gnome.

On Archlinux up to date :

xdg-user-dirs 0.17-2
xdg-utils 1.1.3+18+g0547886-1

In ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml, the theme is the right one but  :

In /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml it's Adwaita !

Any idee to correct this ?

Thank you.

Last edited by sushi (2019-09-18 08:03:28)

Offline

#2 2019-09-16 23:16:41

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] xdg users folders wrong icons theme.

sushi wrote:

The users folders (Music, Videos, Documents, Images) installed by xdg are not displayed with my default theme but with adwaita or gnome.

So the folder icons are not correct with your default theme, but they are correct with Adwaita or gnome? Which GTK (Appearance) theme are you using? Which icon theme are you using? Can you post a screenshot?

In ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml, the theme is the right one but  :

In /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml it's Adwaita !

The copy in your .config folder will take precedence over the one in /etc/xdg.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-09-17 05:59:58

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] xdg users folders wrong icons theme.

Hi ToZ,

Thanks! I use hydroxygen icons theme and only the folder made by xdg are not correct (Music, Videos, Documents, Images) as you can see on the screenshot below :

1568701726.png

Offline

#4 2019-09-17 06:15:26

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: [SOLVED] xdg users folders wrong icons theme.

sushi wrote:

Hi ToZ,

Thanks! I use hydroxygen icons theme and only the folder made by xdg are not correct (Music, Videos, Documents, Images) as you can see on the screenshot below :

http://pix.toile-libre.org/upload/thumb/1568701726.png

Have you checked  your home .config folder for user-dirs.dir?
~ /$USER/.config/user-dirs.dirs
Within you should see something like this:

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Publicshare"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

You may also check if you have an icon in your Hydrogen theme for "inode-directory."

Last edited by Aravisian (2019-09-17 06:18:07)

Offline

#5 2019-09-17 06:28:34

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] xdg users folders wrong icons theme.

Hi Aravasian,

Thanks, Yes I have the inode-directory and here is my ~/.config/user-dirs.dirs :

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Musique"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Vidéos"

The only one created by xdg that match my default theme is the "Desktop" folder and is the only one that is in english in user-dirs.dirs  (maybe a language problem with xdg ?)

Offline

#6 2019-09-17 07:50:55

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: [SOLVED] xdg users folders wrong icons theme.

sushi wrote:

Hi Aravasian,

Thanks, Yes I have the inode-directory and here is my ~/.config/user-dirs.dirs :

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Musique"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Vidéos"

The only one created by xdg that match my default theme is the "Desktop" folder and is the only one that is in english in user-dirs.dirs  (maybe a language problem with xdg ?)

That looks right.
This may be a dumb question but... Does your Hydrogen Icon theme contain the User folders? You might check if the Language Names are correct: folder-musique.png ; folder-music.png
Have you checked the index.theme to ensure that the directory list matches the folder contents?
I could only find one download for Hydrogen Icon theme and it is well over ten years old. It may need updating.

Last edited by Aravisian (2019-09-17 07:51:52)

Offline

#7 2019-09-17 08:48:53

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] xdg users folders wrong icons theme.

"the User folders" what do you mean ?

I have updated the theme myself because the names where not right and I have the same os and theme working on my laptop.

I have tried to delete the folder Videos to see if xdg is recreating it as it should but nothing happened nor by rebooting nor by xdg-user-dirs-update command ! So, somethings wrong on my system. These are the packages related to xdg :

xdg-user-dirs 0.17-2

xdg-utils 1.1.3+18+g0547886-1

Does it need xdg-user-dirs-gtk to ? On my working laptop it's not installed.

Edit :

I don't know why the folders with the right names haven't been copied to my desktop from the laptop but this was the problem. I still can't regenerate the folder Videos ! If I put :

XDG_VIDEOS_DIR="$HOME/ Vidéos"

And do :

xdg-user-dirs-update

I get :

/home/$USER/Videos was removed, reassigning VIDEOS to homedir

But as soon as done I get XDG_VIDEOS_DIR="$HOME/ " in ~/.config/usr-dirs.dirs and no videos folder is created !!!

Last edited by sushi (2019-09-17 10:07:32)

Offline

#8 2019-09-17 23:20:43

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: [SOLVED] xdg users folders wrong icons theme.

sushi wrote:

"the User folders" what do you mean ?

Edit :

I don't know why the folders with the right names haven't been copied to my desktop from the laptop but this was the problem.

You answered your own question.;)

sushi wrote:

I still can't regenerate the folder Videos ! If I put :

XDG_VIDEOS_DIR="$HOME/ Vidéos"

And do :

xdg-user-dirs-update

I get :

/home/$USER/Videos was removed, reassigning VIDEOS to homedir

But as soon as done I get XDG_VIDEOS_DIR="$HOME/ " in ~/.config/usr-dirs.dirs and no videos folder is created !!!

I am seeing an accent mark in
XDG_VIDEOS_DIR="$HOME/ Vidéos
but not in
/home/$USER/Videos was removed, reassigning VIDEOS to homedir

I do not know if it actually makes a difference, but could you please try making all references to the folder name uniform and see if it is then recognized?

Offline

#9 2019-09-17 23:26:12

MrEen
Member
Registered: 2019-04-19
Posts: 295

Re: [SOLVED] xdg users folders wrong icons theme.

sushi wrote:

I don't know why the folders with the right names haven't been copied to my desktop from the laptop but this was the problem. I still can't regenerate the folder Videos ! If I put :

XDG_VIDEOS_DIR="$HOME/ Vidéos"

And do :

xdg-user-dirs-update

I get :

/home/$USER/Videos was removed, reassigning VIDEOS to homedir

But as soon as done I get XDG_VIDEOS_DIR="$HOME/ " in ~/.config/usr-dirs.dirs and no videos folder is created !!!

I'll bet that space is the issue there: XDG_VIDEOS_DIR="$HOME/ Vidéos" instead of XDG_VIDEOS_DIR="$HOME/Vidéos"

Offline

#10 2019-09-17 23:55:20

Aravisian
Member
Registered: 2019-08-17
Posts: 410

Re: [SOLVED] xdg users folders wrong icons theme.

MrEen wrote:
sushi wrote:

I don't know why the folders with the right names haven't been copied to my desktop from the laptop but this was the problem. I still can't regenerate the folder Videos ! If I put :

XDG_VIDEOS_DIR="$HOME/ Vidéos"

And do :

xdg-user-dirs-update

I get :

/home/$USER/Videos was removed, reassigning VIDEOS to homedir

But as soon as done I get XDG_VIDEOS_DIR="$HOME/ " in ~/.config/usr-dirs.dirs and no videos folder is created !!!

I'll bet that space is the issue there: XDG_VIDEOS_DIR="$HOME/ Vidéos" instead of XDG_VIDEOS_DIR="$HOME/Vidéos"

Good eye, MrEen. If it was a snake, it would have bit me. Thanks for that. I hope that helps Sushi solve the issue.

Offline

#11 2019-09-18 08:17:11

sushi
Member
Registered: 2019-04-22
Posts: 81

Re: [SOLVED] xdg users folders wrong icons theme.

Hi,

Thanks to all of you ! I don't know if the space is the reason because the other folders haven't any space as you can see :

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Musique"
XDG_PICTURES_DIR="$HOME/Images"
XDG_VIDEOS_DIR="$HOME/Vidéos"

Anyway, I could solve the problem by manually creating a folder Vidéos in thunar and this morning I got the right folder (with the image of videos) and this in users-dirs.dirs (as you can see, without space) :

XDG_VIDEOS_DIR="$HOME/Vidéos"

Don't ask me how but it's solved.

Offline

Board footer

Powered by FluxBB