Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-02-06 14:07:33

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

[SOLVED] the gtk selected theme does not work

uname -a
Linux francescopc 4.19.95-1-lts #1 SMP Sun, 12 Jan 2020 12:15:22 +0000 x86_64 GNU/Linux
[francesco@francescopc ~]$ sudo pacman -Qi xfce4-settings
Nome                      : xfce4-settings
Versione                  : 4.14.2-1
sudo pacman -Qi xfce4-panel
Nome                      : xfce4-panel
Versione                  : 4.14.3-1

like title, xfce does not change GTK theme; no thunar, no panel has new appareance...

and no Transparent background for icon titles

~/.gtkrc-2.0

style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 10
    base[NORMAL] = "#000000"
    base[SELECTED] = "#71B9FF"
    base[ACTIVE] = "#71B9FF"
    fg[NORMAL] = "#fcfcfc"
    fg[SELECTED] = "#ffffff"
    fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

The compositore is started.
I Restore default settings, but don't work!

when THunar runs as root, the theme is ok

sudo thunar
[sudo] password di francesco: 
thunar: Failed to initialize Xfconf: Error spawning command line ?dbus-launch --autolaunch=ccc47a8df8bb4b49b550f07a54a6bd3f --binary-syntax --close-stderr?: Child process exited with code 1


(thunar:135139): thunar-WARNING **: 22:40:13.207: Nome "org.xfce.FileManager" perso nel messaggio dbus.

(thunar:135139): thunar-WARNING **: 22:40:13.207: Nome "org.freedesktop.FileManager1" perso nel messaggio dbus.
ThunarThumbnailer: failed to create proxy: Errore nell'eseguire lo spawn della riga di comando «dbus-launch --autolaunch=ccc47a8df8bb4b49b550f07a54a6bd3f --binary-syntax --close-stderr»: Processo figlio uscito con codice 1
gksu dbus-launch thunar 
 gksu/dbus-launch 'thunar'/14528-0-francescopc_TIME0
gksu-run: d685a7bde7ec68b64b2c120e51204934

dbus[14596]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
export | grep gtk
declare -x GTK_MODULES="canberra-gtk-module:canberra-gtk-module"
[1]+  Completato              thunar --daemon

any idea?
Thanks

Last edited by francesco_dem (2020-02-13 15:51:00)

Offline

#2 2020-02-06 18:06:35

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

Re: [SOLVED] the gtk selected theme does not work

francesco_dem wrote:
uname -a
Linux francescopc 4.19.95-1-lts #1 SMP Sun, 12 Jan 2020 12:15:22 +0000 x86_64 GNU/Linux
[francesco@francescopc ~]$ sudo pacman -Qi xfce4-settings
Nome                      : xfce4-settings
Versione                  : 4.14.2-1
sudo pacman -Qi xfce4-panel
Nome                      : xfce4-panel
Versione                  : 4.14.3-1

like title, xfce does not change GTK theme; no thunar, no panel has new appareance...

and no Transparent background for icon titles

~/.gtkrc-2.0

style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 10
    base[NORMAL] = "#000000"
    base[SELECTED] = "#71B9FF"
    base[ACTIVE] = "#71B9FF"
    fg[NORMAL] = "#fcfcfc"
    fg[SELECTED] = "#ffffff"
    fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

The compositore is started.
I Restore default settings, but don't work!

when THunar runs as root, the theme is ok

sudo thunar
[sudo] password di francesco: 
thunar: Failed to initialize Xfconf: Error spawning command line ?dbus-launch --autolaunch=ccc47a8df8bb4b49b550f07a54a6bd3f --binary-syntax --close-stderr?: Child process exited with code 1


(thunar:135139): thunar-WARNING **: 22:40:13.207: Nome "org.xfce.FileManager" perso nel messaggio dbus.

(thunar:135139): thunar-WARNING **: 22:40:13.207: Nome "org.freedesktop.FileManager1" perso nel messaggio dbus.
ThunarThumbnailer: failed to create proxy: Errore nell'eseguire lo spawn della riga di comando «dbus-launch --autolaunch=ccc47a8df8bb4b49b550f07a54a6bd3f --binary-syntax --close-stderr»: Processo figlio uscito con codice 1
gksu dbus-launch thunar 
 gksu/dbus-launch 'thunar'/14528-0-francescopc_TIME0
gksu-run: d685a7bde7ec68b64b2c120e51204934

dbus[14596]: Unable to set up transient service directory: XDG_RUNTIME_DIR "/run/user/1000" is owned by uid 1000, not our uid 0
env | grep DBUS
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
export | grep gtk
declare -x GTK_MODULES="canberra-gtk-module:canberra-gtk-module"
[1]+  Completato              thunar --daemon

any idea?
Thanks

Francesco,
with the information you posted, it looks like you are using XFCE 4.14. This uses GTK3 management for all applications.
GTK2 has been dropped.

