You are not logged in.

#1 2020-10-26 20:47:31

Darknight
New Member
Registered: 2020-10-26
Posts: 4

[SOLVED] Lithium installation: dmenu and tint2 issues

Hi all, I have been using our Bunsenlabs releases for several years. I have installed Lithium in these days, and I ran into two problems:

- I moved the panel on the top of desktop, and I would move dmenu at the bottom. I modified the config file of dmenu, commented the top line and decommented the bottom line, but dmenu doesn't appear at the bottom of desktop. Nothing appears typing alt+f3. If I restore the original configuration, dmenu appears again at the top of desktop, above the panel. What can I do?

- in the tint2 panel the launchers don't appear, not the browser nor terminal, nor file manager. The config file is correctly written. What's the problem?

Thank you in advance

Last edited by Darknight (2020-10-26 21:51:44)

Offline

#2 2020-10-26 20:52:05

damo
....moderator....
Registered: 2015-08-20
Posts: 6,404

Re: [SOLVED] Lithium installation: dmenu and tint2 issues

What's the problem?

We have no idea without running bl-crystal_ball  Please post your modified tint2 and dmenu configs - using "[ code ]" tags.


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

Online

#3 2020-10-26 21:03:28

Darknight
New Member
Registered: 2020-10-26
Posts: 4

Re: [SOLVED] Lithium installation: dmenu and tint2 issues

Ok... sure, I can post the configuration that is running:

/home/user/.config/tint2/lithium.tint2rc

#---------------------------------------------
# TINT2 CONFIG FILE "lithium.tint2rc"
#
# A simple theme. Note that many properties are set to "0"
# Please see 'man tint2' for full configuration options
#---------------------------------------------
#---- Generated by tint2conf 0320 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#
# Tweaked for BunsenLabs
#
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Iconified task, Panel
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #cccccc 0
border_color = #828282 0
background_color_hover = #cccccc 0
border_color_hover = #828282 0
background_color_pressed = #cccccc 0
border_color_pressed = #828282 0

# Background 2: Active task
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 40
border_color = #d8d8d8 0
background_color_hover = #ffffff 20
border_color_hover = #d8d8d8 0
background_color_pressed = #ffffff 30
border_color_pressed = #d8d8d8 0

# Background 3: Default task (inactive tasks that are not iconified)
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 0
border_color = #000000 0
background_color_hover = #ffffff 10
border_color_hover = #000000 0
background_color_pressed = #ffffff 20
border_color_pressed = #000000 0

# Background 4: Urgent task
rounded = 0
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ff0034 20
border_color = #ff0034 0
background_color_hover = #ffffff 20
border_color_hover = #ffffff 0
background_color_pressed = #ffffff 30
border_color_pressed = #ffffff 0

# Background 5: Inactive taskbar
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #000000 20
#border_color = #000000 0
#background_color_hover = #ff0000 100
#border_color_hover = #000000 0
#background_color_pressed = #808384 0
#border_color_pressed = #000000 0

# Background 6: Active taskbar
rounded = 0
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ffffff 5
border_color = #000000 0
#background_color_hover = #000000 0
#border_color_hover = #000000 0
#background_color_pressed = #000000 0
#border_color_pressed = #000000 0

# Background 7: Tooltip
rounded = 2
border_width = 1
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #3D6270 100
border_color = #3D6270 100
background_color_hover = #000000 0
border_color_hover = #000000 0
background_color_pressed = #000000 0
border_color_pressed = #000000 0

#-------------------------------------
# Panel
panel_items = PTSCP
panel_size = 99% 30
panel_margin = 0 0
panel_padding = 6 0 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = top center horizontal
panel_layer = bottom
panel_monitor = all
panel_shrink = 0
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 0
# enable mouse_hover
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 - Panel item = T
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 2 0 4 (the last number determines icon spacing)

taskbar_background_id = 5
taskbar_active_background_id = 6

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 = Sans 9
taskbar_name_font_color = #828282 100
taskbar_name_active_font_color = #828282 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left

#-------------------------------------
# Task
task_text = 0
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 20
task_maximum_size = 30 30
task_padding = 2 2
task_font = Sans 9
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_font_color = #d8d8d8 60
task_active_font_color = #d8d8d8 100
task_urgent_font_color = #ffffff 100
task_iconified_font_color = #d8d8d8 60
task_icon_asb = 70 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 50 0 0
task_background_id = 3
task_active_background_id = 2
task_urgent_background_id = 4
task_iconified_background_id = 1
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#-------------------------------------
# System tray (notification area) - Panel item = S
systray_padding = 1 1 1
systray_background_id = 5
systray_sort = right2left
systray_icon_size = 22
systray_icon_asb = 100 0 0
systray_monitor = primary
systray_name_filter =

#-------------------------------------
# Launcher - Panel item = L
launcher_padding = 8 4 4
launcher_background_id = 5
launcher_icon_background_id = 0
launcher_icon_size = 0
launcher_icon_asb = 100 0 0
launcher_icon_theme = Papirus-Bunsen-Dark-bluegrey
launcher_icon_theme_override = 0
startup_notifications = 0
launcher_tooltip = 1
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

#-------------------------------------
# Clock - Panel item = C

#24hr clock (for seconds, use %H:%M:%S)
# See 'man strftime' for other time and date formats.
time1_format = %H:%M
#12hr clock with am/pm (%p for AM/PM)
#time1_format = %l:%M%P
time2_format =
#font example
#time1_font = Futura Bk BT bold 10
time1_font = Sans bold 12
time1_timezone =
time2_timezone =
clock_font_color = #DFDFDF 100
clock_padding = 6 0 6
clock_background_id = 5

