MX-23_fluxbox_alpha2_x64 released for testing

Message
Author
User avatar
i_ri
Posts: 1136
Joined: Tue Jun 30, 2015 12:26 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#171 Post by i_ri »

on the lenovo yoga ibm keyboard the brightness keys become usable active When xfce4-power-manager is running.

User avatar
siamhie
Global Moderator
Posts: 3775
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#172 Post by siamhie »

m_pav wrote: Thu May 11, 2023 3:37 pm
siamhie wrote: Wed May 10, 2023 9:38 pm Do you know which setting in tint2 settings fix the tooltip (volume and wifi) going to the bottom of the panel? Here's what I've found out when I'm in the panel section of tint2 settings.
@siamhie Ceeslans found it on page 2, post #11
https://forum.mxlinux.org/viewtopic.php ... 21#p723621
and I brought it up again in post #140

@m_pav I saw that post earlier but was looking for a solution using the tint2 settings manager.
I'll keep digging through the manager to see if I can come up with something without having to manually edit the rc file.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
ceeslans
Posts: 862
Joined: Sun Apr 14, 2019 3:48 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#173 Post by ceeslans »

m_pav wrote: Thu May 11, 2023 3:37 pm
siamhie wrote: Wed May 10, 2023 9:38 pm Do you know which setting in tint2 settings fix the tooltip (volume and wifi) going to the bottom of the panel? Here's what I've found out when I'm in the panel section of tint2 settings.
@siamhie Ceeslans found it on page 2, post #11
https://forum.mxlinux.org/viewtopic.php ... 21#p723621
and I brought it up again in post #140
The solution I offered is certainly not failproof, but rather a workaround only for an ever-occuring issue in tint2. It may not work on other user's setup/system...
I did notice though that systemtray tooltips almost-always display correctly in tint2 panels of upto 32-34px height... Perhaps you could consider to adjust the default tint2 panel height accordingly?
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+

User avatar
kobaian
Posts: 369
Joined: Fri Jan 03, 2020 5:49 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#174 Post by kobaian »

Jerry3904 wrote: Thu May 11, 2023 11:06 am
dolphin_oracle wrote: Wed May 10, 2023 12:17 pm no.

let's take spanish (es) as an example


in the menu-mx_es file, instead of pointing the submenus to ~/.fluxbox/submenus/appearances point to /usr/share/mxflux/menu/menu-translations/appearances_es or wherever the actual localized submenus happen to be.
Looking at this again, I believe it has finally sunk in. You are suggesting that I change this for example:

Code: Select all

    [submenu] (Aparencia)
    [include] (~/.fluxbox/submenus/appearance)
    [end]
into this:

Code: Select all

 [submenu] (Aparencia)
    [include] (/usr/share/mxflux/menu/menu-translations/appearance_es)
    [end]
There's no such a directory: /usr/share/mxflux/menu/menu-translations/ in MX-23.
I've got /usr/share/mxflux/menu-translations/ instead.
So the file menu-mx_pl from the github does not work out of the box at all, but after changing the [include] paths to the correct ones it works alright.
Desktop PC: AMD Ryzen 5 5600 3.5GHz, MSI B550M PRO-VDH, 32GB RAM, Gigabyte RX 570. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.

User avatar
Melber
Developer
Posts: 1438
Joined: Tue Mar 23, 2021 4:19 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#175 Post by Melber »

@siamhie notifications only seem to work properly with certain autohide_height values. No idea why.
@ceeslans I find a 30 pixel panel a bit too thin

Melber wrote: Wed May 10, 2023 6:02 pm Been fiddling with a new tint2 panel - now with workspaces!
Well, that's annoying. I swear this panel was working properly on the alpha yesterday, today windows are maximising behind the panel again. Strangely it still works as it should in mxfb21.

Anyway, a bit more fiddling to try and get it working on the alpha.
fixed appfinder button - sorry, I had one mxfb- too many in the path

Code: Select all

# Button 1
...
button_lclick_command = rofi -show drun -theme ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi
Next attempt at getting systray notifications and maximised windows to play nicely

Code: Select all

# Panel
...
autohide_height = 42
updated config

Code: Select all

#---- Generated by tint2conf 49ef ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for 
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 3
border_sides = T
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #1d2324 100
border_color = #0F56D9 100
background_color_hover = #000000 60
border_color_hover = #000000 30
background_color_pressed = #000000 60
border_color_pressed = #000000 30

# Background 2: Active taskbar
rounded = 0
border_width = 6
border_sides = L
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #29353B 50
border_color = #0F56D9 100
background_color_hover = #29353B 100
border_color_hover = #cacdd0 100
background_color_pressed = #29353B 100
border_color_pressed = #0F56D9 100

# Background 3: Inactive taskbar
rounded = 0
border_width = 0
border_sides = 
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #29353B 50
border_color = #1d2324 100
background_color_hover = #aaaaaa 39
border_color_hover = #eaeaea 44
background_color_pressed = #555555 4
border_color_pressed = #eaeaea 44

