New to qtile window manager

375 views
Skip to first unread message

Himani Vohra

unread,
Mar 22, 2022, 2:13:17 AM3/22/22
to qtil...@googlegroups.com
Hello Dev,

This is Himani Vohra from India. I have been using i3wm for quite sometime now. I have switched to qtile now.

I'm bit confused though. I want to use nm-applet and blueman-applet. I want them to be shown in the system tray.

How to code nm-applet and blueman-applet in the config file? Also, how to add them in system tray?

Thank you

el Paraguayo

unread,
Mar 22, 2022, 2:16:59 AM3/22/22
to qtil...@googlegroups.com
Just add the Systray widget to the list of widgets in tie bar.

Then, you can start those two apps from an autostart script: http://docs.qtile.org/en/stable/manual/config/hooks.html#autostart

--
You received this message because you are subscribed to the Google Groups "qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qtile-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/CAKvcnoLi1AcxoORRNw5GCpvZ75rcDJEySnq1L1SDsj2vV%2BYK8A%40mail.gmail.com.

Himani Vohra

unread,
Mar 22, 2022, 4:47:48 AM3/22/22
to qtil...@googlegroups.com
Thanks a ton. Never knew the solution to be this simple. 

el Paraguayo

unread,
Mar 22, 2022, 4:51:08 AM3/22/22
to qtil...@googlegroups.com
My pleasure. Enjoy Qtile and let us know if you need anything else.

Himani Vohra

unread,
Mar 24, 2022, 9:55:19 PM3/24/22
to qtil...@googlegroups.com
Hello Dev,

So I created an autostart.sh file in the ~/.config/qtile directory and made it executable. In the config file I subscribed to the startup hook as well. Note: I have not subscribed to startup_once hook as I want to launch every qtile starts or restarts.

However, nm-applet and blueman-applet doesn't launch when starting or re-starting Qtile.

Also, dmenu doesn't launch even though it's installed on my system.

Please advise

Thank you

On Tue, Mar 22, 2022, 11:47 el Paraguayo <elparag...@gmail.com> wrote:

elParaguayo

unread,
Mar 25, 2022, 4:00:07 AM3/25/22
to qtile-dev
First up, the startup_once hook should be ok. Restarting qtile shouldn't cause nm-applet and blueman-applet to quit.

Have you checked your logfile to see if there are any error messags?

You can check to see if the apps are running by doing something like "pgrep nm-applet" and seeing if you get a PID returned or not. If you do then there's something wrong with the widget, if you don't then there's something wrong with your script.

As for dmenu, how are you trying to launch it? What happens if you run "echo test | dmenu" in a terminal?

Himani Vohra

unread,
Mar 25, 2022, 6:16:44 AM3/25/22
to qtil...@googlegroups.com
Hello Dev,

"echo test | dmenu" runs the dmenu on the top. However, it doesn't launch with the dmenu script in the document.

pgrep blueman-applet doesn't return anything and pgrep nm-applet returns id 2111.

Am I missing something? Should I attach the config file and autostart file?

Thank you

Himani Vohra

unread,
Mar 25, 2022, 6:22:33 AM3/25/22
to qtil...@googlegroups.com
Hello Dev,

"echo test | dmenu" runs the dmenu on the top. However, it doesn't launch with the dmenu script in the document.

pgrep blueman-applet doesn't return anything and pgrep nm-applet returns id 2111.

Am I missing something? Should I attach the config file and autostart file?

Thank you


P.S: nm-applet is working now. Blueman-applet still doesn't show up on the bar. Also, is there anyway to remove "default config" and "Press <M-r>to spawn" text from the bar? 

Himani Vohra

unread,
Mar 25, 2022, 7:10:05 AM3/25/22
to qtil...@googlegroups.com
Hello Dev,

"echo test | dmenu" runs the dmenu on the top. However, it doesn't launch with the dmenu script in the document.

pgrep blueman-applet doesn't return anything and pgrep nm-applet returns id 2111.

Am I missing something? Should I attach the config file and autostart file?

Thank you


P.S: nm-applet is working now. Blueman-applet still doesn't show up on the bar. Also, is there anyway to remove "default config" and "Press <M-r>to spawn" text from the bar? 

After commenting the dmenu_height line, I am able to spawn dmenu. However, it's not same as I can spawn on i3. It doesn't show options as I type just like in i3wm. How can I achieve this in qtile? 

el Paraguayo

unread,
Mar 25, 2022, 7:31:19 AM3/25/22
to qtil...@googlegroups.com
Start blueman-applet from a command line and see if any error messages appear. 

As for dmenu, I recall there was an issue where keyboard input wasn't being passed to dmenu.

Lastly, if you're seeing the default config message and it's not in your config file then you've got an error in your config as qtile falls back to the default config when there's an error.

If you need help with the config then please post an issue/discussion on our GitHub page, it's really hard to debug issues via Google groups!

You received this message because you are subscribed to a topic in the Google Groups "qtile-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qtile-dev/0X1_oB7a5UQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qtile-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/CAKvcnoJwa%3DAKzTq%2BJDuOkxfzX3ax%2BX3VSBS122CmOAUyq5CvsA%40mail.gmail.com.

Himani Vohra

unread,
Mar 25, 2022, 8:03:45 AM3/25/22
to qtil...@googlegroups.com
Thanks for the response. Dmenu didn't work as expected, so I switched to rofi, which is working fine. Bluetooth manager is working too.

Thanks a ton. My last question is can I remove the "default config" and "Press <M-r> to spawn" text from the bar? 

Thank you again

el Paraguayo

unread,
Mar 25, 2022, 8:07:31 AM3/25/22
to qtil...@googlegroups.com
I answered the config point in my previous email.

Reply all
Reply to author
Forward
0 new messages