The previous version, XFCE 4.12, used GTK 2. This made use of gtk.rc (or resource) files.

For version 4.14, you will need to download and use GTK3 themes instead of GTK2.

Offline

#3 2020-02-06 19:26:32

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

Hi Aravisian, the problem is present in any theme, gtk2 and gtk3.
the theme works only when thunar runs as root, and only for the themes in /usr/share/themes

Istantanea-2020-02-06-19-19-37.png

in the picture, thunar "root" on the right takes the current theme.

Last edited by francesco_dem (2020-02-06 19:31:13)

Offline

#4 2020-02-06 22:34:34

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,272

Re: [SOLVED] the gtk selected theme does not work

Do you have any content in ~/.gtkrc-2.0 or ~/.config/gtk-3.0/settings.ini that might be overwritting the selected theme?

Also, what does the following return:

xfconf-query -c xsettings -lv

Offline

#5 2020-02-07 08:01:45

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

Re: [SOLVED] the gtk selected theme does not work

francesco_dem wrote:

Hi Aravisian, the problem is present in any theme, gtk2 and gtk3.
the theme works only when thunar runs as root, and only for the themes in /usr/share/themes

https://i.ibb.co/9WnJ42q/Istantanea-2020-02-06-19-19-37.png

in the picture, thunar "root" on the right takes the current theme.

Which Distro are you using?
Did you install the theme and if so, did you install it from terminal with Elevated Privileges?
Have you tried using chmod and moving the theme files to ~/.themes folder and restarting?

Offline

#6 2020-02-07 16:34:29

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

ToZ wrote:

Do you have any content in ~/.gtkrc-2.0 or ~/.config/gtk-3.0/settings.ini that might be overwritting the selected theme?

Also, what does the following return:

xfconf-query -c xsettings -lv


~/.gtkrc-2.0 is not present

~/.config/gtk-3.0/settings

[Settings]
gtk-application-prefer-dark-theme=false
gtk-theme-name=Zukitwo
gtk-fallback-icon-theme=gnome
gtk-icon-theme-name=Adwaita++-Light
gtk-font-name=Sans 10

gtk-cursor-theme-name=Hacked-Sky
gtk-cursor-theme-size=16
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none

No overwritting the selected them, i set Adapta
So for ~/.config/gtk-3.0/settings I'd must have a  Zukitwo.
But i have no Adapta no Zukitwo

Also, what does the following return:

xfconf-query -c xsettings -lv
/Gdk/WindowScalingFactor        1
/Gtk/ButtonImages               true
/Gtk/CanChangeAccels            false
/Gtk/ColorPalette               black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90
/Gtk/CursorThemeName            Hacked-Sky
/Gtk/CursorThemeSize            0
/Gtk/DecorationLayout           menu:minimize,maximize,close
/Gtk/FontName                   Sans 10
/Gtk/IconSizes                  
/Gtk/KeyThemeName               
/Gtk/MenuBarAccel               F10
/Gtk/MenuImages                 true
/Gtk/MonospaceFontName          Monospace 10
/Gtk/ToolbarIconSize            3
/Gtk/ToolbarStyle               icons
/Net/CursorBlink                true
/Net/CursorBlinkTime            1200
/Net/DndDragThreshold           8
/Net/DoubleClickDistance        5
/Net/DoubleClickTime            400
/Net/EnableEventSounds          false
/Net/EnableInputFeedbackSounds  false
/Net/IconThemeName              Adwaita++-Light
/Net/SoundThemeName             default
/Net/ThemeName                  Adapta
/Xfce/LastCustomDPI             96
/Xft/Antialias                  1
/Xft/DPI                        96
/Xft/Hinting                    -1
/Xft/HintStyle                  hintfull
/Xft/RGBA                       none
 

/Net/ThemeName                  Adapta, infact i use adapta ma doesn't work fine

Last edited by francesco_dem (2020-02-07 16:35:19)

Offline

#7 2020-02-07 16:51:11

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

Which Distro are you using?
Did you install the theme and if so, did you install it from terminal with Elevated Privileges?
Have you tried using chmod and moving the theme files to ~/.themes folder and restarting?

Which Distro are you using?
Archlinux 4.19.101-1-lts

Did you install the theme and if so, did you install it from terminal with Elevated Privileges?

Some theme with terminal and some theme downloaded from www.xfce-look.org and past in ~/.theme

Have you tried using chmod and moving the theme files to ~/.themes folder and restarting?
No,but i now post the permission

 ls -l /home/francesco/.themes/