# Background 4: Active task
rounded = 0
border_width = 0
border_sides = 
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #0F56D9 100
border_color = #0F56D9 100
background_color_hover = #0F56D9 50
border_color_hover = #0F56D9 50
background_color_pressed = #1d2324 100
border_color_pressed = #1d2324 100


# Background 5: Default task, Iconified task, Normal Task, Urgent task
rounded = 4
border_width = 0
border_sides = 
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #29353B 50
border_color = #1d2324 100
background_color_hover = #0F56D9 50
border_color_hover = #0F56D9 50
background_color_pressed = #0F56D9 100
border_color_pressed = #0F56D9 100

# Background 6: Battery, Button, Clock, Executor, Launcher, Launcher icon
rounded = 0
border_width = 0
border_sides = 
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #1d2324 100
border_color = #1d2324 100
background_color_hover = #0f56d9 50
border_color_hover = #0f56d9 50
background_color_pressed = #0f56d9 100
border_color_pressed = #0f56d9 100

# Background 7: Systray
rounded = 0
border_width = 0
border_sides = 
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #1d2324 100
border_color = #1d2324 100
background_color_hover = #0f56d9 50
border_color_hover = #0f56d9 50
background_color_pressed = #0f56d9 100
border_color_pressed = #0f56d9 100

# Background 8: Tooltip
rounded = 0
border_width = 0
border_sides = 
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #cacdd0 100
border_color = #cacdd0 100
background_color_hover = #cacdd0 100
border_color_hover = #cacdd0 100
background_color_pressed = #cacdd0 100
border_color_pressed = #cacdd0 100

#-------------------------------------
# Panel
panel_items = PPPP::T:SBCP
panel_size = 100% 45
panel_margin = 1 0
panel_padding = 4 10 8
panel_background_id = 1
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 = 36
strut_policy = minimum
panel_window_name = tint2
disable_transparency = 1
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 50
mouse_pressed_icon_asb = 100 0 50
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0

#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 1
taskbar_padding = 0 0 0
taskbar_background_id = 3
taskbar_active_background_id = 2
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 = 2 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #cacdd0 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 = 0
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 150 28
task_padding = 4 2 2
task_font = Noto Sans 10
task_tooltip = 1
task_thumbnail = 1
task_thumbnail_size = 210
task_font_color = #cacdd0 100
task_normal_font_color = #cacdd0 100
task_active_font_color = #ffffff 100
task_iconified_font_color = #cacdd0 50
task_background_id = 5
task_normal_background_id = 5
task_active_background_id = 4
task_urgent_background_id = 5
task_iconified_background_id = 5
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 2
systray_background_id = 7
systray_sort = ascending
systray_icon_size = 0
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =

#-------------------------------------
# Launcher
launcher_padding = 0 0 12
launcher_background_id = 6
launcher_icon_background_id = 6
launcher_icon_size = 24
launcher_icon_asb = 100 0 0
launcher_icon_theme = 
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1

#-------------------------------------
# Clock
time1_format = %H:%M
time2_format = 
time1_font = Noto Sans Bold 12
time1_timezone = 
time2_timezone = 
clock_font_color = #ffffff 100
clock_padding = 8 2
clock_background_id = 6
clock_tooltip = %A %d %B %Y
clock_tooltip_timezone = 
clock_lclick_command = gsimplecal
clock_rclick_command = mxfb-timer
clock_mclick_command = 
clock_uwheel_command = 
clock_dwheel_command = 

#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = bash -c "[[ -z $(acpi 2>/dev/null) ]] && { ;} || { notify-send 'battery low'; }"
battery_full_cmd = 
bat1_font = Poky 16
bat2_font = DejaVu Sans 8
battery_font_color = #df3030 100
bat1_format = 3
bat2_format = %p
battery_padding = 4 6
battery_background_id = 6
battery_hide = 11
battery_lclick_command = 
battery_rclick_command = 
battery_mclick_command = 
battery_uwheel_command = 
battery_dwheel_command = 
ac_connected_cmd = 
ac_disconnected_cmd = 

#-------------------------------------
# Separator 1
separator = new
separator_background_id = 0
separator_color = #777777 80
separator_style = empty
separator_size = 3
separator_padding = 1 0

#-------------------------------------
# Separator 2
separator = new
separator_background_id = 0
separator_color = #777777 80
separator_style = empty
separator_size = 3
separator_padding = 1 0

#-------------------------------------
# Separator 3
separator = new
separator_background_id = 0
separator_color = #777777 80
separator_style = empty
separator_size = 3
separator_padding = 1 0

#-------------------------------------
# Button 1
button = new
button_icon = /usr/local/share/icons/mxfcelogo-rounded.png
button_text = 
button_tooltip = App Finder
button_lclick_command = rofi -show drun -theme ~/.config/rofi/themes/appfinder/mxfb-appfinder.rasi
button_rclick_command = xfce4-appfinder
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #000000 100
button_padding = 6 0
button_background_id = 6
button_centered = 1
button_max_icon_size = 32

