You are not logged in.
^ so is mine
Offline
Hiya!
This is what I'm using, found the basis on the forums and poked around with it until it felt personal. I have installed ProFont but I don't see why this couldn't work with roboto 10pt either.
#---- Generated by tint2conf f101 ----
#---- modified by hand by ike ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 1
border_sides = TBLR9
background_color = #dcdad5 100
border_color = #787878 100
background_color_hoactive_taskver = #dcdad5 100
border_color_hover = #787878 100
background_color_pressed = #dcdad5 100
border_color_pressed = #787878 100
# Background 2: Default task, Iconified task
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #dcdad5 100
border_color = #dcdad5 100
background_color_hover = #dcdad5 100
border_color_hover = #cccccc 100
background_color_pressed = #4A6882 100
border_color_pressed = #cccccc 100
999999
# Background 3: Active task
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #4A6882 100
border_color = #0B2E45 100
background_color_hover = #dcdad5 100
border_color_hover = #aaaaaa 100
background_color_pressed = #cccccc 100
border_color_pressed = #999999 100
# Background 4: Urgent task
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #a91600 100
border_color = #ffd416 100
background_color_hover = #a91600 100
border_color_hover = #ffd416 100
background_color_pressed = #a91600 100
border_color_pressed = #ffd416 100
# Background 5: Tooltip
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #ffffaa 100
border_color = #999999 100
background_color_hover = #ffffaa 100
border_color_hover = #999999 100
background_color_pressed = #ffffaa 100
border_color_pressed = #999999 100
# Background 6: Inactive desktop name
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #C4C2BD 100
border_color = #999999 100
background_color_hover = #C4C2BD 100
border_color_hover = #999999 100
background_color_pressed = #C4C2BD 100
border_color_pressed = #999999 100
# Background 7: Active desktop name
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #4A6882 100
border_color = #0B2E45 100
background_color_hover = #C4C2BD 100
border_color_hover = #999999 100
background_color_pressed = #C4C2BD 100
border_color_pressed = #999999 100
# Background 8: Systray
rounded = 1
border_width = 0
border_sides = TBLR
background_color = #dddddd 100
border_color = #cccccc 100
background_color_hover = #dddddd 100
border_color_hover = #cccccc 100
background_color_pressed = #dddddd 100
border_color_pressed = #cccccc 100
# Background 9: Clock
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #C4C2BD 100
border_color = #999999 100
background_color_hover = #C4C2BD 100
border_color_hover = #999999 100
background_color_pressed = #C4C2BD 100
border_color_pressed = #999999 100
#-------------------------------------
# Panel
panel_items = T:S:C
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 4 2 4
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = top right hotizontal
panel_layer = bottom
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 2
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 = 100 0 0
#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 2
taskbar_background_id = 0
taskbar_active_background_id = 9
taskbar_name = 1
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 3
taskbar_name_background_id = 6
taskbar_name_active_background_id = 7
taskbar_name_font = Roboto 10
taskbar_name_font_color = #53534F 70
taskbar_name_active_font_color = #F6F8FB 100
taskbar_distribute_size = 1
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 0
urgent_nb_of_blink = 100000
task_maximum_size = 175 35
task_padding = 4 3 4
task_font = Roboto 10
task_tooltip = 1
task_font_color = #53534F 70
task_active_font_color = #F6F8FB 100
task_icon_asb = 100 0 0
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = shade
mouse_right = close
mouse_scroll_up = prev_task
mouse_scroll_down = next_task
#-------------------------------------
# Separator for system tray
separator = 1
separator_background_id = 9
separator_color = #787878 100
separator_style = line
separator_size = 2
separator_padding = 4 0 2
#-------------------------------------
# System tray (notification area)
systray_padding = 4 0 2
systray_background_id = 9
systray_sort = ascending
systray_icon_size = 22
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =
#-------------------------------------
# Launcher
launcher_padding = 0 0 2
launcher_background_id = 0
launcher_icon_background_id = 0
launcher_icon_size = 22
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = tint2conf.desktop
launcher_item_app = firefox.desktop
launcher_item_app = iceweasel.desktop
launcher_item_app = chromium-browser.desktop
launcher_item_app = google-chrome.desktop
launcher_item_app = x-terminal-emulator.desktop
#-------------------------------------
# Clock
time1_format = %H:%M
#time2_format = %A %d %B
time1_font = Roboto 10
time1_timezone = :Continent/City
time2_timezone =
time2_font = Profont 7
clock_font_color = #222222 100
clock_padding = 1 0
clock_background_id = 9
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command = zenity --calendar --text ""
clock_rclick_command = orage
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_full_cmd =
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #222222 100
bat1_format =
bat2_format =
battery_padding = 1 0
battery_background_id = 0
battery_hide = 101
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.1
tooltip_padding = 2 2
tooltip_background_id = 5
tooltip_font_color = #222222 100
tooltip_font = Profont 10
Offline
Just a little tint2 I made
# Gradients
# Gradient 1
gradient = vertical
start_color = #2d2d2d 80
end_color = #000000 80
color_stop = 70.000000 #1c1c1c 80
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 1
border_sides = T
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 80
border_color = #333333 80
gradient_id = 1
background_color_hover = #000000 80
border_color_hover = #555555 80
background_color_pressed = #000000 80
border_color_pressed = #555555 80
# Background 2: Default task, Iconified task
rounded = 0
border_width = 2
border_sides = B
border_content_tint_weight = 100
background_content_tint_weight = 25
background_color = #777777 0
border_color = #777777 100
background_color_hover = #464646 100
border_color_hover = #cccccc 30
background_color_pressed = #1e1e1e 100
border_color_pressed = #777777 30
# Background 3: Active task
rounded = 0
border_width = 2
border_sides = B
border_content_tint_weight = 100
background_content_tint_weight = 100
background_color = #ffffff 100
border_color = #d9d9d9 100
background_color_hover = #ffffff 73
border_color_hover = #d9d9d9 100
background_color_pressed = #989898 73
border_color_pressed = #d9d9d9 100
# Background 4: Urgent task
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #aa4400 100
border_color = #aa7733 100
background_color_hover = #aa4400 100
border_color_hover = #aa7733 100
background_color_pressed = #aa4400 100
border_color_pressed = #aa7733 100
# Background 5: Tooltip
rounded = 2
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ffffaa 100
border_color = #999999 100
background_color_hover = #ffffaa 100
border_color_hover = #999999 100
background_color_pressed = #ffffaa 100
border_color_pressed = #999999 100
# Background 6: Inactive desktop name
rounded = 0
border_width = 2
border_sides = B
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #777777 0
border_color = #777777 0
background_color_hover = #bdbdbd 21
border_color_hover = #cccccc 100
background_color_pressed = #777777 21
border_color_pressed = #777777 100
# Background 7: Active desktop name
rounded = 0
border_width = 2
border_sides = B
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ffffff 21
border_color = #d9d9d9 100
background_color_hover = #ffffff 21
border_color_hover = #d9d9d9 100
background_color_pressed = #a9a9a9 21
border_color_pressed = #d9d9d9 100
#-------------------------------------
# Panel
panel_items = LTSC
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 1 0 4
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = bottom center horizontal
panel_layer = normal
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 2
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 -3 10
mouse_pressed_icon_asb = 100 0 -2
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0
#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 0
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 1
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 = 4 0
taskbar_name_background_id = 6
taskbar_name_active_background_id = 7
taskbar_name_font = sans bold 9
taskbar_name_font_color = #dddddd 100
taskbar_name_active_font_color = #dddddd 100
taskbar_distribute_size = 1
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 1
task_icon = 0
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 120 35
task_padding = 4 3 4
task_font = Sans 8
task_tooltip = 0
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #c6c6c6 100
task_active_font_color = #ffffff 100
task_icon_asb = 100 0 0
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = prev_task
mouse_scroll_down = next_task
#-------------------------------------
# System tray (notification area)
systray_padding = 0 0 2
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 22
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =
#-------------------------------------
# Launcher
launcher_padding = 0 0 2
launcher_background_id = 0
launcher_icon_background_id = 0
launcher_icon_size = 22
launcher_icon_asb = 100 0 0
launcher_icon_theme = ePapirus
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = tint2conf.desktop
launcher_item_app = /usr/share/applications/firefox-esr.desktop
launcher_item_app = /usr/share/applications/thunderbird.desktop
launcher_item_app = /usr/share/applications/geany.desktop
launcher_item_app = /usr/share/applications/catfish.desktop
launcher_item_app = /usr/share/applications/Thunar.desktop
launcher_item_app = /usr/share/applications/org.gnome.DiskUtility.desktop
launcher_item_app = /usr/share/applications/synaptic.desktop
launcher_item_app = /usr/share/applications/terminator.desktop
launcher_item_app = /usr/share/applications/warzone2100.desktop
#-------------------------------------
# Clock
time1_format = %H:%M
time2_format =
time1_font = sans bold 8
time1_timezone =
time2_timezone =
time2_font = sans 7
clock_font_color = #eeeeee 100
clock_padding = 1 0
clock_background_id = 0
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command = zenity --calendar --text ""
clock_rclick_command = orage
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 = 0
battery_hide = 101
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.1
tooltip_padding = 2 2
tooltip_background_id = 5
tooltip_font_color = #222222 100
tooltip_font = sans 9
you can see the tint2 bar better here robotic santa on deviantart
I use the icon set called epapirus
Last edited by THX1138 (2019-01-20 18:53:24)
I’ve got this horrible feeling that if there is such a thing as reincarnation, knowing my luck, I’ll come back as me!
---------
Robotic Santa on Deviant Art
Offline
Hi there, fellow nixers!
I wanted to share my quick-exit-'script' with you.
First of, all the credits go to ARTUR9010 for his lightdm material theme design. I saw his project and I thought I could make a tint2 panel with exit options like his.
Of course, it's not as cool as bl-exit but it suits my needs. The thing is that I love playing with tint2rc.
#-------------------------------------------------------
# TINT2 CONFIG FILE "tint2rc-exit-solarized" by ututo
#-------------------------------------------------------
# Background definitions
# Background 1: Panel
rounded = 0
border_width = 1
border_sides = TB
background_color = #062128 80
border_color = #083C49 100
disable_transparency = 0
# Background 2: Buttons
rounded = 0
border_width = 0
border_sides = TBLR
background_color = #000000 0
border_color = #ffffff 100
background_color_hover = #29A097 30
border_color_hover = #FFFFFF 0
background_color_pressed = #001A20 70
border_color_pressed = #ff0000 0
# Panel
panel_items = FPPPPPPFP
panel_monitor = monitor
panel_position = center center horizontal
panel_size = 100% 55
panel_margin = 0 0
panel_padding = 0 0 0
font_shadow = 0
panel_background_id = 1
wm_menu = 0
panel_layer = top
strut_policy = none
panel_window_name = exit
mouse_effects = 1
mouse_hover_icon_asb = 100 50 50
mouse_pressed_icon_asb = 100 -100 0
autohide = 0
autohide_show_timeout = 0.5
autohide_hide_timeout = 1.5
autohide_height = 0
# Button 1: shutdown
button = new
button_text = SHUTDOWN
button_font = Noto Sans 10
button_font_color = #FFFFFF 90
button_background_id = 2
button_centered = 1
button_padding = 30 0 0
button_lclick_command = shutdown -P now
# Button 2: reboot
button = new
button_text = REBOOT
button_font = Noto Sans 10
button_font_color = #FFFFFF 90
button_background_id = 2
button_centered = 1
button_padding = 30 2 0
button_lclick_command = shutdown -r now
# Button 3: suspend
button = new
button_text = SUSPEND
button_font = Noto Sans 10
button_font_color = #FFFFFF 90
button_background_id = 2
button_centered = 1
button_padding = 30 2 0
button_lclick_command = suspend
# Button 4: logout
button = new
button_text = LOGOUT
button_font = Noto Sans 10
button_font_color = #FFFFFF 90
button_background_id = 2
button_centered = 1
button_padding = 30 2 0
button_lclick_command = loginctl terminate-user $USER
# Button 5: lock screen
button = new
button_text = LOCK
button_font = Noto Sans 10
button_font_color = #FFFFFF 90
button_background_id = 2
button_centered = 1
button_padding = 30 2 0
#button_lclick_command = betterlockscreen --lock dimblur
button_lclick_command = bl-exit
# Button 6: cancel
button = new
button_text = CANCEL
button_font = Noto Sans 10
button_font_color = #FFFFFF 90
button_background_id = 2
button_centered = 1
button_padding = 30 0 0
button_lclick_command = pkill -n tint2
# Button 7: settings
button = new
button_text = SETTINGS
button_font = Noto Sans 10
button_font_color = #547A87 90
button_background_id = 2
button_centered = 1
button_padding = 30 2 0
button_lclick_command = x-terminal-emulator -e vim ~/.config/tint2/tint2rc-exit-solarized
# End of config
I also added a keymap to my openbox rc file
...
<keybind key="W-x">
<action name="Execute">
<startupnotify>
<enabled>false</enabled>
<name>shutdown</name>
</startupnotify>
<command>tint2 -c ~/.config/tint2/tint2rc-exit-solarized</command>
</action>
</keybind>
...
You will also need Noto Sans fonts and FontAwesome for the icons.
P.S.
I'd like to ask to The Order Of BunsenWisdom and gurus of the forum if the left-click actions are linked to the right commands. I mean. The buttons do their job but I don't know if the commands are called in the right way.
Thanks
Ututo
BunsenLabs on deviantArt
Don't touch my git!
Offline
#---------------------------------------------
# TINT2 CONFIG FILE "BL-default"
#---------------------------------------------
# See https://gitlab.com/o9000/tint2/blob/master/doc/tint2.md for
# full documentation of the configuration options. This is also provided
# in the Tint2 manpages.
#
# For more config file examples, see "Scripts, Tutorials & Tips » My tint2 config"
# https://forums.bunsenlabs.org/viewtopic.php?id=254
#
# Written by damo, for BunsenLabs, July 2017
#
#------------------------------------
# Gradients
# Gradient 1
gradient = horizontal
start_color = #678b8b 40
end_color = #284f63 40
color_stop = 50 #617b78 40
# Gradient 2
gradient = radial
start_color = #d8d8d8 20
end_color = #133356 20
#------------------------------------
# Background definitions
# ID 1 - Panel
rounded = 0
border_width = 0
background_color = #284f63 0
border_color = #828282 0
# ID 2 - task active
rounded = 1
border_width = 0
background_color = #ADD8E6 0
border_color = #d8d8d8 0
# ID 3 - task
rounded = 1
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 4 - task urgent
rounded = 1
border_width = 1
background_color = #888888 20
border_color = #ED2323 60
# ID 5 - taskbar
rounded = 0
border_width = 1
gradient_id = 2
background_color = #678b8b 0
border_color = #4f727b 0
# ID 6 - active taskbar
rounded = 0
border_width = 1
gradient_id = 0
background_color = #678b8b 0
border_color = #ADD8E6 0
# ID 7 - tooltip
rounded = 3
border_width = 0
background_color = #082B4A 60
border_color = #222222 0
# ID 8
rounded = 1
border_width = 1
background_color = #888888 0
border_color = #888888 0
#-------------------------------------
# Panel
panel_monitor = all
panel_position = top center horizontal
panel_items = LTSCP
panel_size = 40% 25
panel_margin = 0 1
panel_padding = 0 0 0
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 0
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size
# Taskbar - Panel item = T
taskbar_mode = single_desktop
taskbar_padding = 0 0 0
taskbar_background_id = 0
taskbar_active_background_id = 6
taskbar_name = 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = Sans 10
taskbar_name_font_color = #ffffff 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 = 30 30
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 9
task_font_color = #d8d8d8 60
task_active_font_color = #d8d8d8 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0
# Launcher - Panel item = L
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 = Paper
# 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/chromium.desktop
#launcher_item_app = /usr/share/applications/bl-file-manager.desktop
#launcher_item_app = /usr/share/applications/synaptic.desktop
#launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
# System Tray - Panel item = S
systray = 1
systray_padding = 4 2 3
systray_sort = right2left
systray_background_id = 0
systray_icon_size = 25
systray_icon_asb = 100 0 0
# Clock - Panel item = C
time1_format = %H:%M
time1_font = Sans bold 11
#time2_format = %A %d %B
#time2_font = Sans 6
clock_tooltip = %A %d %B, %Y
clock_font_color = #c8cfcb 100
clock_padding = 8 4
clock_background_id = 0
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 7
tooltip_font_color = #ADD8E6 100
tooltip_font = Sans normal 9.0
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# Battery - Panel item = B
battery = 1
battery_low_status = 20
battery_low_cmd = notify-send "bateria baja"
battery_hide = 96
bat1_font = Monospace 8
bat2_font = Monospace 8
battery_font_color = #b5b5b5 100
battery_padding = 2 0
battery_background_id = 0
#-------------------------------------
# Separators - Panel item = :
# Separator 1
separator = new
separator_background_id = 0
separator_color = #5d8185 60
separator_style = line
separator_size = 2
separator_padding = 4 8
# Separator 2
separator = new
separator_background_id = 0
separator_color = #5d8185 60
separator_style = line
separator_size = 2
separator_padding = 0 8
#-------------------------------------
# Buttons - Panel item = P
# Exit dialog
#button = new
#button_icon = /usr/share/images/bunsen/exit/light/poweroff.png
#button_icon = system-shutdown
button_text =
button_tooltip = Logout/Shutdown...
button_lclick_command = bl-exit
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #ffffff 100
button_padding = 2 2
button_background_id = 0
button_centered = 1
button_max_icon_size = 28
# Show Root Menu
button = new
button_icon = bunsenlabs-button.svg
button_text =
button_tooltip = Main Menu
button_lclick_command = xdotool key super+space
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #ffffff 100
button_padding = 2 2
button_background_id = 0
button_centered = 1
button_max_icon_size = 28
#-------------------------------------
# Executor - Panel item = E Example
execp = new
execp_command = echo '/usr/share/pixmaps/bunsenlabs-button.svg'
#execp_command = echo '<span foreground="#7f7">Click</span>'
execp_has_icon = 1
execp_icon_h = 30
execp_cache_icon = 1
execp_interval = 0
execp_centered = 1
execp_font = sans 9
execp_markup = 1
execp_font_color = #aaffaa 100
execp_padding = 2 0
execp_tooltip = I will tell you a secret...
execp_lclick_command = notify-send "$(uname -srn)"
execp_background_id = 2
# End of config
lenovo thinkpad t420s
Offline
I thought I could make a tint2 panel with exit options like his.
Of course, it's not as cool as bl-exit but it suits my needs. The thing is that I love playing with tint2rc.https://cdn.scrot.moe/images/2019/04/07/bunsenlabs_sshot05.th.png
I love it too. somehow more than the actual bl-exit.
I'd like to ask to The Order Of BunsenWisdom and gurus of the forum if the left-click actions are linked to the right commands. I mean. The buttons do their job but I don't know if the commands are called in the right way.
you mean what actually gets executed? i think that would need a little polishing from what i saw.
try 'nano /usr/bin/bl-exit' for a comparison. <- oh, how did this get so long and complex. it's all python-internal dbus commands and a LOAD of fluff.
Offline
yes... another one
a vertical Tint2 Panel
In this example I'm using fontawesome icons for the buttons, but if you can't find your applications icons maybe you will find'em in SimpleIcons.
The start-menu icon can be downloaded from here. I use it with jgmenu.
Wallpaper: here.
#---- Generated by tint2conf 456e ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#
# For more config file examples, see "Scripts, Tutorials & Tips » My tint2 config"
# https://forums.bunsenlabs.org/viewtopic.php?id=254
#
# tint2-lithium by ututo
#
#-------------------------------------
# Background 1: Panel
rounded = 0
border_width = 0
border_sides = L
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #111618 100
border_color = #111618 100
# Background 2: Active task
rounded = 0
border_width = 2
border_sides = L
background_color = #334148 100
border_color = #f1ffff 90
background_color_hover = #000000 80
border_color_hover = #ffffff 50
background_color_pressed = #000000 80
border_color_pressed = #303030 85
# Background 3: Urgent task
rounded = 0
border_width = 2
border_sides = L
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #e8241a 53
border_color = #e8241b 91
background_color_hover = #181818 85
border_color_hover = #ffffff 85
background_color_pressed = #181818 85
border_color_pressed = #303030 85
# Background 4: Clock, Default task, Iconified task, Normal task, Systray, Jgmenu
rounded = 0
border_width = 2
border_sides = L
background_color = #111618 100
border_color = #111618 100
background_color_hover = #181818 0
border_color_hover = #303030 0
background_color_pressed = #181818 0
border_color_pressed = #303030 0
# Background 5: Button 1
rounded = 0
border_width = 2
border_sides = L
background_color = #1F292D 100
border_color = #1F292D 100
background_color_hover = #2C3A40 100
border_color_hover = #ffffff 50
background_color_pressed = #000000 100
border_color_pressed = #ffffff 100
# Background 6: Button 2
rounded = 0
border_width = 2
border_sides = L
background_color = #2A373C 100
border_color = #2A373C 100
background_color_hover = #3B4D54 100
border_color_hover = #ffffff 50
background_color_pressed = #000000 100
border_color_pressed = #ffffff 100
# Background 7: Button 3
rounded = 0
border_width = 2
border_sides = L
background_color = #D60A44 100
border_color = #D60A44 100
background_color_hover = #EE0B4B 100
border_color_hover = #EC89A5 100
background_color_pressed = #000000 100
border_color_pressed = #ffffff 100
# Background 8: Button 4
rounded = 0
border_width = 2
border_sides = L
background_color = #AF0838 100
border_color = #AF0838 100
background_color_hover = #DE4777 100
border_color_hover = #DEA1B5 100
background_color_pressed = #000000 100
border_color_pressed = #ffffff 100
# Background 9: Button 5
rounded = 0
border_width = 2
border_sides = L
background_color = #88062B 100
border_color = #88062B 100
background_color_hover = #C02954 100
border_color_hover = #EF89A6 100
background_color_pressed = #000000 100
border_color_pressed = #ffffff 100
#-------------------------------------
# Panel
panel_items = LCTESPPPPP
panel_size = 100% 57
panel_margin = 0 0
panel_padding = 0 0 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = center left vertical
panel_layer = normal
panel_monitor = 1
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 2
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 = 100 0 25
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0
#-------------------------------------
# Taskbar
taskbar_mode = single_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 1
taskbar_background_id = 0
taskbar_active_background_id = 4
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 = 0 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font = Liberation Sans Bold 10
taskbar_name_font_color = #000000 100
taskbar_name_active_font_color = #000000 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 0
task_icon = 1
task_centered = 0
urgent_nb_of_blink = 65535
task_maximum_size = 57 50
task_padding = 11 11 0
task_tooltip = 0
task_thumbnail = 1
task_thumbnail_size = 210
task_font_color = #e7e7e7 80
task_normal_font_color = #e7e7e7 80
task_urgent_font_color = #e7e7e7 100
task_icon_asb = 100 0 0
task_normal_icon_asb = 90 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 10
task_iconified_icon_asb = 34 0 0
task_background_id = 4
task_normal_background_id = 4
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 4
mouse_left = toggle_iconify
mouse_middle = close
mouse_right = none
mouse_scroll_up = toggle_iconify
mouse_scroll_down = toggle_iconify
#-------------------------------------
# System tray (notification area)
systray_padding = 10 10 10
systray_background_id = 4
systray_sort = ascending
systray_icon_size = 22
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter = NetworkManager
#-------------------------------------
# Launcher
launcher_padding = 5 5 1
launcher_background_id = 0
launcher_icon_background_id = 4
launcher_icon_size = 48
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/jgmenu.desktop
#-------------------------------------
# Clock
time1_format = %I:%M
time2_format =
time1_font = Noto Sans 12
time2_font = Droid Sans 12
clock_font_color = #c0c0c0 100
clock_padding = 0 9
clock_background_id = 4
clock_lclick_command = gsimplecal
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0
tooltip_hide_timeout = 0
tooltip_padding = 3 3
tooltip_background_id = 0
tooltip_font_color = #e7e7e7 80
tooltip_font = Fira Mono 9
#-------------------------------------
# Executor 1 - Desktop pager
execp = new
execp_command = xprop -root -spy | awk '/^_NET_CURRENT_DESKTOP/ { print "" ($3 + 1) ; fflush(); }'
execp_interval = 1
execp_continuous = 1
execp_font_color = #c0c0c0 100
execp_font = Noto Sans 12
execp_background_id = 4
execp_centered = 1
execp_padding = 0 0
#-------------------------------------
# Button 1
button = new
button_text =
button_lclick_command = firefox
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = FontAwesome 15
button_font_color = #ffffff 100
button_padding = 15 0
button_background_id = 5
button_centered = 1
button_max_icon_size = 20
#-------------------------------------
# Button 2
button = new
button_text =
button_lclick_command = google-chrome
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = FontAwesome 15
button_font_color = #ffffff 100
button_padding = 15 0
button_background_id = 6
button_centered = 1
button_max_icon_size = 20
#-------------------------------------
# Button 3
button = new
button_text =
button_lclick_command = opera
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = FontAwesome 15
button_font_color = #ffffff 100
button_padding = 15 0
button_background_id = 7
button_centered = 1
button_max_icon_size = 20
#-------------------------------------
# Button 4
button = new
button_text =
button_lclick_command = safari
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = FontAwesome 15
button_font_color = #ffffff 100
button_padding = 15 0
button_background_id = 8
button_centered = 1
button_max_icon_size = 20
#-------------------------------------
# Button 5
button = new
button_text =
button_lclick_command = bl-exit
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = FontAwesome 15
button_font_color = #ffffff 100
button_padding = 15 0
button_background_id = 9
button_centered = 1
button_max_icon_size = 20
Please, feel free to modify this code to suit your needs. Enjoy!
Many thanks to @o9000, @johanmalm and @mrneilypops
ututo
BunsenLabs on deviantArt
Don't touch my git!
Offline
^ nice one @ututo
Offline
tint2 without taskbar/pager since those are available as Fvwm modules.
tint2 with jgmenu launcher, psuinfo system information, battery, system tray, and clock. Using the extensible spacers to center the system information.
# 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 = 0
border_width = 0
border_sides = T
background_color = #212121 100
border_color = #4B6EB3 100
# urgent background
# ID 2
rounded = 1
border_width = 1
background_color = #A43949 100
border_color = #DDDDDD 100
# tooltip background
# ID 3
rounded = 4
border_width = 1
background_color = #F7F7F7 100
border_color = #F3F3F3 100
# ID 4
rounded = 1
border_width = 0
background_color = #34393B 100
border_color = #171717 100
# separators define all used
separator=new
separator_background_id = 0
separator_color = #101010
separator_style = line
separator_size = 1
separator_padding = 0 0
separator=new
separator_background_id = 0
separator_color = #101010
separator_style = line
separator_size = 1
separator_padding = 0 0
separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 1
separator_padding = 0 0
# executor sysinfo
execp = new
execp_font = Roboto Mono Regular 11
execp_font_color = #CF9A34 100
execp_background_id = 0
execp_centered = 1
execp_padding = 12 0 0
execp_command = psuinfo -Cuack -N -S3
# execp_command = psuinfo -Cuac -N -S3
execp_interval = 2
execp_rclick_command = urxvt -e htop --sort-key PERCENT_MEM
# buttons P
button = new
button_icon = /home/doug/.config/tint2/void-trlogo.png
#button_text =
button_tooltip = Application Menu
#button_font =
button_font_color = #FFFFFF 100
button_background_id = 0
button_centered = 1
button_padding = 6 1 1
button_max_icon_size = 64
button_lclick_command = jgmenu --config-file=/home/doug/.config/jgmenu/tint2menurc
# button_lclick_command = jgmenu_run
# button_mclick_command = text
button_rclick_command = session-exit
#button_uwheel_command = text
#button_dwheel_command = text
# Panel
# panel_items = PFSFBC
panel_items = PFEBFSC
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 0 30
panel_margin = 0 0
panel_padding = 0 2 0
panel_dock = 0
wm_menu = 1
panel_layer = normal
panel_background_id = 1
# Panel Autohide
autohide = 0
autohide_show_timeout = 0.7
autohide_hide_timeout = 1.5
autohide_height = 2
## strut_policy = follow_size/minimum/none
strut_policy = follow_size
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 1 1 8
taskbar_background_id = 0
taskbar_active_background_id = 4
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 = 4 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left
# Tasks
task_text = 0
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 36 36
task_padding = 4 1
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_background_id = 0
task_active_background_id = 0
task_urgent_background_id = 2
task_iconified_background_id = 0
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
# Task Icons
task_icon_asb = 100 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 = Roboto Regular 10
task_font_color = #DFDFDF 80
task_active_font_color = #DFDFDF 80
task_urgent_font_color = #DFDFDF 100
task_iconified_font_color = #999999 80
font_shadow = 0
# System Tray
systray = 1
systray_padding = 1 0 4
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 20
systray_icon_asb = 100 0 0
# Clock
time1_format = %k:%M
time1_font = Roboto Mono Regular 11
time2_format =
time2_font =
clock_font_color = #DDDDDD 100
clock_tooltip =
clock_padding = 12 0
clock_background_id = 0
clock_rclick_command = yad --calendar --class="fbox_cal" --title="`date "+%A %e %B %Y %k:%M"`" --width=368 --height=240 --skip-taskbar --sticky --text ""
time1_timezone = :US/Eastern
time2_timezone =
# Tooltips
tooltip_padding = 2 2
tooltip_show_timeout = 0.8
tooltip_hide_timeout = 0.3
tooltip_background_id = 3
tooltip_font = Monospace 11
tooltip_font_color = #050314 100
# Battery
battery = 1
battery_hide = never
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
# battery_full_cmd = notify-send "battery full"
bat1_font = Roboto Mono Regular 11
bat2_font = Sans Regular 0
battery_font_color = #CF9A34 100
#
#==============================================#
#
# %s: State (charging, discharging, full, unknown).
# %m: Minutes left until completely charged/discharged (estimated).
# %h: Hours left until completely charged/discharged (estimated).
# %t: Time left. Shows "hrs:mins" when charging/discharging, or "Ful\" when full.
# %p: Percentage. Includes the % sign.
bat1_format = BAT0: %p
bat2_format =
battery_padding = 8 0
battery_background_id = 0
battery_tooltip_enabled = 0
# these options don't seem to work ======================================#
# battery_lclick_command =
# battery_rclick_command =
# battery_mclick_command = "pkill -s -SIGUSR1 tint2"
# battery_uwheel_command = text : Command to execute on wheel scroll up. (since 0.12.1)
# battery_dwheel_command = text : Command to execute on wheel scroll down. (since 0.12.1)
#=========================================================================#
ac_connected_cmd = notify-send "AC Power Connected"
ac_disconnected_cmd = notify-send "AC Power Disconnected"
# End of config
You must unlearn what you have learned.
-- yoda
Offline
Maybe someone finds it useful.
# ID 1
rounded = 0
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 2
rounded = 8
border_width = 2
background_color = #000000 50
border_color = #ffffff 50
# ID 3
rounded = 8
border_width = 1
background_color = #ffffff 0
border_color = #000000 50
# Panel
panel_monitor = all
panel_position = bottom left horizontal
panel_items = LTSC
panel_size = 99% 32
panel_margin = 0 0
panel_padding = 0 0 15
panel_dock = 0
wm_menu = 0
panel_layer = bottom
panel_background_id = 1
# Launcher
launcher_padding = 0 0 5
launcher_background_id = 1
launcher_icon_size = 32
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/start.desktop
launcher_item_app = /usr/share/applications/thunar.desktop
launcher_item_app = /usr/share/applications/audacious.desktop
launcher_item_app = /usr/share/applications/chrome.desktop
# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 0 0 5
taskbar_background_id = 1
taskbar_active_background_id = 1
# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 1
task_centered = 0
task_maximum_size = 150 32
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 2
task_iconified_background_id = 3
# System Tray
systray = 1
systray_padding = 4 3 3
systray_sort = ascending
systray_background_id = 3
systray_icon_size = 24
systray_icon_asb = 100 0 0
# Clock
time1_format = %-I:%M %P
time1_font = sans 12
clock_font_color = #ffffff 100
clock_padding = 12 0
clock_background_id = 3
clock_tooltip = %a, %d %b %Y
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 3
tooltip_font_color = #000000 100
tooltip_font = sans 9
# Fonts
task_font = sans 10
task_font_color = #000000 100
task_active_font_color = #ffffff 100
task_urgent_font_color = #ff0000 100
task_iconified_font_color = #000000 100
font_shadow = 0
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
Last edited by a3e6u9 (2021-12-14 10:56:10)
Offline
Darker tint2 config.
# ID 1
rounded = 0
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 2
rounded = 6
border_width = 1
background_color = #000000 50
border_color = #000000 100
# ID 3
rounded = 0
border_width = 0
background_color = #ffffff 50
border_color = #000000 0
# Panel
panel_monitor = all
panel_position = bottom center horizontal
panel_items = LTSC
panel_size = 40% 34
panel_margin = 0 0
panel_padding = 10 0 10
panel_dock = 0
wm_menu = 0
panel_layer = bottom
panel_background_id = 1
# Launcher
launcher_padding = 10 0 10
launcher_background_id = 2
launcher_icon_size = 32
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/start.desktop
# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 10 0 0
taskbar_background_id = 2
taskbar_active_background_id = 2
# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 42 0
task_background_id = 1
task_active_background_id = 3
task_urgent_background_id = 3
task_iconified_background_id = 1
# System Tray
systray = 1
systray_padding = 4 2 0
systray_sort = ascending
systray_background_id = 2
#systray_icon_size = 24
#systray_icon_asb = 100 0 0
# Clock
time1_format = %-I:%M %P
time1_font = mono 12
clock_font_color = #ffffff 100
clock_padding = 12 0
clock_background_id = 2
clock_tooltip = %a, %d %b %Y
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
# Fonts
task_font = sans 10
task_font_color = #FFFFFF 100
task_active_font_color = #000000 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #FFFFFF 100
font_shadow = 0
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 1
tooltip_font_color = #d8d8d8 100
tooltip_font = sans 9
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
#mouse_hover_icon_asb = 100 0 -50
Offline
I've decided that I like this one the most:
https://imgur.com/a/pIrzVkw
# ID 1
rounded = 0
border_width = 0
background_color = #000000 0
border_color = #000000 0
# ID 2
rounded = 8
border_width = 2
background_color = #ffffff 50
border_color = #000000 50
# ID 3
rounded = 8
border_width = 1
background_color = #000000 50
border_color = #ffffff 50
# Panel
panel_monitor = all
panel_position = bottom left horizontal
panel_items = LTSC
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 0 0 10
panel_dock = 0
wm_menu = 0
panel_layer = bottom
panel_background_id = 1
# Launcher
launcher_padding = 0 0 5
launcher_background_id = 1
launcher_icon_size = 32
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/start.desktop
launcher_item_app = /usr/share/applications/thunar.desktop
launcher_item_app = /usr/share/applications/audacious.desktop
launcher_item_app = /usr/share/applications/brave-browser.desktop
# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 0 0 5
taskbar_background_id = 1
taskbar_active_background_id = 1
# Tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 1
task_centered = 0
task_maximum_size = 150 32
task_padding = 2 2
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 2
task_iconified_background_id = 3
# System Tray
systray = 1
systray_padding = 4 3 3
systray_sort = ascending
systray_background_id = 3
systray_icon_size = 24
systray_icon_asb = 100 0 0
# Clock
time1_format = %-I:%M %P
time1_font = sans 12
clock_font_color = #ffffff 100
clock_padding = 12 0
clock_background_id = 3
clock_tooltip = %a, %d %b %Y
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
# Tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 3
tooltip_font_color = #ffffff 100
tooltip_font = sans 9
# Fonts
task_font = sans 10
task_font_color = #ffffff 100
task_active_font_color = #000000 100
task_urgent_font_color = #ff0000 100
task_iconified_font_color = #ffffff 100
font_shadow = 0
# Mouse
mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify
Offline
Here's the tintrc file for the final version of my attempt at emulating the Win XP panel
Maybe I should just dropbox it
Last edited by MarkW (2024-12-21 22:09:12)
Offline
Here's the tintrc file for the final version of my attempt at emulating the Win XP panel
Maybe I should just dropbox it
I can put it up for you somewhere if you'd like
I'm curious to see how it looks.
Offline
Here's the tintrc file for the final version of my attempt at emulating the Win XP panel
Maybe I should just dropbox it
Code blocks not working for you?
You must unlearn what you have learned.
-- yoda
Offline
They either aren't or I don't have them enabled. HELP!!!
Offline
Look here:
https://forums.bunsenlabs.org/help.php#bbcode
Scroll down and find Code.
Off topic.
Did you solve this problem:
https://forums.bunsenlabs.org/viewtopic … 25#p139825
Last edited by marens (2024-12-25 00:35:49)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Nothing too elaborate, but looks nice with my dark background and theme. I am kinda proud though of the clock left/right click options, no calendar program, just a yad command using the built-in gtk calendar on left-click, and changing tz-data with the right-click.
#---- Generated by tint2conf dbe0 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1:
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 60
border_color = #000000 30
background_color_hover = #000000 60
border_color_hover = #000000 30
background_color_pressed = #000000 60
border_color_pressed = #000000 30
# Background 2: Default task, Iconified task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #22252b 80
border_color = #777777 30
background_color_hover = #5e6d7d 50
border_color_hover = #eaeaea 44
background_color_pressed = #5e6d7d 95
border_color_pressed = #eaeaea 44
# Background 3:
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #5e6d7d 50
border_color = #ffffff 40
background_color_hover = #5e6d7d 95
border_color_hover = #eaeaea 44
background_color_pressed = #5e6d7d 95
border_color_pressed = #eaeaea 44
# Background 4: Urgent task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #5e6d7d 50
border_color = #aa7733 100
background_color_hover = #5e6d7d 95
border_color_hover = #aa7733 100
background_color_pressed = #5e6d7d 95
border_color_pressed = #aa7733 100
# Background 5: Tooltip
rounded = 1
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #1a1b1c 100
border_color = #31383d 100
background_color_hover = #282828 100
border_color_hover = #282828 100
background_color_pressed = #282828 100
border_color_pressed = #282828 100
# Background 6: Clock, Inactive taskbar, Launcher, Panel, Systray
rounded = 1
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #151515 59
border_color = #151515 100
background_color_hover = #151515 100
border_color_hover = #151515 100
background_color_pressed = #151515 100
border_color_pressed = #151515 100
# Background 7:
rounded = 1
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #151515 59
border_color = #151515 100
background_color_hover = #151515 100
border_color_hover = #151515 100
background_color_pressed = #151515 100
border_color_pressed = #151515 100
# Background 8: Active task
rounded = 4
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #5e6d7d 50
border_color = #858585 100
background_color_hover = #5e6d7d 95
border_color_hover = #a3a3a3 100
background_color_pressed = #151515 100
border_color_pressed = #151515 100
#-------------------------------------
# Panel
panel_items = LTSC
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 2 1 2
panel_background_id = 6
wm_menu = 1
panel_dock = 0
panel_pivot_struts = 0
panel_position = bottom center horizontal
panel_layer = top
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0.5
autohide_height = 2
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0
#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 2
taskbar_background_id = 6
taskbar_active_background_id = 0
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 = 4 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 150 35
task_padding = 2 2 4
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #ffffff 100
task_background_id = 2
task_active_background_id = 8
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
#-------------------------------------
# System tray (notification area)
systray_padding = 0 0 6
systray_background_id = 6
systray_sort = ascending
systray_icon_size = 24
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =
#-------------------------------------
# Launcher
launcher_padding = 6 0 6
launcher_background_id = 6
launcher_icon_background_id = 0
launcher_icon_size = 24
launcher_icon_asb = 100 0 0
launcher_icon_theme = Oxy2-ZEN
launcher_icon_theme_override = 1
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = /usr/share/applications/pcmanfm.desktop
launcher_item_app = /usr/share/applications/lxterminal.desktop
launcher_item_app = /usr/share/applications/pluma.desktop
launcher_item_app = /usr/share/applications/chromium.desktop
#-------------------------------------
# Clock
time1_format = %l:%M %p
time2_format =
time1_font = BankGothic Md BT Semi-Expanded 12
time1_timezone =
time2_timezone =
clock_font_color = #ffffff 100
clock_padding = 3 0
clock_background_id = 6
clock_tooltip = Left-click for calendar | Right-click to change timezone
clock_tooltip_timezone =
clock_lclick_command = yad --calendar --undecorated --button=gtk-close:0 --title=Calendar --window-icon=vcalendar --borders=5 --posx=-1 --posy=-1 --width=300 --on-top
clock_rclick_command = gksu.sh 'lxterminal -e dpkg-reconfigure tzdata'
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_full_cmd =
battery_font_color = #ffffff 100
bat1_format =
bat2_format =
battery_padding = 1 0
battery_background_id = 0
battery_hide = 101
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.1
tooltip_padding = 10 7
tooltip_background_id = 5
tooltip_font_color = #ffffff 100
tooltip_font = Ubuntu 11
Offline
ehhh : gksu ?
Online
ehhh : gksu ?
Hi, that's not actually gksu, I do have older stuff around here that I use gksu on, so I named that particular gksu.sh both to remind my old forgetful self what it does, and the .sh to remind me it's not actually gksu.
It's a small script for authentication that translates what should be a normal request into the gibberish you have to enter to get pkexec to work on random stuff. I hate pkexec, always have. I have some file-manager extensions and other stuff I use this with.
Since "pkexec (random script)" doesn't work unless you jump through some hoops, I did this as a workaround so that you just have to use "gksu.sh (random script), and it works fine.
# Script to convert gksu to pkexec for extensions already written
# without adding a lot of code to the .desktop command line.
# Usage: "gksu.sh [program]"
#!/bin/bash
if [ -z $1 ]; then
echo -e "at least 1 argument required!\n" >> /dev/stderr
exit 1
fi
COMMAND=$1
shift #shift first arg
for ARG in "$@"
do
if [ -z "$ARGS" ]; then
ARGS="$ARG"
else
ARGS="$ARGS $ARG"
fi
done
ARGS=\'$ARGS\'
eval pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY $COMMAND $ARGS
exit 0
Offline