totale 380
drwxr-xr-x  3 francesco users  4096 30 gen  2015  Afterpiece
drwxr-xr-x  3 francesco users  4096 26 apr  2017  ArchedgeUI
drwxr-xr-x  3 francesco users  4096 26 apr  2017 'ArchedgeUI 32px'
drwxr-xr-x  3 francesco users  4096 16 ott  2009  axis
drwxr-xr-x  3 francesco users  4096  7 dic  2013  Darksun
-rwx------  1 francesco users 18326 24 set  2018  GPL-v2
drwxr-xr-x  3 francesco users  4096 14 nov  2014  greenWindows
drwxr-xr-x  3 francesco users  4096 11 ott  2013  Greybird-compact
drwxr-xr-x  8 francesco users  4096 15 gen 21.41 'Greybird dark'
drwxr-xr-x  3 francesco users  4096  1 feb  2015 'Greybird Dark OB'
drwxr-xr-x 13 francesco users  4096 15 gen 21.41 'Greybird light'
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Black
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Blue
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Brown
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-DarkSlateGrey
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Green
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-LightBlue
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Orange
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Pink
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Purple
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Red
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-SeaGreen
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Silver
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Violet
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Thin-Yellow
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Black
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Blue
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Brown
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-DarkSlateGrey
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Green
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-LightBlue
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Orange
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Pink
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Purple
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Red
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-SeaGreen
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Silver
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Violet
drwxr-xr-x  3 francesco users  4096 19 set  2017  G-Talkie-Wide-Yellow
drwxr-xr-x 11 francesco users  4096 16 mag  2017  Hedera
drwxr-xr-x  8 francesco users  4096 16 mag  2017 'Hedera Contrast'
drwxr-xr-x  4 francesco users  4096 16 mag  2017 'Hedera Darker'
-rwx------  1 francesco users  5956 24 set  2018  HISTORY
drwxr-xr-x 10 francesco users  4096 20 nov 18.45  Marwaita
drwxr-xr-x  8 francesco users  4096 20 nov 18.45 'Marwaita Dark'
drwxr-xr-x  3 francesco users  4096 26 ott  2014  Mistral
drwxr-xr-x  9 francesco users  4096 30 gen 14.55  Mojave-dark
drwxr-xr-x  9 francesco users  4096 30 gen 14.55  Mojave-light
drwxr-xr-x  7 francesco users  4096 19 nov  2018  Nordic
drwxr-xr-x  7 francesco users  4096 19 nov  2018  Nordic-Polar
drwxr-xr-x  7 francesco users  4096 19 nov  2018  Nordic-Polar-standard-buttons
drwxr-xr-x  7 francesco users  4096 19 nov  2018  Nordic-standard-buttons
drwxr-xr-x  8 francesco users  4096  5 gen 21.33 'Numix Arctic'
drwxr-xr-x  7 francesco users  4096 12 nov  2016  Numix-Flatisma
drwxr-xr-x  7 francesco users  4096 26 ott  2013  NumixHolo
drwxr-xr-x  6 francesco users  4096 16 dic  2016  Numix-Vaganza
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE'
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE blue'
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE green'
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE orange'
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE red'
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE violet'
drwxr-xr-x  3 francesco users  4096  4 mag  2018 'OneColor XFCE yellow'
drwxr-xr-x  3 francesco users  4096 24 ago  2015  oranchelo-alternate
drwxr-xr-x  8 francesco users  4096 30 set  2015 'Oranchelo Classic'
drwxr-xr-x  3 francesco users  4096  1 ott  2015 'Oranchelo Classic Normal'
drwxr-xr-x  3 francesco users  4096  6 set  2015  Oranchelo-phizos
drwxr-xr-x  6 francesco users  4096 29 giu  2018  plane
drwxr-xr-x  6 francesco users  4096 29 giu  2018 'plane dark'
drwxr-xr-x  3 francesco users  4096 13 apr  2017  Plano-Blue
drwxr-xr-x  3 francesco users  4096 13 apr  2017  Plano-Dark
drwxr-xr-x  3 francesco users  4096 13 apr  2017  Plano-fixed
drwxrwxr-x  3 francesco users  4096 28 giu  2018  Plano-Fixed
drwxrwxr-x  3 francesco users  4096 28 giu  2018  Plano-Modern
drwxrwxr-x  3 francesco users  4096 28 giu  2018  Plano-Modern-Dark
drwx------  7 francesco users  4096 24 apr  2017  plano-theme-master
drwxr-xr-x  5 francesco users  4096 14 gen  2018  PRO-dark-XFCE
-rwx------  1 francesco users  2412 24 set  2018  README
-rw-rw-r--  1 francesco users 22143  2 dic  2014  README-Manual.txt
drwxr-xr-x  8 francesco users  4096 16 feb  2018  Sierra-light
drwxr-xr-x  5 francesco users  4096 12 apr  2018  Titanium
drwxr-xr-x  2 francesco users  4096  5 gen 21.31  xfdashboard-1.0
drwx------  5 francesco users  4096  4 dic  2016  Zukitre
drwxr-xr-x  3 francesco users  4096 16 dic  2016  Zukitre-Dark
drwxr-xr-x  3 francesco users  4096  7 dic  2016  Zukitre-Dark-square
ls -l /usr/share/themes/
totale 504
drwxr-xr-x 15 root root 4096 15 nov  2018  Adapta
drwxr-xr-x  7 root root 4096 15 nov  2018  Adapta-Eta
drwxr-xr-x 10 root root 4096 15 nov  2018  Adapta-Nokto
drwxr-xr-x  7 root root 4096 15 nov  2018  Adapta-Nokto-Eta
drwxr-xr-x  3 root root 4096 29 apr  2012  Adept
drwxr-xr-x  4 root root 4096 25 mar  2018  Adwaita
drwxr-xr-x  4 root root 4096 25 mar  2018  Adwaita-dark
drwxr-xr-x  3 root root 4096 29 apr  2012  Agua
drwxr-xr-x  3 root root 4096 29 apr  2012  Agualemon
drwxr-xr-x  3 root root 4096 29 apr  2012  Alternate
drwxr-xr-x 11 root root 4096 23 set 16.09  Arc
drwxr-xr-x 11 root root 4096 23 set 16.09  Arc-Dark
drwxr-xr-x  9 root root 4096 23 set 16.09  Arc-Darker
drwxr-xr-x  3 root root 4096  7 giu  2018  Atlanta
drwxr-xr-x  3 root root 4096  7 giu  2018  Atlanta2
drwxr-xr-x  3 root root 4096  7 giu  2018  B5
drwxr-xr-x  3 root root 4096  7 giu  2018  B6
drwxr-xr-x  3 root root 4096 29 apr  2012  Basix
drwxr-xr-x  3 root root 4096 29 apr  2012  BBS
drwxr-xr-x  3 root root 4096 29 apr  2012  Beastie
drwxr-xr-x  3 root root 4096 29 apr  2012  Biz
drwxr-xr-x  3 root root 4096 29 apr  2012  Blackwall
drwxr-xr-x  3 root root 4096 10 set  2016  Bright
drwxr-xr-x  3 root root 4096 29 apr  2012  Buzz
drwxr-xr-x  6 root root 4096  6 feb 22.01  Candra-Theme-3.20
drwxr-xr-x  4 root root 4096  6 feb 22.01  Candra-Theme-3.20-Dark
drwxr-xr-x  3 root root 4096 14 giu  2016  Clearlooks
drwxr-xr-x  3 root root 4096 29 apr  2012  Coldsteel
drwxr-xr-x  3 root root 4096 29 apr  2012  Coolclean
drwxr-xr-x  4 root root 4096  7 giu  2018  Crux
drwxr-xr-x  3 root root 4096 29 apr  2012  Cruxish
drwxr-xr-x  3 root root 4096 29 apr  2012  Curve
drwxr-xr-x  3 root root 4096  5 mag  2013  Daloa
drwxr-xr-x  6 root root 4096 27 dic 21.54  Default
drwxr-xr-x  3 root root 4096 29 apr  2012  Default-4.0
drwxr-xr-x  3 root root 4096 29 apr  2012  Default-4.2
drwxr-xr-x  3 root root 4096 29 apr  2012  Default-4.4
drwxr-xr-x  3 root root 4096 29 apr  2012  Default-4.6
drwxr-xr-x  3 root root 4096 29 apr  2012  Default-4.8
drwxr-xr-x  3 root root 4096  1 mar  2015  Default-hdpi
drwxr-xr-x  3 root root 4096  1 mar  2015  Default-xhdpi
drwxr-xr-x  3 root root 4096 29 apr  2012  Defcon-IV
drwxr-xr-x  3 root root 4096 29 apr  2012  Eazel-blue
drwxr-xr-x  3 root root 4096 29 apr  2012  Elberg
drwxr-xr-x  4 root root 4096  4 giu  2013  Emacs
drwxr-xr-x  3 root root 4096 29 apr  2012  Exocet
drwxr-xr-x  3 root root 4096 29 apr  2012  Fbx
drwxr-xr-x  3 root root 4096 29 apr  2012  G2
drwxr-xr-x  3 root root 4096 29 apr  2012  Galaxy
drwxr-xr-x  3 root root 4096 29 apr  2012  Gaudy
drwxr-xr-x  3 root root 4096 29 apr  2012  Gelly
drwxr-xr-x  3 root root 4096 29 apr  2012  Gnububble
drwxr-xr-x  3 root root 4096 29 apr  2012  Gorilla
drwxr-xr-x  3 root root 4096 29 apr  2012  Gtk
drwxr-xr-x  4 root root 4096 25 mar  2018  HighContrast
drwxr-xr-x  3 root root 4096 29 apr  2012  Iceg
drwxr-xr-x  3 root root 4096 14 giu  2016  Industrial
drwxr-xr-x  3 root root 4096 29 apr  2012  Kde
drwxr-xr-x  3 root root 4096 29 apr  2012  Kde1
drwxr-xr-x  3 root root 4096 29 apr  2012  Keramik
drwxr-xr-x  3 root root 4096 29 apr  2012  Kindaker
drwxr-xr-x  3 root root 4096 29 apr  2012  Kleanux
drwxr-xr-x  3 root root 4096  5 mag  2013  Kokodi
drwxr-xr-x  3 root root 4096 29 apr  2012  Koynacity
drwxr-xr-x  3 root root 4096 29 apr  2012  Linea
drwxr-xr-x  3 root root 4096 29 apr  2012  LineArt
drwxr-xr-x  3 root root 4096 29 apr  2012  Meenee
drwxr-xr-x  3 root root 4096 26 giu  2014  Metabox
drwxr-xr-x  3 root root 4096 29 apr  2012  Microcurve
drwxr-xr-x  3 root root 4096 29 apr  2012  Microdeck
drwxr-xr-x  3 root root 4096 29 apr  2012  Microdeck2
drwxr-xr-x  3 root root 4096 29 apr  2012  Microdeck3
drwxr-xr-x  3 root root 4096 29 apr  2012  Microgui
drwxr-xr-x  3 root root 4096 14 giu  2016  Mist
drwxr-xr-x  3 root root 4096 29 apr  2012  Mofit
drwxr-xr-x  3 root root 4096  5 mag  2013  Moheli
drwxr-xr-x  3 root root 4096 29 apr  2012  Next
drwxr-xr-x 11 root root 4096 12 ott  2017  Numix
drwxr-xr-x  3 root root 4096 29 apr  2012  Ops
drwxr-xr-x  3 root root 4096 29 apr  2012  Opta
drwxr-xr-x  3 root root 4096 29 apr  2012  Oroborus
drwxr-xr-x  3 root root 4096 29 apr  2012  Perl
drwxr-xr-x  3 root root 4096 29 apr  2012  Pills
drwxr-xr-x  3 root root 4096 29 apr  2012  Piranha
drwxr-xr-x  3 root root 4096 29 apr  2012  Platinum
drwxr-xr-x  3 root root 4096 29 apr  2012  Prune
drwxr-xr-x  3 root root 4096 29 apr  2012  Quiet-purple
drwxr-xr-x  3 root root 4096 29 apr  2012  Quinx
drwxr-xr-x  3 root root 4096 29 apr  2012  R9X
drwxr-xr-x  3 root root 4096 13 mag  2013  Raleigh
drwxr-xr-x  4 root root 4096 14 mag  2017  Redmond
drwxr-xr-x  3 root root 4096 29 apr  2012  RedmondXP
drwxr-xr-x  4 root root 4096 10 set  2016  Retro
drwxr-xr-x  3 root root 4096 29 apr  2012  Sassandra
drwxr-xr-x  3 root root 4096 29 apr  2012  Silverado
drwxr-xr-x  3 root root 4096 29 apr  2012  Slick
drwxr-xr-x  3 root root 4096 29 apr  2012  Slimline
drwxr-xr-x  3 root root 4096 29 apr  2012  Smallscreen
drwxr-xr-x  3 root root 4096  8 mag  2013  Smoke
drwxr-xr-x  3 root root 4096 29 apr  2012  Smoothwall
drwxr-xr-x  3 root root 4096 29 apr  2012  Stoneage
drwxr-xr-x  3 root root 4096 29 apr  2012  Symphony
drwxr-xr-x  3 root root 4096 29 apr  2012  Synthetic
drwxr-xr-x  3 root root 4096 29 apr  2012  Tabs
drwxr-xr-x  3 root root 4096 29 apr  2012  Tgc
drwxr-xr-x  3 root root 4096 29 apr  2012  Tgc-large
drwxr-xr-x  3 root root 4096 29 apr  2012  Therapy
drwxr-xr-x  3 root root 4096 14 giu  2016  ThinIce
drwxr-xr-x  3 root root 4096 29 apr  2012  Today
drwxr-xr-x  3 root root 4096 29 apr  2012  Totem
drwxr-xr-x  3 root root 4096 29 apr  2012  Trench
drwxr-xr-x  3 root root 4096 29 apr  2012  Triviality
drwxr-xr-x  3 root root 4096 29 apr  2012  Tubular
drwxr-xr-x  3 root root 4096 29 apr  2012  TUX
drwxr-xr-x  3 root root 4096 29 apr  2012  Tyrex
drwxr-xr-x  3 root root 4096 29 apr  2012  Variation
drwxr-xr-x  3 root root 4096 29 apr  2012  Wallis
drwxr-xr-x  3 root root 4096 29 apr  2012  Waza
drwxr-xr-x  3 root root 4096 29 apr  2012  Wildbush
drwxr-xr-x  3 root root 4096 27 dic 21.30  Xfce
drwxr-xr-x  3 root root 4096  8 mag  2013 'ZOMG-PONIES!'
drwxr-xr-x  3 root root 4096 15 nov 22.07  Zuki-shell
drwxr-xr-x  5 root root 4096 10 gen 19.35  Zukitre
drwxr-xr-x  5 root root 4096 10 gen 19.35  Zukitre-dark
drwxr-xr-x  5 root root 4096 10 gen 19.35  Zukitwo
drwxr-xr-x  5 root root 4096 10 gen 19.35  Zukitwo-dark

