LBCrion / sfwbar

S* Floating Window Bar
GNU General Public License v3.0
265 stars 17 forks source link

No taskbar/taskbar not showing opened applications #214

Closed clemencyworld1 closed 1 month ago

clemencyworld1 commented 1 month ago

I installed the git version of sfwbar but it doesn't show taskbar items. I went ahead to install sfwbar-1.0_beta13, yet the same outcome. I cannot say what the problem is, i have installed sfwbar before in antix linux but now i decided to use debian stable. This is the terminal ouput i get:

"clemency@debian:~$ sfwbar 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:128: missing identifier after 'popup' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:147: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:152: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:160: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:165: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/sfwbar.config:41: Invalid property in a widget declaration 17:34:49.23 /home/clemency/.config/sfwbar/sfwbar.config:60: invalid action index 17:34:49.23 /home/clemency/.config/sfwbar/sfwbar.config:72: invalid action index

(sfwbar:1360): GLib-CRITICAL *: 17:34:49.457: g_hash_table_remove_all: assertion 'hash_table != NULL' failed 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token i3-ipcinput type:keyboard xkb_switch_layout nexti3-ipc*input type:keyboard xkb_switch_layout prev"

Also to mention, the menu widget freezes the system when i try to browse applications. The show desktop widget is also not working. Nevertheless my main concern is the taskbar. My compositor is wayfire 0.8.0. Thanks for anticipated help 20240803_17h40m43s_grim

LBCrion commented 1 month ago

I'm travelling this week, so will only be able to look in detail the week after next, but looking at the config errors, I wonder if your config may need updating for a new version of sfwbar (the config format has evolved somewhat). Can you try running sfwbar with the default config and see if it works? sfwbar -f /usr/share/sfwbar/sfwbar.config

On Sat, 3 Aug 2024, 18:45 Okeke Uchechukwu Callistus, < @.***> wrote:

I installed the git version of sfwbar but it doesn't show taskbar items. I went ahead to install sfwbar-1.0_beta13, yet the same outcome. I cannot say what the problem is, i have installed sfwbar before in antix linux but now i decided to use debian stable. This is the terminal ouput i get:

@.***:~$ sfwbar 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:128: missing identifier after 'popup' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:147: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:152: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:160: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/cal.widget:165: missing '(' after 'function' 17:34:49.10 /home/clemency/.config/sfwbar/sfwbar.config:41: Invalid property in a widget declaration 17:34:49.23 /home/clemency/.config/sfwbar/sfwbar.config:60: invalid action index 17:34:49.23 /home/clemency/.config/sfwbar/sfwbar.config:72: invalid action index

(sfwbar:1360): GLib-CRITICAL *: 17:34:49.457: g_hash_table_remove_all: assertion 'hash_table != NULL' failed 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.48 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token 17:34:49.49 config string:1: Unexpected toplevel token i3-ipcinput type:keyboard xkb_switch_layout nexti3-ipc*input type:keyboard xkb_switch_layout prev"

Also to mention, the menu widget freezes the system when i try to browse applications. The show desktop widget is also not working. Nevertheless my main concern is the taskbar. My compositor is wayfire 0.8.0. Thanks for anticipated help 20240803_17h40m43s_grim.png (view on web) https://github.com/user-attachments/assets/f566d60f-6e43-4063-97a2-29de0624492c

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFH57DSZHPOSFQ3AA33ZPUCL5AVCNFSM6AAAAABL6BQIYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DMNBYGQYTKOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

clemencyworld1 commented 1 month ago

The config i used is from git version. I will try config from the installed version to see if anything changes. Thanks for prompt response.

LBCrion commented 1 month ago

I guess the errors above are from using the config from the git version with beta13? You shouldn't get these errors if you're using git config with git executable.

On Sat, 3 Aug 2024, 20:21 Okeke Uchechukwu Callistus, < @.***> wrote:

The config i used is from git version. I will try config from the installed version to see if anything changes. Thanks for prompt response.

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/214#issuecomment-2267093491, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFAJCGXU4PFVS7LV35DZPUNTDAVCNFSM6AAAAABL6BQIYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGA4TGNBZGE . You are receiving this because you commented.Message ID: @.***>

clemencyworld1 commented 1 month ago

So i copied the installed config from "/usr/share/sfwbar" to "~/.config/". Running sfwbar on terminal i got: " clemency@debian:~$ sfwbar

(sfwbar:2291): GLib-CRITICAL *: 00:41:59.972: g_hash_table_remove_all: assertion 'hash_table != NULL' failed i3-ipcinput type:keyboard xkb_switch_layout nexti3-ipc*input type:keyboard xkb_switch_layout prevsh: 1: python: not found"

Also, clicking menu widget does nothing. I have python 3.11.2 installed, don't know why the "python: not found" error.

20240804_00h41m43s_grim

This is the config file: sfwbar.txt

clemencyworld1 commented 1 month ago

