You are not logged in.
Hey y'all!
I just installed rc2 a week ago, and the volume icon never appeared in my tint2. I can still adjust my laptop's volume with alsamixer. I slightly altered my autostart and tint2rc files and now, after a reboot, I can't seem to figure out why my wifi icon also isn't appearing in my tint2. It's still connecting to my saved wireless network, just no icon. The only icon I have in my systray is the battery.
autostart:
## SETTINGS START
## Configure touchpad. See 'man synaptics' for more info.
synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null
## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25
## Turn on/off system beep.
xset b off
## Add keyboard mapping.
#xmodmap -e "keysym Insert = Multi_key"
## SETTINGS END
## GNOME PolicyKit authentication
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
nitrogen --restore &
bl-compositor --start &
## Start the tint2 session (the default tint2 will run if no sessions have been set)
(sleep 2s; bl-tint2-session) &
## Start the Conky session (the default conkyrc will run if no sessions have been set)
# (sleep 2s; bl-conky-session --autostart) &
## Volume control for systray
(sleep 2; volti) &
## Volume keys daemon
xfce4-volumed &
## Start Clipboard manager
#(sleep 3; clipit) &
## Start Thunar Daemon, if set as bl-file-manager
if [ "$(readlink -f $(which bl-file-manager))" = "$(which thunar)" ]
then
thunar --daemon &
fi
## Enable power management
xfce4-power-manager &
## Start the battery applet
(sleep 2; fdpowermon) &
## Start xscreensaver (light-locker now used by default, run via XDG autostart.)
#xscreensaver -no-splash &
## bl-fortune - have the system come up with a little adage (not yet enabled)
#(sleep 120; bl-fortune) &
## start tilda
(sleep 2; tilda) &
tint2rc-bottom:
# Background definitions
# ID 1
rounded = 0
border_width = 0
background_color = #000000 40
border_color = #828282 0
# ID 2 - task active
rounded = 1
border_width = 0
background_color = #d8d8d8 30
border_color = #d8d8d8 30
# ID 3 - task
rounded = 1
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 4
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #ED2323 60
# ID 5 - taskbar
rounded = 0
border_width = 1
background_color = #000000 0
border_color = #000000 0
# ID 6 - active taskbar
rounded = 0
border_width = 1
background_color = #000000 8
border_color = #000000 0
# ID 7 - tooltip
rounded = 3
border_width = 0
background_color = #222222 90
border_color = #222222 90
# ID 8
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #888888 20
# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_items = TSC
panel_size = 100% 30
panel_margin = 0 -1
panel_padding = 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 1
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size
# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 6 0 6
taskbar_background_id = 5
taskbar_active_background_id = 6
taskbar_name = 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = Sans 9
taskbar_name_font_color = #828282 100
taskbar_name_active_font_color = #828282 100
# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 40 40
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 3
# Task Icons
task_icon_asb = 80 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 80 0 0
# Fonts
task_font = Sans 06_55 6
task_font_color = #828282 60
task_active_font_color = #828282 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0
# Launcher
launcher_padding = 8 4 4
launcher_background_id = 0
launcher_icon_size = 0
# decolorize launcher icons
#launcher_icon_asb = 100 -100 -5
launcher_tooltip = 1
# Specify icon theme names with launcher_icon_theme.
# if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.
launcher_icon_theme = Faenza-Dark-Bunsen
# Each launcher_item_app must be a full path to a .desktop file
# this will have to be made:
launcher_item_app = /usr/share/applications/bl-www-browser.desktop
launcher_item_app = /usr/share/applications/bl-file-manager.desktop
launcher_item_app = /usr/share/applications/bl-text-editor.desktop
launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
# System Tray
systray = 1
systray_padding = 4 2 3
systray_sort = right2left
systray_background_id = 0
systray_icon_size = 0
systray_icon_asb = 100 0 0
# Clock
time1_format = %l:%M
time1_font = Sans bold 11
#time2_format = %A %d %B
#time2_font = Sans 6
clock_font_color = #b5b5b5 100
clock_padding = 12 4
clock_background_id = 0
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
clock_tooltip = %A, %B %e
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 7
tooltip_font_color = #d8d8d8 100
tooltip_font = Sans normal 9.0
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# Battery
battery = 1
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
battery_hide = 96
bat1_font = Monospace 8
bat2_font = Monospace 8
battery_font_color = #b5b5b5 100
battery_padding = 2 0
battery_background_id = 0
# End of config
Last edited by Garrett (2016-03-12 16:37:38)
Offline
Hello Garrett, welcome to the forums
Please post the output of:
volti &
/usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list | grep nm-applet
pgrep nm-applet > /dev/null 2>&1 && echo running || echo not running
Offline
volti &
[1] 32451
/usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list | grep nm-applet
File: /etc/xdg/autostart/nm-applet.desktop
Executes: nm-applet
pgrep nm-applet > /dev/null 2>&1 && echo running || echo not running
not running
Offline
volti &
[1] 32451
Did the volume icon appear after that command was run?
/usr/lib/x86_64-linux-gnu/openbox-xdg-autostart --list | grep nm-applet
File: /etc/xdg/autostart/nm-applet.desktop Executes: nm-applet
This command output shows that the autostart file for nm-applet is still there so it should run at startup.
pgrep nm-applet > /dev/null 2>&1 && echo running || echo not running
not running
...but it's not
What happens if you run it from a terminal:
nm-applet &
Offline
Did the volume icon appear after that command was run?
Nope, no such luck.
What happens if you run it from a terminal:
nm-applet &
Alright, so that worked!
And now, after rebooting, the wifi applet is showing in my tint2. No idea what black magic is going on here, but I'm glad it's working now.
When running volti from terminal I got this:
[alsactrl.py:__init__:41] can't open Master control for card HDMI, trying to select first available mixer channel
[alsactrl.py:__init__:49] can't open first available control for card HDMI
error: list index out of range
Traceback (most recent call last):
File "/usr/bin/volti", line 53, in <module>
volti = main.VolumeTray()
File "/usr/lib/volti/volti/main.py", line 124, in __init__
self.watchid = gobject.io_add_watch(fd, eventmask, self.update)
TypeError: an integer is required
But I just remembered something I had to do when BunsenLabs first came out. In ~/.config/volti/config under [global] I changed the card_index value from 0 to 1. After changing it this time around it was muted by default. I right-clicked the volume icon and unchecked 'mute', but there was still no sound from my speakers. I plugged in headphones, still nothing, even after unmuting. I repeated this several times without any luck.
BUT THEN... I added a [card-1] section to ~/.config/volti/config:
[card-0]
control = Master
mask_lock = 0
[card-1]
control = Master
mask_lock = 0
[global]
mixer_show_values = 1
scale_increment = 1.0
card_index = 1
icon_theme = Faenza
scale_show_value = 0
mixer = pavucontrol
show_tooltip = 1
notify_position = 0
keys = 0
toggle = mute
mixer_internal = 0
notify_body = <span font_desc="14" weight="bold">{volume}</span>
<small>{card}</small>
<small>{mixer}</small>
keys_backend = xlib
run_in_terminal = 0
notify_timeout = 2.0
show_notify = 0
Everything works as it should now! Sorry for the oversights on my part. I should have looked a little closer before posting. Thanks for helping!
Offline
OK, excellent, thanks for posting your solution!
Offline
Thank you for solution but still perplexed WHY did it start to work after run mn-applet & VERY strange. I noticed in my case it happens after upgrades
Offline
From time to time I have a similar issue regarding the network-icon. nm-applet just does not start, but I can start it via terminal. However where the network-icon should be, I see the small browser-icon, which does not do anything, if I click on it. After restarts mostly nm-applet loads correctly, but not always. I have no idea why...
Offline
It may be a timing issue when applications are loading. IIRC I used to start nm-applet from autostart, with a sleep delay, instead of using '/etc/xdg/autostart/nm-applet.desktop'
@martix - if you have a new question, then please start a new thread, instead of adding to one marked "[SOLVED]"
Last edited by damo (2016-05-07 12:37:27)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I see, that could be it indeed (although I also noticed that changing the icon theme to gtk looks great and that behavior did not occur so far. I have to test it further though.) Thank you for the hint, sorry about the thread!
Offline