Last edited by francesco_dem (2020-02-07 16:52:08)

Offline

#8 2020-02-07 18:47:49

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,272

Re: [SOLVED] the gtk selected theme does not work

Rename settings.ini to settings.ini.BAK and relogin. You should be able to change themes then. You'll need to set any of the other settings that you want to keep in the xfce settings manager.

Offline

#9 2020-02-07 19:16:36

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

ToZ wrote:

Rename settings.ini to settings.ini.BAK and relogin. You should be able to change themes then. You'll need to set any of the other settings that you want to keep in the xfce settings manager.

Sorry, but doesn't work.
same problem!

Offline

#10 2020-02-07 19:20:26

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,272

Re: [SOLVED] the gtk selected theme does not work

Can you post back:

whoami
ps -ef | grep xf

and try running the following command to change the theme:

xfconf-query -c xsettings -p /Net/ThemeName -s Adwaita-dark

...to see if it changes the theme.

Offline

#11 2020-02-07 21:14:31

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

ToZ wrote:

Can you post back:

whoami
ps -ef | grep xf

and try running the following command to change the theme:

xfconf-query -c xsettings -p /Net/ThemeName -s Adwaita-dark

...to see if it changes the theme.

whoami

francesco

ps -ef | grep xf

 frances+     551     505  0 22:07 ?        00:00:00 xfce4-session
