You are not logged in.

#1 2011-08-02 18:25:12

Mr_ED-horsey
Member
From: Portland, OR
Registered: 2011-04-06
Posts: 177

[solved] tint2 system tray, icons show up twice.

2011-08-02-121513_254x35_scrot.png?t=1312309168

Yeah, you see the problem... Not sure if the issue is with my autostart.sh file or my tint2rc config, so I'll post both.

autostart.sh

#restore wallpaper
nitrogen --restore &
#network manager
wicd-client &
#volume icon
volwheel &
#trayfreq
trayfreq &
#panel
tint2 &
#file manager
thunar --daemon &
#dock
sleep 2 && wbar &
#tiling support
pytyle2 &

tint2rc

# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #000000 60
border_color = #FFFFFF 16

# ID 2
rounded = 5
border_width = 0
background_color = #FFFFFF 40
border_color = #FFFFFF 48

# ID 3
rounded = 5
border_width = 0
background_color = #FFFFFF 16
border_color = #FFFFFF 68

# Panel
panel_monitor = all
panel_position = top center horizontal
panel_size = 100% 28
panel_margin = 0 0
panel_padding = 7 0 7
panel_dock = 0
wm_menu = 0
panel_layer = top
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 2
strut_policy = follow_size

# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0
taskbar_active_background_id = 0

# Tasks
urgent_nb_of_blink = 8
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 140 35
task_padding = 6 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 2
task_iconified_background_id = 3

# Task Icons
task_icon_asb = 70 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 70 0 0

# Fonts
task_font = sans 7
task_font_color = #FFFFFF 68
task_active_font_color = #FFFFFF 83
task_urgent_font_color = #FFFFFF 83
task_iconified_font_color = #FFFFFF 68
font_shadow = 0

# System Tray
systray = 1
systray_padding = 0 4 5
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 16
systray_icon_asb = 70 0 0

# Clock
time1_format = %I:%M %P
time1_font = sans 8
#time2_format = %A %d %B
#time2_font = sans 6
clock_font_color = #FFFFFF 74
clock_padding = 1 0
clock_background_id = 0
clock_rclick_command = orage

# Tooltips
tooltip = 0
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font = sans 10
tooltip_font_color = #000000 80

# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #FFFFFF 74
battery_padding = 1 0
battery_background_id = 0

# End of config

Anyone have any ideas on how to fix this?

Last edited by Mr_ED-horsey (2011-08-08 14:38:31)


Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD  /  Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook

Offline

#2 2011-08-03 20:42:18

jackdroido
Member
From: Italy
Registered: 2011-07-26
Posts: 8

Re: [solved] tint2 system tray, icons show up twice.

Hi !

Try to start tint2 before applications which have tray icons and to put some sleep in between like this:

#restore wallpaper
(sleep 1 && nitrogen --restore &)
#tiling support
(sleep 2 && pytyle2 &)
#panel
(sleep 3 && tint2 &)
#dock
(sleep 4 && wbar &)
#file manager
(sleep 5 && thunar --daemon &)
#network manager
(sleep 6 && wicd-client &)
#volume icon
(sleep 7 && volwheel &)
#trayfreq
(sleep 8 && trayfreq &)

I have a setup with openbox+tint2+wbar and this way everything is fine, without duplicated icons on tray.

Hope this solve your issue !

Offline

#3 2011-08-03 20:53:47

Psycho_zs
Member
Registered: 2010-05-24
Posts: 18

Re: [solved] tint2 system tray, icons show up twice.

some things can also start via xdg-autostart if their .desktop files are in place.
Is that your full autostart.sh or just customized part?

Offline

#4 2011-08-08 14:26:53

Mr_ED-horsey
Member
From: Portland, OR
Registered: 2011-04-06
Posts: 177

Re: [solved] tint2 system tray, icons show up twice.

Sorry for the late reply... I just moved.

@ Psycho_zs, Wicd does appear in xdg-autostart file, and it's not allowing me to remove it with the 'sudo rm -rf; command... How can I get rid of this or disable it and solely use my autostart.sh file?

EDIT: That is just the customized part, I just added apps at the bottom of the file, can I post the entire file if you need.

EDIT #2: Never mind, I had some coffee this morning and realized I was stupid and just removed wicd & trayfreq from my autostart.sh file instead... I hate mornings sometime smile

Last edited by Mr_ED-horsey (2011-08-08 14:38:15)


Desktop: Fedora 21 Mate + Compiz [x86_64] on 2 TiB HDD  /  Windows 7 Professional [x86_64] on 500 GiB HDD
Laptop: Arch Linux + Openbox [i686] 120 GiB SSD on Acer c720 Chromebook

Offline

Board footer

Powered by FluxBB