Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-06-18 21:16:49

davidd
Member
Registered: 2013-06-18
Posts: 2

debian after full upgrade theme icons missing

I miss a lot of icons, including the "close" "minimize" icons that normally are in the titlebars.
I tried this: but it did not work: http://askubuntu.com/questions/294834/s … el-missing

running debian sid

themeiconsmissing.png


k0e:/home/koe# aptitude search xfce
p   cairo-dock-xfce-integration-plug-in          - Cairo-dock - Xfce integration plug-in                 
p   desktopnova-module-xfce                      - Xfce module for DesktopNova                           
p   education-desktop-xfce                       - Debian Edu Xfce desktop applications                  
p   glade-xfce                                   - glade modules for xfce                                
i A gtk2-engines-xfce                            - GTK+-2.0 theme engine for Xfce                        
p   gtk3-engines-xfce                            - GTK+-3.0 theme engine for Xfce                        
c   libxfce4menu-0.1-0                           - freedesktop.org compliant menu implementation for Xfce
p   libxfce4menu-0.1-dbg                         - debugging symbols for libxfce4menu                    
p   libxfce4menu-0.1-dev                         - Development files for libxfce4menu                    
i A libxfce4ui-1-0                               - widget library for Xfce                               
p   libxfce4ui-1-dbg                             - debugging symbols for libxfce4ui                      
p   libxfce4ui-1-dev                             - Development files for libxfce4ui                      
i A libxfce4ui-utils                             - Utility files for libxfce4ui                          
p   libxfce4ui-utils-dbg                         - debugging symbols for libxfce4ui-utils                
i A libxfce4util-bin                             - tools for libxfce4util                                
i A libxfce4util-common                          - common files for libxfce4util                         
p   libxfce4util-dev                             - Development files for libxfce4util6                   
i A libxfce4util4                                - Utility functions library for Xfce4                   
p   libxfce4util4-dbg                            - debugging informations for libxfce4util4              
i A libxfce4util6                                - Utility functions library for Xfce4                   
p   libxfce4util6-dbg                            - debugging informations for libxfce4util6            
c   libxfcegui4-4                                - Basic GUI C functions for Xfce4                       
p   libxfcegui4-4-dbg                            - debugging informations for libxfcegui4                
p   libxfcegui4-dev                              - Development files for libxfcegui4-4                   
p   live-image-xfce-desktop                      - live-build configuration for the Xfce desktop live ima
p   task-xfce-desktop                            - Xfce desktop environment                              
i A xfce-keyboard-shortcuts                      - xfce keyboard shortcuts configuration                 
i   xfce4                                        - Meta-package for the Xfce Lightweight Desktop Environm
i A xfce4-appfinder                              - Application finder for the Xfce4 Desktop Environment  
i   xfce4-artwork                                - additional artwork for the Xfce4 Desktop Environment  
p   xfce4-battery-plugin                         - battery monitor plugin for the Xfce4 panel            
p   xfce4-cellmodem-plugin                       - cellular modem plugin for the Xfce4 panel             
p   xfce4-clipman                                - clipboard history utility                             
p   xfce4-clipman-plugin                         - clipboard history plugin for Xfce panel               
p   xfce4-cpufreq-plugin                         - cpufreq information plugin for the Xfce4 panel        
p   xfce4-cpugraph-plugin                        - CPU load graph plugin for the Xfce4 panel             
p   xfce4-datetime-plugin                        - date and time plugin for the Xfce4 panel              
p   xfce4-dbg                                    - meta-package for debugging symbols in Xfce            
p   xfce4-dev-tools                              - Script to help building Xfce from git                 
p   xfce4-dict                                   - Dictionary plugin for Xfce4 panel                     
p   xfce4-diskperf-plugin                        - disk performance display plugin for the Xfce4 panel   
p   xfce4-fsguard-plugin                         - filesystem monitor plugin for the Xfce4 panel         
p   xfce4-genmon-plugin                          - Generic Monitor for the Xfce4 panel                   
p   xfce4-goodies                                - enhancements for the Xfce4 Desktop Environment        
p   xfce4-hdaps                                  - plugin to indicate the status of HDAPS for the Xfce4 p
p   xfce4-indicator-plugin                       - plugin to display information from applications in the
p   xfce4-linelight-plugin                       - Search plugin for Xfce panel                          
p   xfce4-mailwatch-plugin                       - mail watcher plugin for the Xfce4 panel               
p   xfce4-messenger-plugin                       - Dbus messages plugin for xfce4-panel                  
i A xfce4-mixer                                  - Xfce mixer application                                
p   xfce4-mount-plugin                           - mount plugin for the Xfce4 panel                      
p   xfce4-mpc-plugin                             - Xfce panel plugin which serves as client for MPD music
p   xfce4-netload-plugin                         - network load monitor plugin for the Xfce4 panel 
p   xfce4-notes                                  - Notes application for the Xfce4 desktop               
p   xfce4-notes-plugin                           - Notes plugin for the Xfce4 desktop                    
i A xfce4-notifyd                                - simple, visually-appealing notification daemon for Xfc
i A xfce4-panel                                  - panel for Xfce4 desktop environment                   
p   xfce4-panel-dbg                              - debugging informations for xfce4-panel                
p   xfce4-panel-dev                              - Xfce4 panel development files                         
p   xfce4-places-plugin                          - quick access to folders, documents and removable media
p   xfce4-power-manager                          - power manager for Xfce desktop                        
p   xfce4-power-manager-data                     - power manager for Xfce desktop, arch-indep files      
p   xfce4-power-manager-plugins                  - power manager plugins for Xfce panel                  
p   xfce4-quicklauncher-plugin                   - rapid launcher plugin for the Xfce4 panel             
p   xfce4-radio-plugin                           - v4l radio control plugin for the Xfce4 panel          
p   xfce4-screenshooter                          - screenshots utility for Xfce                          
p   xfce4-screenshooter-plugin                   - transitional dummy package for xfce4-screenshooter    
p   xfce4-sensors-plugin                         - hardware sensors plugin for the Xfce4 panel           
i A xfce4-session                                - Xfce4 Session Manager                                 
p   xfce4-session-dbg                            - Xfce4 Session Manager (debug symbols)                 
i   xfce4-settings                               - graphical application for managing Xfce settings      
p   xfce4-smartbookmark-plugin                   - search the web via the Xfce4 panel                    
p   xfce4-systemload-plugin                      - system load monitor plugin for the Xfce4 panel        
p   xfce4-taskmanager                            - process manager for the Xfce4 Desktop Environment     
i   xfce4-terminal                               - Xfce terminal emulator                                
p   xfce4-terminal-dbg                           - Xfce terminal emulator - debugging symbols            
p   xfce4-timer-plugin                           - timer plugin for Xfce panel                           
c   xfce4-utils                                  - Various tools for Xfce                                
p   xfce4-verve-plugin                           - Verve (command line) plugin for Xfce panel            
i A xfce4-volumed                                - volume keys daemon                                    
p   xfce4-wavelan-plugin                         - wavelan status plugin for the Xfce4 panel             
p   xfce4-weather-plugin                         - weather information plugin for the Xfce4 panel        
p   xfce4-wmdock-plugin                          - Compatibility layer for running WindowMaker dockapps o
p   xfce4-xkb-plugin                             - xkb layout switch plugin for the Xfce4 panel     