Seems the problem is with wayfire. I installed labwc and the taskbar is shown, though the menu widget still does nothing (that's not a problem for me as i use jgmenu). Only if i know how to troubleshoot the wayfire issue.

20240804_02h01m32s_grim

clemencyworld1 commented 1 month ago

The wayfire (0.7.4) from debian repository doesn't have this issue.

Consolatis commented 1 month ago

Also, clicking menu widget does nothing. I have python 3.11.2 installed, don't know why the "python: not found" error.

It looks like you have some older sfwbar widget config somewhere, most likely some startmenu.widget. The older version used python which isn't available on Debian (and used to point to python 2 from what I remember). Uninstalling the Debian version of sfwbar when running the git version should fix this. Alternatively you could change PipeRead "python << END to PipeRead "python3 << END in that startmenu.widget file.

LBCrion commented 1 month ago

Do you have ~/.config/sfwbar/start menu.widget by any chance? If you do, try deleting or renaming to see if that helps with the start menu.

On Sun, 4 Aug 2024, 03:41 Consolatis, @.***> wrote:

Also, clicking menu widget does nothing. I have python 3.11.2 installed, don't know why the "python: not found" error.

It looks like you have some older sfwbar widget config somewhere, most likely some startmenu.widget. The older version used python which isn't available on Debian (and used to point to python 2 from what I remember). Uninstalling the Debian version of sfwbar when running the git version should fix this. Alternatively you could change PipeRead "python << END to PipeRead "python3 << END in that startmenu.widget file.

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/214#issuecomment-2267235939, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFBIRIVVHFKTOS2CMYLZPWBE5AVCNFSM6AAAAABL6BQIYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGIZTKOJTHE . You are receiving this because you commented.Message ID: @.***>

LBCrion commented 1 month ago

Looking at the changelog for wayfire 0.8.0, foreign-toplevel protocol has been moved to a plugin. Can you please check if that plugin is activated? This is the protocol sfwbar uses for exchanging window information with the compositor.

On Sun, 4 Aug 2024, 03:30 Okeke Uchechukwu Callistus, < @.***> wrote:

The wayfire (0.7.4) from debian repository doesn't have this issue.

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/214#issuecomment-2267232184, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFBDJE27V5OCI4SWZZTZPV7ZPAVCNFSM6AAAAABL6BQIYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGIZTEMJYGQ . You are receiving this because you commented.Message ID: @.***>

clemencyworld1 commented 1 month ago

Yes, the issue is with wayfire plugin. i played around with plugins through wcm and the taskbar, show-desktop and startmenu widgets started working. I cannot pin point the plugin that activated it. I deactivated the plugin you mentioned but the taskbar is still there.

clemencyworld1 commented 1 month ago

Yes, the issue is with wayfire plugin. i played around with plugins through wcm and the taskbar, show-desktop and startmenu widgets started working. I cannot pin point the plugin that activated it. I deactivated the plugin you mentioned but the taskbar is still there.

Thanks for your help

LBCrion commented 1 month ago

The plugin you need for the taskbar is foreign-toplevel. You may need to add it to the plugins section of your wayfire.ini of you are using a custom config if you want to use taskbar with 0.8.0

On Sun, 4 Aug 2024, 06:24 Okeke Uchechukwu Callistus, < @.***> wrote:

Yes, the issue is with wayfire plugin. i played around with plugins through wcm. I cannot pin point the plugin that activated it. I deactivated the plugin you mentioned but the taskbar is still there.

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/214#issuecomment-2267297815, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFCTQX4RGBELVSDRZJDZPWUH3AVCNFSM6AAAAABL6BQIYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGI4TOOBRGU . You are receiving this because you commented.Message ID: @.***>

clemencyworld1 commented 1 month ago

Yes, the issue is with wayfire plugin. i played around with plugins through wcm and the taskbar, show-desktop and startmenu widgets started working. I cannot pin point the plugin that activated it. I deactivated the plugin you mentioned but the taskbar is still there.

You are correct. The foreign-toplevel protocol plugin provides the function. I did not get the taskbar when i rebooted but after enabling the plugin; it works.

LBCrion commented 1 month ago

It looks like wayfire introduced a side channel ipc for window and workspace tracking and manipulation. I need to look into it in detail, but at a first glance, it should be possible to use it to implement full window-workspace functionality (I.e. pager, window placement, taskbar filtering by workspace and drag-to-workspace).

On Sun, 4 Aug 2024, 06:35 Okeke Uchechukwu Callistus, < @.***> wrote:

Yes, the issue is with wayfire plugin. i played around with plugins through wcm and the taskbar, show-desktop and startmenu widgets started working. I cannot pin point the plugin that activated it. I deactivated the plugin you mentioned but the taskbar is still there.

You are correct. The foreign-toplevel protocol plugin provides the function. I did not get the taskbar when i rebooted but after enabling the plugin; it works.

— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/214#issuecomment-2267303040, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFE322DNYM7RCU3VN2DZPWVQJAVCNFSM6AAAAABL6BQIYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGMYDGMBUGA . You are receiving this because you commented.Message ID: @.***>