frances+     607     539  0 22:07 ?        00:00:00 /usr/lib/xfce4/xfconf/xfconfd
frances+     642     551  1 22:07 ?        00:00:02 xfwm4
frances+     648       1  0 22:07 ?        00:00:00 xfsettingsd
frances+     649     551  0 22:07 ?        00:00:01 xfce4-panel
frances+     667     551  1 22:07 ?        00:00:02 xfdesktop
frances+     697     551  0 22:07 ?        00:00:00 xfce4-screensaver
frances+     722       1  0 22:07 ?        00:00:00 xfce4-power-manager
frances+     725     539  0 22:07 ?        00:00:00 /usr/lib/xfce4/notifyd/xfce4-notifyd
frances+     846     649  0 22:07 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 14680071 systray Area di notifica Area in cui compaiono le icone di notifica
frances+     847     649  0 22:07 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 8 14680072 pulseaudio Componente aggiuntivo PulseAudio Controlla il volume del suono per il sistema sonoro PulseAudio
frances+     848     649  0 22:07 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libweather.so 7 14680073 weather Aggiornamento meteorologico Mostra le condizioni meteo attuali
frances+     849     649  0 22:07 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 9 14680074 power-manager-plugin Componente aggiuntivo del gestore dell'energia Mostra il livello di carica dei dispositivi e controlla la luminosità dello schermo
frances+     850     649  0 22:07 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotification-plugin.so 10 14680075 notification-plugin Componente aggiuntivo delle notifiche Componente aggiuntivo delle notifiche per il pannello Xfce
frances+     860     649  0 22:07 ?        00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libthunar-tpa.so 4 14680076 thunar-tpa Applet cestino Mostra il cestino
frances+    2047       1  2 22:09 ?        00:00:01 /usr/bin/xfce4-terminal
frances+    3048    2069  0 22:09 pts/0    00:00:00 grep --color=auto xf

