You are not logged in.

#1 2021-10-17 16:54:32

AirsoftHamster
Member
Registered: 2020-11-10
Posts: 74

Icons not properly displaying

Info:
WM: Openbox (not LXDE)
Panel: Tint2
Icon theme: A custom one based off of Papirus-Dark, located in ~/.icons/Garf

Problems:
Default icon (see below) appears instead of the proper icon with Simplify3D and Spotify.
Default Icont
Spotify is interesting because the proper icon loads when it's starting up, but It switches to the default icon once it is done loading.
Spotify and Simplify3D both are installed in /opt and their respective folders contain icons, and not even these are showing up.

What I have tried:
Running xprop on spotify and Simplify3D and naming their icons in ~/.icons/Garf to the value of _NET_WM_VISIBLE_ICON_NAME(UTF8_STRING)
Switching icon themes off of my custom one

I'm at a loss at this point. Am I doing something wrong? All my icons for other apps work, it's these 2 that don't work.

Offline

#2 2021-10-17 20:22:40

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: Icons not properly displaying

I don't believe /opt is searched for icons. You can try copying the icons of Spotify and Simplify3D to ~/.local/share/icons/hicolor/scalable/apps (if they're scalable, otherwise you should probably move them to the directory of the respective size). Hicolor is always searched for icons, regardless of theme

Offline

#3 2021-10-17 21:51:09

AirsoftHamster
Member
Registered: 2020-11-10
Posts: 74

Re: Icons not properly displaying

TheStroyer wrote:

I don't believe /opt is searched for icons.

This is correct, I should have clarified that after I installed the apps, they put their own icons inside their respective folders in /opt.

TheStroyer wrote:

You can try copying the icons of Spotify and Simplify3D to ~/.local/share/icons/hicolor/scalable/apps (if they're scalable, otherwise you should probably move them to the directory of the respective size). Hicolor is always searched for icons, regardless of theme

I tried this and it sadly did not work. The icons of Spotify show up in my rofi menu where I have icons enabled, and as I close the app in my tint2 panel. Even after specifying the full path to an icon for Simplify3D in it's .desktop file in /usr/share/applications, it still does not display in the panel or in my rofi menu.

Offline

#4 2021-10-17 22:06:01

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: Icons not properly displaying

What are the exact location of the icons that don't show up?
And what does the debug log of tint2 say?
This issue from tint2 is probably related.

Last edited by TheStroyer (2021-10-17 22:11:02)

Offline

#5 2021-10-18 03:45:16

AirsoftHamster
Member
Registered: 2020-11-10
Posts: 74

Re: Icons not properly displaying

Icons for Spotify are in:
/home/greembow/.icons/Garf/32x32/apps/spotify.png (custom)
/home/greembow/.icons/Garf/32x32/apps/Spotify.png (custom)
/usr/share/icons/hicolor/32x32/apps/spotify.png (custom)
/usr/share/icons/hicolor/32x32/apps/Spotify.png (custom)
/opt/spotify/icons/spotify_icon.ico
/opt/spotify/icons/spotify-linux-16.png
/opt/spotify/icons/spotify-linux-22.png
/opt/spotify/icons/spotify-linux-24.png
/opt/spotify/icons/spotify-linux-32.png
/opt/spotify/icons/spotify-linux-48.png
/opt/spotify/icons/spotify-linux-64.png
/opt/spotify/icons/spotify-linux-128.png
/opt/spotify/icons/spotify-linux-256.png
/opt/spotify/icons/spotify-linux-512.png

Icons for Simplify3D are in:
/usr/share/icons/hicolor/32x32/apps/simplify3d.png
/usr/share/icons/hicolor/32x32/apps/Simplify3D.png
/usr/share/icons/hicolor/32x32/apps/Simplify3D (Licensed to Greembow).png
/usr/share/icons/hicolor/32x32/apps/simplify3d.png
/usr/share/icons/hicolor/32x32/apps/Simplify3D.png
/usr/share/icons/hicolor/32x32/apps/Simplify3D (Licensed to Greembow).png

Tint2 Output:

greembow in ~ % > tint2 -c .config/tint2/centertint2rc
tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes
tint2: xRandr: Found crtc's: 4
tint2: xRandr: Linking output eDP1 with crtc 0, resolution 1920x1080, DPI 161
tint2: xRandr: crtc 1 seems disabled
tint2: xRandr: crtc 2 seems disabled
tint2: xRandr: crtc 3 seems disabled
tint2: Loading config file: .config/tint2/centertint2rc
tint2: real transparency on... depth: 32
tint2: panel items: T
tint2: nb monitors 1, nb monitors used 1, nb desktops 1
tint2: panel 1 uses scale 1
tint2: Kernel uevent interface initialized...
^C

Last edited by AirsoftHamster (2021-10-18 03:46:38)

Offline

#6 2021-10-18 03:50:06

AirsoftHamster
Member
Registered: 2020-11-10
Posts: 74

Re: Icons not properly displaying

Tint2 Config Contents:

#---- Generated by tint2conf df20 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Active desktop name, Active taskbar, Default task, Iconified task, Inactive taskbar, Panel
rounded = 15
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #96c077 100
border_color = #000000 0
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
border_color_pressed = #000000 0

# Background 2: Active task
rounded = 15
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #777777 50
border_color = #000000 0
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
border_color_pressed = #000000 0

# Background 3: Urgent task
rounded = 15
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #f44848 50
border_color = #000000 0
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
border_color_pressed = #000000 0

# Background 4: Tooltip
rounded = 15
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #4c755e 85
border_color = #000000 0
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
border_color_pressed = #000000 0

#-------------------------------------
# Panel
panel_items = T
panel_size = 815 35
panel_margin = 554 5
panel_padding = 0 0 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_pivot_struts = 0
panel_position = top right horizontal
panel_layer = top
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 82 6 0
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0

#-------------------------------------
# Taskbar
taskbar_mode = single_desktop
taskbar_hide_if_empty = 1
taskbar_padding = 6 0 7
taskbar_background_id = 1
taskbar_active_background_id = 1
taskbar_name = 0
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_hide_different_desktop = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 6 4
taskbar_name_background_id = 0
taskbar_name_active_background_id = 1
taskbar_name_font = DejaVu Sans Mono Bold 12
taskbar_name_font_color = #21252b 100
taskbar_name_active_font_color = #21252b 100
taskbar_distribute_size = 1
taskbar_sort_order = application
task_align = center

#-------------------------------------
# Task
task_text = 0
task_icon = 1
task_centered = 0
urgent_nb_of_blink = 100000
task_maximum_size = 36 36
task_padding = 4 3 10
task_font = DejaVu Sans Mono Bold 12
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #21252b 100
task_icon_asb = 100 0 0
task_background_id = 1
task_active_background_id = 2
task_urgent_background_id = 3
task_iconified_background_id = 1
mouse_left = toggle
mouse_middle = close
mouse_right = toggle_iconify
mouse_scroll_up = prev_task
mouse_scroll_down = next_task

#-------------------------------------
# System tray (notification area)
systray_padding = 0 0 0
systray_background_id = -1
systray_sort = ascending
systray_icon_size = 0
systray_icon_asb = 100 0 0
systray_monitor = primary
systray_name_filter =

#-------------------------------------
# Launcher
launcher_padding = 0 0 0
launcher_background_id = -1
launcher_icon_background_id = -1
launcher_icon_size = 0
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 0
launcher_tooltip = 0

#-------------------------------------
# Clock
time1_format =
time2_format =
time1_timezone =
time2_timezone =
clock_font_color = #000000 100
clock_padding = 0 0
clock_background_id = -1
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command =
clock_rclick_command =
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =

#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 0
battery_low_cmd =
battery_full_cmd =
battery_font_color = #000000 100
bat1_format =
bat2_format =
battery_padding = 0 0
battery_background_id = -1
battery_hide = 0
battery_lclick_command =
battery_rclick_command =
battery_mclick_command =
battery_uwheel_command =
battery_dwheel_command =
ac_connected_cmd =
ac_disconnected_cmd =

#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0
tooltip_padding = 7 7
tooltip_background_id = 4
tooltip_font_color = #000000 100
tooltip_font = DejaVu Sans Mono Bold 12

Offline

Board footer

Powered by FluxBB