You are not logged in.
When I set the wm_menu variable to '1' I can't get it to work. I am looking for a way to get a right click menu on tha panel without minimizing windows. Also, strangely, the panel_items variable doesn't work so I can't get a launcher in tint2 nor can I switch items around.
Any help is appreciated.
Thanks,
Last edited by tedbell (2012-08-08 04:02:44)
Offline
Did you get tint2 from the community repo, or did you build it from the AUR? The standard repo version does not have the features you want.
Application Launchers in tint2-svn (AUR)
With the version of tint2 in subversion (available via AUR: tint2-svn), it has become possible to add application launchers to tint2.
What does
tint2 -vtell you?
If you want menus and launchers you might like fbpanel or lxpanel better.
Last edited by 2ManyDogs (2012-08-08 02:54:00)
Offline
Version 0.11
I have the repo version. I'll install the svn version. I prefer tint2 I like the way it looks. Thanks!
EDIT: It's still not working.
It is not recognizing the panel_items line.
Last edited by tedbell (2012-08-08 04:03:17)
Offline
Did you report this upstream? Probably no Arch specific issue.
To know or not to know ...
... the questions remain forever.
Offline
Not a bug. Works as advertised here.
@tedbell To help people provide useful suggestions, please learn how to ask questions the smart way. In this instace, posting your config--which is likely misconfigured--would be helpful.
Offline
Here it is:
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure
# Background definitions
# ID 1
rounded = 7
border_width = 2
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% 20
panel_margin = 0 0
panel_padding = 7 0 7
panel_dock = 0
wm_menu = 0
panel_layer = top
panel_background_id = 1
panel_items = LTSBC
# Panel Autohide
autohide = 1
autohide_show_timeout = 0.0
autohide_hide_timeout = 0.0
autohide_height = 0
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 = 1
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_tooltip = 0
# 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 = %H:%M
time1_font = sans 6
time2_format = %A %d %B
time2_font = sans 4
clock_font_color = #FFFFFF 74
clock_padding = 1 0
clock_background_id = 0
clock_rclick_command = orage
# Tooltips
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
# Launchers
launcher_icon_theme = LinuxLex-8
launcher_padding = 5 0 10
launcher_background_id = 9
launcher_icon_size = 16
launcher_item_app = xfdesktop --menu
launcher_item_app = /some/where/anotherapplication.desktop
# End of configI am using xfce by the way.
Offline
Did you report this upstream?
I don't follow.
Offline
launcher_item_app = xfdesktop --menu launcher_item_app = /some/where/anotherapplication.desktop
Does /some/where/anotherapplication.desktop exist? I know that's from the example in the wiki, but it's just an example. You need to replace that with the full path to a real desktop file you want to launch from tint2 (like /usr/share/applications/terminator.desktop).
xfdesktop --menu doesn't work because tint2 is expecting a full path to a .desktop file.
One thing that might help you debug things like this is to run apps from a terminal, (just type the name of the app in a terminal window to start it) that way you can see if the app throws any errors. I copied your tint2rc to my machine and ran "tint2" from a terminal; when I used the community repo version, I got this error:
tint2 : invalid option "panel_items",
upgrade tint2 or correct your config fileWith the svn version, I got these errors:
Could not open file xfdesktop --menu
Could not open file /some/where/anotherapplication.desktopRunning it from a terminal will help you figure out what's wrong with any app you're trying to configure.
I am using xfce by the way.
xfce has its own panel with a built-in menu. I know you said you like tint2, but the xfce panel might be easier to configure.
Last edited by 2ManyDogs (2012-08-08 13:45:35)
Offline
tedbell wrote:launcher_item_app = xfdesktop --menu launcher_item_app = /some/where/anotherapplication.desktopDoes /some/where/anotherapplication.desktop exist? I know that's from the example in the wiki, but it's just an example. You need to replace that with the full path to a real desktop file you want to launch from tint2 (like /usr/share/applications/terminator.desktop).
xfdesktop --menu doesn't work because tint2 is expecting a full path to a .desktop file.
I know. I forgot to comment that line out.
One thing that might help you debug things like this is to run apps from a terminal, (just type the name of the app in a terminal window to start it) that way you can see if the app throws any errors. I copied your tint2rc to my machine and ran "tint2" from a terminal; when I used the community repo version, I got this error:
tint2 : invalid option "panel_items", upgrade tint2 or correct your config fileWith the svn version, I got these errors:
Could not open file xfdesktop --menu Could not open file /some/where/anotherapplication.desktopRunning it from a terminal will help you figure out what's wrong with any app you're trying to configure.
I never had a problem with the panel_items before. Must be something tht has to be selected when compiling.
I am using xfce by the way.
xfce has its own panel with a built-in menu. I know you said you like tint2, but the xfce panel might be easier to configure.
I know. I find tint2 more customizable. I can independently set the font sizes and the look of the buttons and set auto hide times, etc. The panel-items I can survive without. I set up my super button to xfdesktop --menu.
Thanks anyway,
Last edited by tedbell (2012-08-09 08:00:37)
Offline