xfconf-query -c xsettings -p /Net/ThemeName -s Adwaita-dark

 no effect, same problem 

hmm

Offline

#12 2020-02-07 22:01:07

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

Re: [SOLVED] the gtk selected theme does not work

Francesco, when you login, there is the option to login on different desktops. Could you check to ensure your login did not change without you noticing?
For example, logging in on "'desktop' with Wayland."

Offline

#13 2020-02-08 13:28:00

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

Aravisian wrote:

Francesco, when you login, there is the option to login on different desktops. Could you check to ensure your login did not change without you noticing?
For example, logging in on "'desktop' with Wayland."

No Aravisian, i use SLIM like Display manager

My ~/.xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# exec wmaker
# exec icewm
# exec blackbox
# exec fluxbox
# exec openbox-session
# ...or the Window Manager of your choice
exec startxfce4
 


If i changhe the theme with xfce4-settings-manager from terminal

(xfce4-settings-manager:24468): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:172:54: Using one color stop with linear-gradient() is deprecated.

(xfce4-appearance-settings:24513): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:172:54: Using one color stop with linear-gradient() is deprecated.

(xfce4-settings-manager:24468): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:220:64: Using one color stop with linear-gradient() is deprecated.

(xfce4-appearance-settings:24513): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:220:64: Using one color stop with linear-gradient() is deprecated.
 