Offline

#2 2013-06-19 12:11:18

davidd
Member
Registered: 2013-06-18
Posts: 2

Re: debian after full upgrade theme icons missing

appearantly the reboot fixed it overnight. some of the thing i did must have fixed it, because i had already rebooted twice after upgrading

Offline

#3 2013-06-25 19:15:13

nescribal
Member
Registered: 2013-06-25
Posts: 1

Re: debian after full upgrade theme icons missing

Hey, I'm having exactly the same problem.

Could you tell me what have you done?

thanks

Offline

#4 2015-12-22 00:58:41

P4
Member
From: Silesia
Registered: 2015-12-21
Posts: 3
Website

Re: debian after full upgrade theme icons missing

Hello.

An old thread I know, but it just happened to me on Debian Stretch (at this point of time a Debian Testing version so I excepted some minor bugs but so affecting and after 2+ years?) and Xfce4.12.2
I started to investigate my problem with missing icons in many places over the whole system (including desktop, some apps like VLC or Terminology, window decoration icons, default symbols like directory, Cairo-Dock Applications Menu, Lightdm Greeter and many other). This all leads me to think that it is related to GTK somehow.

Things worth noting:

  • jjacky.com's post and related bug report
    I would rather like to avoid messing the source-code up without in-depth context knowledge and rebuilding GTK libs on my own.

  • Running gtk-demo shouts the following: Q234hsVs.png and /usr/share/gtk-2.0/demo/gnome-fs-regular.png is just a standard PNG image data, 48 x 52, 8-bit/color RGBA, non-interlaced

  • On the other hand, running strace -f -s4096 -o Thunar-strace.log Thunar reports many ENOENT (No such file or directory) but those might be related with me trying tricks with gtk-update-icon-cache and other $HOME/.icons / $HOME/.local/share/icons moves. No idea.

