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?

On Friday, 25 March 2022 at 01:55:19 UTC [email protected] wrote:

> 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 <[email protected]> wrote:
>
>> 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
>>
>> On Tue, 22 Mar 2022, 06:13 Himani Vohra, <[email protected]> wrote:
>>
>>> 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
>>>
>>> -- 
>>> 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/qtile-dev/CAKvcnoLi1AcxoORRNw5GCpvZ75rcDJEySnq1L1SDsj2vV%2BYK8A%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/qtile-dev/CAKvcnoLi1AcxoORRNw5GCpvZ75rcDJEySnq1L1SDsj2vV%2BYK8A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> 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 [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/qtile-dev/CADPQLhD2wNoAhtVUWbNdJXfXmSAfDSCRU-LO0MEdsLX18DWYEg%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/qtile-dev/CADPQLhD2wNoAhtVUWbNdJXfXmSAfDSCRU-LO0MEdsLX18DWYEg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/cbc227ff-a760-45e9-859c-6ded7f76155dn%40googlegroups.com.

Reply via email to