Last edited by francesco_dem (2020-02-08 13:56:52)

Offline

#14 2020-02-08 23:03:54

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

Re: [SOLVED] the gtk selected theme does not work

francesco_dem wrote:

If i change the theme with xfce4-settings-manager from terminal

(xfce4-settings-manager:24468): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:172:54: Using one color stop with linear-gradient() is deprecated.

(xfce4-appearance-settings:24513): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:172:54: Using one color stop with linear-gradient() is deprecated.

(xfce4-settings-manager:24468): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:220:64: Using one color stop with linear-gradient() is deprecated.

(xfce4-appearance-settings:24513): Gtk-WARNING **: 14:34:32.525: Theme parsing error: gtk-contained.css:220:64: Using one color stop with linear-gradient() is deprecated.
 

Those warnings are nothing to worry about, really. It merely is saying certain entries are being ignored because those features have been deprecated and are no longer being used. It is easy to fix by adjusting the .css file for the theme.
But they won't cause the theme to not work entirely.

When you change the theme from terminal, does it take effect on the user account and enable the theme in Thunar?

Offline

#15 2020-02-09 09:08:03

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

aravisian wrote:

When you change the theme from terminal, does it take effect on the user account and enable the theme in Thunar?

unfortunately no effect! Only when Thunar runs as root, the theme is ok

Offline

#16 2020-02-09 17:21:51

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

Re: [SOLVED] the gtk selected theme does not work

Can the group setting of users on ~/.themes be causing this? My ~/.themes is $USER:$USER

ls -l /home/francesco/.themes/
totale 380
drwxr-xr-x  3 francesco users  4096 30 gen  2015  Afterpiece
drwxr-xr-x  3 francesco users  4096 26 apr  2017  ArchedgeUI
drwxr-xr-x  3 francesco users  4096 26 apr  2017 'ArchedgeUI 32px'
...

Offline

#17 2020-02-09 17:36:59

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

Re: [SOLVED] the gtk selected theme does not work

francesco, I am stumped. neutral
As long as the theme is located in your home folder under .themes, it should take priority over what appears across your environment. To have it backwards as is your situation, is a very Odd Occurrence.
Let's hope this thread attracts smarter members than me that can help resolve it. In the meantime, I will do some digging and searching and see if I can redeem myself, at all...

EDIT: Mr. Een was posting at the same time as I was and with a very good suggestion. See? Smarter people.

Last edited by Aravisian (2020-02-09 17:38:14)

Offline

#18 2020-02-09 17:52:14

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

Re: [SOLVED] the gtk selected theme does not work

Well, for a quick test, this will change the contents to what my system has:

sudo chown -Rc $USER:$USER ~/.themes

If that doesn't fix it and you want to revert the change, use this:

sudo chown -Rc $USER:users ~/.themes

Offline

#19 2020-02-09 18:11:23

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

Re: [SOLVED] the gtk selected theme does not work

If the above works, I'm suspecting there may be more permissions issues that may not have presented themselves yet. Running graphical applications with sudo can lots of issues like this (I assume that to be true of Arch as well) and other methods should be user to run them such as pkexec, gksudo if the distro still uses it, or appname admin:///path/to/file/to/open

This command changes everything in your home directory to your username/groupname that is usually what is desired:

sudo chown -Rc $USER:$USER $HOME

I have zero experience with Arch, so ToZ (or others) may correct me on any of the above.

EDIT: And these commands should be run in a normal terminal window, not one where you're logged in as root.

Last edited by MrEen (2020-02-09 18:13:04)

Offline

#20 2020-02-09 19:46:00

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

MrEen wrote:

Well, for a quick test, this will change the contents to what my system has:

sudo chown -Rc $USER:$USER ~/.themes

If that doesn't fix it and you want to revert the change, use this:

sudo chown -Rc $USER:users ~/.themes

first of all I want to say thank you to all of you.

Now,
sudo chown -Rc $USER:$USER ~/.themes
             I have this error

chown: gruppo non valido: "francesco:francesco"
 

and i have the same error also with
sudo chown -Rc $USER:$USER $HOME

chown: gruppo non valido: "francesco:francesco"
 

                                                                                                                  If It coul be useful

 stat -c %U ~/.themes
francesco
 stat -c %G ~/.themes
users
 tat -c %A ~/.themes
drwxr-xr-x
  groups francesco
sys lp wheel games network video audio storage scanner sambashare plugdev users

Also i think that is a problem of permission

Offline

#21 2020-02-09 19:51:49

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

Re: [SOLVED] the gtk selected theme does not work

I'm afraid this is beyond my level. On Mint, the default user name is also the default group name.

An Arch user will be able to assist with this I'm sure.

Offline

#22 2020-02-09 20:19:54

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

MrEen wrote:

I'm afraid this is beyond my level. On Mint, the default user name is also the default group name.

An Arch user will be able to assist with this I'm sure.

 

$USER is a normal user o is a Root?