The wallpaper is gone after this upgrade too…

I have blindly tried different paths mentioned here and there without any success yet.
Any suggestions for the fix are highly appreciate (maybe except for using timeshift backup from before today's dist-upgrade which I have available).
Encourage you to actively interchange ideas/solutions.

I'm thinking about locating, temporarily downgrading and marking the package that introduce all that shit to be on hold for the time it is resolved anyhow or a workaround is present (if you tell me to reinstall the whole OS from scratch then I switch back to Windows! wink JK, but to dwm at least tongue ).

By the way, hello on the Xfce forums! :-)

EDIT: fixed a path typo and removed manual signature

Last edited by P4 (2015-12-22 06:36:59)


Rgds,
P4.

Offline

#5 2015-12-22 01:29:05

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

Re: debian after full upgrade theme icons missing

Try updating the gdk-pixbf cache. As root:

gdk-pixbuf-query-loaders --update-cache

Log out and back in again to see if it helps.

It might also be good to clear your sessions cache when not logged in:

rm -rf ~/.cache/sessions

...this might fix those other pesky issues you are seeing.

And welcome to the forums.


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 ---

Online

#6 2015-12-22 07:04:59

P4
Member
From: Silesia
Registered: 2015-12-21
Posts: 3
Website

Re: debian after full upgrade theme icons missing

Thanks for a quick reply, ToZ.

I logged out, switched to tty1 for root, called gdk-pixbuf-query-loaders --update-cache, validate updated /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache, fixed permissions to include a+r (my default umask made the file readable only by root), restarted lightdm service, logged in on tty7 as user. Nothing changed.
Then I logged out and repeated the process again removing user session cache directory in the first step. Sadly nothing changed either. sad

I also found ~/.xsession-errors to include among other things like:

…
(xfce4-session:5872): xfce4-session-WARNING **: xfsm_manager_load_session: Something wrong with /home/user/.cache/sessions/xfce4-session-LOE:0, Does it exist? Permissions issue?
…
(xfdesktop:5904): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Unrecognized image file format

(wrapper-1.0:6008): weather-WARNING **: Failed to open fallback icon from standard theme: /usr/share/xfce4/weather/icons/liquid/22/nodata.png

(wrapper-1.0:6008): weather-WARNING **: No default icon theme? This should not happen, plugin will crash!
…
(wrapper-1.0:6008): Gtk-CRITICAL **: IA__gtk_image_set_from_pixbuf: assertion 'GTK_IS_IMAGE (image)' failed
…

Basically a lot of errors loading theme icons with unrecognized format and assertion image fails.
The session folder is empty but I believe it dumps data with a logout.
I don't think this log is any helpful… sad

Let me know if I can check other places for logs or any other ideas, please.

EDIT: That's strange that when I change Icon sets in Appearance Settings e.g. from Tango to Monochrome some of them restores (like the desktop Home and Filesystem)
Appearance Settings

Last edited by P4 (2015-12-22 07:29:17)


Rgds,
P4.

Offline

#7 2015-12-22 11:47:54

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

Re: debian after full upgrade theme icons missing

Try reinstalling the librsvg package and updating your mime database:

update-mime-database ~/.local/share/mime

If this doesn't help, can you post back your ~/.gtkrc-2.0 file (if one exists) and /etc/gtk-2.0/gtkrc (if one exists).

And finally, create a new user and log in as that user. That will help you to see if its a system problem or a user-specific problem.


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 ---

Online

#8 2015-12-26 18:30:03

P4
Member
From: Silesia
Registered: 2015-12-21
Posts: 3
Website

Re: debian after full upgrade theme icons missing

I appreciate your input very much, ToZ. Thank you for that.
However I already resolved the icons issue and I am not exactly sure how.
I simply reviewed packages that I had installed on my system and purged almost all non-crucial one (including XFCE4 stuff) leaving only base system in place.
Then I have rebooted my box, deborphaned the remnants and started installing only those debs which I really require.
That leaded me to have XFCE with no bugs again.

I'm sorry that I gave up investigating the real root cause of this issue but I found it more appropriate to clean my box, specifically before the New Year. ;-)

Thanks for the great desktop environment and hope to stay on the forums active (but due to problems NOT) :-)