#-------------------------------------
# Button 2
button = new
button_icon = /usr/share/mxflux/tint2/wrench1600_white.png
button_text = 
button_tooltip = Settings manager
button_lclick_command = custom-toolbox /etc/custom-toolbox/mxfb-settings.list -r
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #000000 100
button_padding = 3 0
button_background_id = 6
button_centered = 1
button_max_icon_size = 28

#-------------------------------------
# Button 3
button = new
button_icon = /usr/share/mxflux/tint2/filemanager2.png
button_text = 
button_tooltip = File manager
button_lclick_command = exo-open $HOME
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #000000 100
button_padding = 3 0
button_background_id = 6
button_centered = 1
button_max_icon_size = 24

#-------------------------------------
# Button 4
button = new
button_icon = /usr/share/mxflux/tint2/internet50.png
button_text = 
button_tooltip = Browser
button_lclick_command = sensible-browser
button_rclick_command = 
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #000000 100
button_padding = 5 0
button_background_id = 6
button_centered = 0
button_max_icon_size = 20

#-------------------------------------
# Button 5
button = new
button_icon = /usr/share/mxflux/tint2/logout.svg
button_text = 
button_tooltip = Exit options
button_lclick_command = exit-options
button_rclick_command = ~/mx23-alpha/dot-config/exit/fb-logout
button_mclick_command = 
button_uwheel_command = 
button_dwheel_command = 
button_font_color = #000000 100
button_padding = 6 0
button_background_id = 6
button_centered = 0
button_max_icon_size = 28
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 4 4
tooltip_background_id = 8
tooltip_font_color = #1d2324 100
tooltip_font = Noto Sans 11

User avatar
Melber
Developer
Posts: 1438
Joined: Tue Mar 23, 2021 4:19 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#176 Post by Melber »

@Jerry3904
kobaian wrote: Thu May 11, 2023 6:01 pm There's no such a directory: /usr/share/mxflux/menu/menu-translations/ in MX-23.
I've got /usr/share/mxflux/menu-translations/ instead.
So the file menu-mx_pl from the github does not work out of the box at all, but after changing the [include] paths to the correct ones it works alright.
Can confirm. The path has a menu/ too many.

User avatar
Jerry3904
Administrator
Posts: 23506
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-23_fluxbox_alpha2_x64 released for testing

#177 Post by Jerry3904 »

Excellent, thanks to both.

Will redo tomorrow.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
siamhie
Global Moderator
Posts: 3775
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#178 Post by siamhie »

ceeslans wrote: Thu May 11, 2023 4:05 pm The solution I offered is certainly not failproof, but rather a workaround only for an ever-occuring issue in tint2. It may not work on other user's setup/system...
I did notice though that systemtray tooltips almost-always display correctly in tint2 panels of upto 32-34px height... Perhaps you could consider to adjust the default tint2 panel height accordingly?
@ceeslans I did try that. I tried values all the way to 55 pixels in height but the volume and WiFi tooltips would still show below the panel. All other tooltips (app finder, update notifier, clock and exit options) behave normally.


Melber wrote: Thu May 11, 2023 6:22 pm @siamhie notifications only seem to work properly with certain autohide_height values. No idea why.
@Melber I keep the toolbar visible at all times, so I never bothered with those values.


Now to the good news. All tooltips now show above the panel. I'm not sure what did the trick as I was following an Arch tint2 wiki and had tried all sorts of recommendations.
My panel settings are back to normal and maximized windows sit on top of the panel and not full screen behind it. I'll make notes on what I do when we move to the beta phase.

Code: Select all

#-------------------------------------
# Panel
panel_items = P::T:SCP
panel_size = 55% 35
panel_margin = 0 0
panel_padding = 0 0 0
panel_background_id = 7
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 = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 -2 10
mouse_pressed_icon_asb = 100 7 2
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0

#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 4 4
tooltip_background_id = 7
tooltip_font_color = #dddddd 100
tooltip_font = Noto Sans 11
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
Melber
Developer
Posts: 1438
Joined: Tue Mar 23, 2021 4:19 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#179 Post by Melber »

siamhie wrote: Thu May 11, 2023 9:34 pm @Melber I keep the toolbar visible at all times, so I never bothered with those values.
Same here.
When playing with strut_policy=minimum I found that the value of autohide_height has an influence on where a window maximises to, even when the panel is set to never hide.

Does your config work if you change the panel width to 100% ?

User avatar
siamhie
Global Moderator
Posts: 3775
Joined: Fri Aug 20, 2021 5:45 pm

Re: MX-23_fluxbox_alpha2_x64 released for testing

#180 Post by siamhie »

Melber wrote: Fri May 12, 2023 2:13 am
siamhie wrote: Thu May 11, 2023 9:34 pm @Melber I keep the toolbar visible at all times, so I never bothered with those values.
Same here.
When playing with strut_policy=minimum I found that the value of autohide_height has an influence on where a window maximises to, even when the panel is set to never hide.

Does your config work if you change the panel width to 100% ?

@Melber Nope. Looks like I have a new issue. Seems the panel now is 35 pixels above the bottom of the screen. My tooltips still work but this is odd. If I set it to 99% width then the panel sits at the bottom of the screen as it should.


Image
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

Post Reply

Return to “General”