#The day and date
clock_tooltip = %A %F
clock_tooltip_timezone =
#Show calendar
clock_lclick_command = gsimplecal
clock_rclick_command = bl-beepmein-pipemenu --standalone
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =

#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
battery_full_cmd =
bat1_font = Monospace 8
bat2_font = Monospace 8
battery_font_color = #b5b5b5 100
bat1_format =
bat2_format =
battery_padding = 2 0
battery_background_id = 0
battery_hide = 96
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
tooltip_hide_timeout = 0
tooltip_padding = 8 8
tooltip_background_id = 7
tooltip_font_color = #d3dae3 100
tooltip_font = Sans normal 10

#-------------------------------------
# Buttons - Panel item = P

# Show Root Menu (BL-flame icon)
button = new
button_icon = start-here-bunsenlabs
button_text =
button_tooltip = Main Menu
button_lclick_command = jgmenu_run
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #ffffff 100
button_padding = 2 2
button_background_id = 5
button_centered = 1
button_max_icon_size = 28

# Exit dialog (Power icon)
button = new
#button_icon = /usr/share/images/bunsen/exit/light/poweroff.png
button_icon = system-shutdown-symbolic
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 = 5
button_centered = 1
button_max_icon_size = 20

/home/user/.config/dmenu/dmenu-bind.sh

#!/bin/bash
#
# BL-Lithium theme colours
#
# written for BunsenLabs by damo <damo@bunsenlabs.org> May 2015
# modified July 2017
#
# -nb    normal background colour
# -nf    normal foreground colour
# -sb    selected background colour
# -sf    selected foreground colour
#
# -b    place menu at bottom (otherwise appears at top)
#
# See 'man dmenu' for more information.

USAGE="\n  To start dmenu at the top or bottom of the screen,\n\
  add or remove -b in the dmenu_run command in dmenu-bind.sh.\n\
  -b     locate at bottom\n\n\
  To change colours, edit the options:\n\n\
  -nb    normal background colour\n\
  -nf    normal foreground colour\n\
  -sb    selected background colour\n\
  -sf    selected foreground colour\n\n\
  Get all configuration options with 'man dmenu'.\n"

if [[ $# = 1 ]]; then
    case $1 in
        -h|--help   ) echo -e "$USAGE"
        exit 0;;
        *           ) echo -e "\n  Invalid command argument\n"
        exit 1;;
    esac
fi

# BL-Lithium
# Top
#dmenu_run -i -nb '#22373F' -nf '#C6D5E5' -sb '#446F6C' -sf '#151617'
# Bottom
dmenu_run -i -b -nb '#22373' -nf '#C6D5E5' -sb '#446F6C' -sf '#151617'

Last edited by Darknight (2020-10-26 21:08:48)

Offline

#4 2020-10-26 21:17:54

sleekmason
Member
Registered: 2018-05-22
Posts: 259

Re: [SOLVED] Lithium installation: dmenu and tint2 issues

You are missing an F in the first color code line. You can always run your line in a terminal to check for errors:)

dmenu_run -i -b -nb '#22373' -nf '#C6D5E5' -sb '#446F6C' -sf '#151617'

needs to be:

dmenu_run -i -b -nb '#22373F' -nf '#C6D5E5' -sb '#446F6C' -sf '#151617'

Last edited by sleekmason (2020-10-26 21:19:53)

Offline

#5 2020-10-26 21:28:00

damo
....moderator....
Registered: 2015-08-20
Posts: 6,404

Re: [SOLVED] Lithium installation: dmenu and tint2 issues

You don't have a Launcher item in the tint2: add "L"

panel_items = LPTSCP

As noted, there is a malformed hexcode in dmenu_bind.sh.

Generally you could test for any error messages by running commands in a terminal...

./.config/dmenu/dmenu-bind.sh
tint2 -c ~/.config/tint2/lithium.tint2rc

NB I always work on a copy of a config like tint2, calling it eg lithium-top.tint2rc, just in case there is a problem wink

The config file is correctly written.

...if you don't want launchers wink

Last edited by damo (2020-10-26 21:35:39)


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

Online

#6 2020-10-26 21:41:41

Darknight
New Member
Registered: 2020-10-26
Posts: 4

Re: [SOLVED] Lithium installation: dmenu and tint2 issues

oh, it's true, thank you, perhaps I erased accidentally... smile Thanks a lot, now it works fine

sleekmason wrote:

You are missing an F in the first color code line. You can always run your line in a terminal to check for errors:)

dmenu_run -i -b -nb '#22373' -nf '#C6D5E5' -sb '#446F6C' -sf '#151617'

needs to be:

dmenu_run -i -b -nb '#22373F' -nf '#C6D5E5' -sb '#446F6C' -sf '#151617'

Offline

#7 2020-10-26 21:48:52

Darknight
New Member
Registered: 2020-10-26
Posts: 4

Re: [SOLVED] Lithium installation: dmenu and tint2 issues

Ok, thank you, it was less difficult than I thought. It works fine now smile
Great Lithium!


damo wrote:

You don't have a Launcher item in the tint2: add "L"

panel_items = LPTSCP

As noted, there is a malformed hexcode in dmenu_bind.sh.

Generally you could test for any error messages by running commands in a terminal...

./.config/dmenu/dmenu-bind.sh
tint2 -c ~/.config/tint2/lithium.tint2rc

NB I always work on a copy of a config like tint2, calling it eg lithium-top.tint2rc, just in case there is a problem wink

The config file is correctly written.

...if you don't want launchers wink

Offline

Board footer

Powered by FluxBB