Merry Christmas and a happy New Year! (-:


Rgds,
P4.

Offline

#9 2016-03-26 06:14:03

laceybeck982
Member
Registered: 2016-03-26
Posts: 1

Re: debian after full upgrade theme icons missing

Thanks for sharing this great information.....

Harsimrat Kaur Badal

Offline

#10 2017-10-20 03:14:22

randalhoctor
Member
Registered: 2017-10-20
Posts: 3

Re: debian after full upgrade theme icons missing

"And finally, create a new user and log in as that user. That will help you to see if its a system problem or a user-specific problem." -member ToZ

After upgrading Debian 8.9 to 9.2 (and therefore xfce 4.10 to 4.12) all dark themes in menus showed white letters on a nearly white background.

So, I created a new user and everything was ok. Themes like xfce-dusk worked! Great

Then I switched to Plasma (KDE) in LightDM login, and then back to the xfce DE and the menus were wrong again.

I read somewhere that xfce and KDE share elements, and the this can cause issues with GTK2 and GTK3.?

I'm stuck and would be thankful for some help. cool

Offline

#11 2017-10-20 20:20:07

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

Re: debian after full upgrade theme icons missing

Check the contents of your ~/.gtkrc-2.0 and ~/.config/gtk-3.0/gtk.css files. Is plasma adding content there when it's run?


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 ---

Online

#12 2017-10-21 04:07:39

randalhoctor
Member
Registered: 2017-10-20
Posts: 3

Re: debian after full upgrade theme icons missing

xfce dark them issue Debian 9.2, xfdesktop-version-4.10.3, GTK 3.22.11-1, GTK 2.24.31-2

This is an upgrade from Debian 8.9. It wasn't an issue in 8.9

I created 2 new users: rsr4 and rsr5
I made xfce-dusk the theme for both. Logged out and in. OK. I logged rsr4 into Plasma (KDE) then back into xfce and the application menues were
white text on white background. rsr5 was not effected by rsr4 logging into Plasma.

The difference seems to be Plasma added a bunch of stuff to user folder

Hard to find the files. Found this (Ubuntu)
~/.themes/[your theme]/gtk-2.0/gtkrc
and
/home/rsr2 (username)/.gtkrc-2.0

for gtk-3.0:
I got a bunch of hits Catfish search gtk-3.0
/home/rsr2 (username)/.config/gtk-3.0/ but nothing but "bookmarks"
found this:
I looked in /usr/share/themes and /usr/share/themes/xfwm4  ?
found this:
/home/rsr (username)/.config/gtk-3.0/settings.ini

DATA

rsr4:
/usr/share/themes/Breeze/gtk-2.0/gtkrc

style
 
"user-font"
{
    font_name="Noto Sans Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Noto Sans Regular 10"
gtk-theme-name="Breeze"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1

[Note: Breeze is a plasma theme]

##The theme in question in xfce
~/.themes/xfce-dusk/gtk-2.0/gtkrc

style "default"
{
    GtkButton::default_border                    = {0, 0, 0, 0}
    GtkButton::default_outside_border            = {0, 0, 0, 0}
    GtkButton::child_displacement_x              = 0
    GtkButton::child_displacement_y              = 1
    GtkButton::default_spacing                   = 4
    GtkButton::focus-padding                     = 0
    GtkCheckButton::indicator_size               = 8
    GtkMenuBar::internal-padding                 = 1
    GtkMenuBar::shadow_type                      = out
    GtkHandleBox::shadow_type                    = out
    GtkMenuItem::selected_shadow_type            = etched-in
    GtkPaned::handle_full_size                   = 1
    GtkPaned::handle_size                        = 4
    GtkRadioButton::indicator_size               = 10
    GtkRange::slider_width                       = 12
    GtkRange::stepper_size                       = 10
    GtkRange::stepper_spacing                    = 0
    GtkRange::trough_border                      = 0
    GtkScrollbar::has_backward_stepper           = 1
    GtkScrollbar::has_secondary_backward_stepper = 0
    GtkScrollbar::min_slider_length              = 10
    GtkToolbar::shadow_type                      = out
    GtkWidget::focus-line-width                  = 1
    GtkWidget::focus_padding                     = 1 
    GtkWidget::interior_focus                    = 1 
    GtkWidget::internal_padding                  = 2 
    GtkEntry::cursor_color                       = "#fcfcfc"
    GtkEntry::secondary_cursor_color             = "#fcfcfc"
    GtkTextView::cursor_color                    = "#fcfcfc"
    GtkTextView::secondary_cursor_color          = "#fcfcfc"
    GtkEntry::cursor_aspect_ratio                = 0.1
    GtkEntry::cursor_aspect_ratio                = 0.1
    
    xthickness             = 1
    ythickness             = 1


    base[ACTIVE]      = "#2f519a"
    base[INSENSITIVE] = "#303030"
    base[NORMAL]      = "#121212"
    base[PRELIGHT]    = "#002849"
    base[SELECTED]    = "#003263"

    bg[ACTIVE]        = "#151515"
    bg[INSENSITIVE]   = "#303030"
    bg[NORMAL]        = "#232323"
    bg[PRELIGHT]      = "#003263"
    bg[SELECTED]      = "#002849"

    fg[ACTIVE]        = "#dadada"
    fg[INSENSITIVE]   = "#151515"
    fg[NORMAL]        = "#ffffff"
    fg[PRELIGHT]      = "#fcfcfc"
    fg[SELECTED]      = "#fcfcfc"

    text[ACTIVE]      = "#fcfcfc"
    text[INSENSITIVE] = "#fcfcfc"
    text[NORMAL]      = "#fcfcfc"
    text[PRELIGHT]    = "#fcfcfc"
    text[SELECTED]    = "#fcfcfc"

    engine "xfce" 
    {
	smooth_edge = true
        boxfill
        {
            fill_style = plain
        }
    }
}
widget_class "*"                   style "default"

style "menustyle" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*BonoboDockItem"     style "menustyle"
class "*BonoboDockItem"            style "menustyle"
widget_class "*ToolBar"            style "menustyle"
class "*ToolBar"                   style "menustyle"
widget_class "*MenuBar"            style "menustyle"
class "*MenuBar"                   style "menustyle"

style "button" = "default"
{
    xthickness = 2
    ythickness = 2

    engine "xfce" 
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
widget_class "*Button*"            style "button"
class "*Button*"                   style "button"
widget_class "*button*"            style "button"
class "*button*"                   style "button"
widget_class "*OptionMenu*"        style "button"
class "*OptionMenu*"               style "button"
# widget_class "*Tree*"            style "button"
# class "*Tree*"                   style "button"
# widget_class "*GtkScale*"        style "button"
# class "*GtkScale*"               style "button"

style "sbstyle" = "default"
{
    xthickness = 2
    ythickness = 2
    engine "xfce" 
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
widget_class "*Scrollbar*"         style "sbstyle"
class "*Scrollbar*"                style "sbstyle"
widget_class "*GtkScale*"          style "sbstyle"
class "*GtkScale*"                 style "sbstyle"

style "progress" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*GtkProgress*"       style "progress" 
class "*GtkProgress*"              style "progress" 

style "menuitem" = "default"
{
    xthickness = 1
    ythickness = 2
}

widget_class "*MenuItem*"          style "menuitem"
class "*MenuItem*"                 style "menuitem"

style "flat" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*HandleBox"         style "flat"

# This is for the window borders (xfwm4 & metacity)
# 
style "titlebar"
{
    bg[SELECTED]      = "#003263"
    fg[SELECTED]      = "#ffffff"
    bg[INSENSITIVE]   = "#002849"
    fg[INSENSITIVE]   = "#9a9ada"
}
widget "xfwm"                      style "titlebar"
class "MetaFrames"                 style "titlebar"
widget_class "MetaFrames"          style "titlebar"

/home/rsr4/.config/gtk-3.0/settings.ini

[Settings]
gtk-font-name=Noto Sans 10
gtk-theme-name=Breeze
gtk-icon-theme-name=breeze
gtk-fallback-icon-theme=gnome
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1

## xfce themes seem to have .ini files or less commonly .css (like -notify- themes) The effected themes are dark like xfce-dusk, which has an .ini gtk 2.0 file. The Plasma seem to have the .css

rsr5: never had a Plasma luanch has no /home/rsr4/.config/gtk-3.0/

ToZ: added code tags

Last edited by ToZ (2017-10-21 17:19:55)

Offline

#13 2017-10-21 05:49:11

randalhoctor
Member
Registered: 2017-10-20
Posts: 3

Re: debian after full upgrade theme icons missing

I found a work-around by accident.
I installed Vertex (Vertetx-Dark) This has gtk 2&3 components.
It doesn't fix the other dark themes, but I've always like Vertex anyway.
I haven't been able to break it. I'll see how it does after Cinnamon and Enlightenment. But it looks solid.
The only caveat is that buttons do the white on white thing when I mouse-over.

Offline

#14 2017-10-21 17:21:28

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

Re: debian after full upgrade theme icons missing

Try deleting (or renaming) the /home/rsr4/.config/gtk-3.0/settings.ini file. It looks like plasma is setting the theme to Breeze there and it may be affecting the system.


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 ---

Online

Board footer

Powered by FluxBB