Topic: [SOLVED] Tint2 Launcher Help

Trying to add a launcher to my tint2 config and am not having any luck.

Here are the steps I've taken so far:

  • I started by installing the latest patches from this thread

  • created my ~/.tint2launchers folder

  • added "launcher_apps_dir = ~/.tint2launchers" to my tint2 config file

  • copied "Thunar File Manager" desktop file from /usr/share/applications to ~/.tint2launchers

  • renamed the file to 10-thunar.desktop

  • and finally restarted tint2.

I don't see any launchers, though.

Here's my tint2rc:

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 7
border_width = 1
background_color = #000000 60
border_color = #ffffff 18

rounded = 5
border_width = 0
background_color = #ffffff 40
border_color = #ffffff 50

rounded = 5
border_width = 0
background_color = #ffffff 18
border_color = #ffffff 70

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom center
panel_size = 98% 30
panel_margin = 0 5
panel_padding = 3 0
font_shadow = 0
panel_background_id = 0
wm_menu = 0
panel_dock = 0
panel_layer = bottom

#---------------------------------------------
# LAUNCHER
#---------------------------------------------
launcher_apps_dir = ~/.tint2launchers

#---------------------------------------------
# TASKBAR
#---------------------------------------------
#taskbar_mode = multi_desktop
taskbar_mode = single_desktop
taskbar_padding = 2 2 2
taskbar_background_id = 1
#taskbar_active_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 0
task_maximum_size = 35 35
task_centered = 1
task_padding = 2 3
task_font = Sawasdee Bold 10
task_font_color = #ffffff 90
task_background_id = 3
task_icon_asb = 100 0 0
# replace STATUS by 'urgent', 'active' or 'iconified'
#task_STATUS_background_id = 2
#task_STATUS_font_color = #ffffff 85
#task_STATUS_icon_asb = 100 0 0
# example:
task_active_background_id = 2
task_active_font_color = #ffffff 100
task_active_icon_asb = 100 0 0
urgent_nb_of_blink = 8

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 6 3 5
systray_background_id = 1
systray_sort = left2right

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = Sawasdee Bold 11
clock_font_color = #ffffff 90
clock_padding = 6 0
clock_background_id = 1
#clock_lclick_command = xclock
#clock_rclick_command = orage
#clock_tooltip = %A %d %B
#time1_timezone = :US/Hawaii
#time2_timezone = :Europe/Berlin
#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 1
battery_hide = 101
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #ffffff 76
battery_padding = 1 0
battery_background_id = 0

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = white 80
tooltip_font = sans 10

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = close
mouse_right = none
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#---------------------------------------------
# AUTOHIDE OPTIONS
#---------------------------------------------
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 4
strut_policy = minimum

Anyone see what I'm doing wrong or missing?

Thanks!

Last edited by joypunk (2012-02-04 19:00:15)

Re: [SOLVED] Tint2 Launcher Help

Aren't you missing the following line(s)?
launcher_item_app = path_to_application



/

Re: [SOLVED] Tint2 Launcher Help

I thought the point of the launcher_apps_dir with the newest patch that I installed made it so you didn't need all those entries, but rather you could create the desktop files in ~/.tint2launchers and it would grab them from there. I could be wrong, though.

I tried adding a launcher_item_app entry and still nothing, though. Here's what I tried:

launcher_item_app = /usr/share/applications/Geany

Re: [SOLVED] Tint2 Launcher Help

Found the problem.

launcher_apps_dir = ~/.tint2launchers

This doesn't work, you can't use the ~/ shortcut, you have to spell it out.

launcher_apps_dir = /home/username/.tint2launchers