what should have done this command-

sudo chown -Rc $USER:$USER ~/.themes

I try to fix it by reading the arch wiki

Offline

#23 2020-02-09 21:18:31

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,272

Re: [SOLVED] the gtk selected theme does not work

Interesting that you don't have a francesco group - it should be created by default when you create a new user in Arch. For example:

$ ls -l /home
total 12
drwx------ 77 toz toz 12288 Feb  8 18:37 toz
...
$ sudo useradd -m -s/bin/bash -G wheel test
...
$ ls -l /home
total 16
drwx------  2 tony tony  4096 Feb  9 16:08 test
drwx------ 77 toz  toz  12288 Feb  8 18:37 toz

Make sure that the themes you want to use have at least a gtk-3.0 folder with appropriate files. For example, what does the following return:

ls -l ~/.themes/Afterpiece

Googling for "AfterPiece" returns this link. If this is the theme you are using, please note that it is an openbox window manager theme - it won't work in Xfce.

Offline

#24 2020-02-10 17:53:20

francesco_dem
Member
From: Napoli, Italy
Registered: 2020-02-06
Posts: 15

Re: [SOLVED] the gtk selected theme does not work

ToZ wrote:

Make sure that the themes you want to use have at least a gtk-3.0 folder with appropriate files. For example, what does the following return:

ls -l ~/.themes/Afterpiece

Googling for "AfterPiece" returns this link. If this is the theme you are using, please note that it is an openbox window manager theme - it won't work in Xfce.

yes, i know it! infact in Hedera Theme, there is gtk3.0 folder, but anyway doesn't work

ls -l ~/.themes/Hedera
totale 44
drwxr-xr-x 2 francesco users 4096 16 mag  2017 balou
-rw-r--r-- 1 francesco users  216  6 mag  2017 basicwp.png
drwxr-xr-x 3 francesco users 4096 16 mag  2017 gtk-2.0
drwxr-xr-x 2 francesco users 4096 16 mag  2017 gtk-3.0
-rw-r--r-- 1 francesco users  746  6 mag  2017 index.theme
drwxr-xr-x 2 francesco users 4096 16 mag  2017 metacity-1
drwxr-xr-x 2 francesco users 4096 16 mag  2017 openbox-3
drwxr-xr-x 2 francesco users 4096 16 mag  2017 unity
drwxr-xr-x 2 francesco users 4096 16 mag  2017 xfce-notify-4.0
drwxr-xr-x 2 francesco users 4096 16 mag  2017 xfdashboard-1.0 

and for example also in  /usr/share/themes/Adapta/

 ls -l /usr/share/themes/Adapta/
totale 116
drwxr-xr-x  3 root root  4096 15 nov  2018 cinnamon
-rw-r--r--  1 root root 18092 14 nov  2018 COPYING
drwxr-xr-x  2 root root  4096 15 nov  2018 gedit
drwxr-xr-x  4 root root  4096 15 nov  2018 gnome-shell
drwxr-xr-x 16 root root  4096 15 nov  2018 gtk-2.0
drwxr-xr-x  2 root root  4096 15 nov  2018 gtk-3.0
drwxr-xr-x  2 root root  4096 15 nov  2018 gtk-3.22
drwxr-xr-x  2 root root  4096 15 nov  2018 gtk-3.24
-rw-r--r--  1 root root   275 14 nov  2018 index.theme
-rw-r--r--  1 root root 20133 14 nov  2018 LICENSE_CC_BY_SA4
drwxr-xr-x  2 root root  4096 15 nov  2018 metacity-1
drwxr-xr-x  2 root root  4096 15 nov  2018 openbox-3
drwxr-xr-x  2 root root  4096 15 nov  2018 plank
-rw-r--r--  1 root root 19503 14 nov  2018 README.md
drwxr-xr-x  2 root root  4096 15 nov  2018 telegram
drwxr-xr-x  2 root root  4096 15 nov  2018 xfce-notify-4.0
drwxr-xr-x  2 root root  4096 15 nov  2018 xfwm4

but doesn't work.

ToZ wrote:

Interesting that you don't have a francesco group - it should be created by default when you create a new user in Arch. For example:

$ ls -l /home
total 12
drwx------ 77 toz toz 12288 Feb  8 18:37 toz
...
$ sudo useradd -m -s/bin/bash -G wheel test
...
$ ls -l /home
total 16
drwx------  2 tony tony  4096 Feb  9 16:08 test
drwx------ 77 toz  toz  12288 Feb  8 18:37 toz

I don't know how it is possible. Do I have to create a group "francesco" for user "francesco" like your "toz toz"?
Can i do it?

Offline

#25 2020-02-10 19:19:08

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 6,272

Re: [SOLVED] the gtk selected theme does not work

It's really strange that changing themes doesn't work on your system.

Can you create another user, log in as that user, copy over some themes and see if it works there?

Offline

Board footer

Powered by FluxBB