Artix Linux Forum

Artix Linux => System => Topic started by: kiblaster on 09 October 2023, 21:55:28

Title: Show dialog for usb key etc. [SOLVED]
Post by: kiblaster on 09 October 2023, 21:55:28
Like on lxqt when you insert a usb key and it shows a dialog.

I use nemo as file manager and independent WM (bspwm).
Title: Re: Show dialog for usb key etc.
Post by: LemonPie on 10 October 2023, 11:09:35
https://github.com/coldfix/udiskie the closest thing I can thing of.
also a simple script that looks at udev event would do.
Title: Re: Show dialog for usb key etc.
Post by: kiblaster on 10 October 2023, 20:06:27
Is it supposed to open a notification that clicked opens the file manager?
Title: Re: Show dialog for usb key etc.
Post by: gripped on 11 October 2023, 15:27:49
Is it supposed to open a notification that clicked opens the file manager?
For that you'd need something a notification daemon as well. Assuming bspwm doesn't have one.
A quick search throws up https://github.com/dunst-project/dunst

You might get more specific ideas here https://old.reddit.com/r/bspwm/

In fact searching 'usb' on the sub produced this
https://github.com/carvalhudo/usb-rofi
Which, from a quick scan, seems to do what you want ?
Title: Re: Show dialog for usb key etc.
Post by: kiblaster on 11 October 2023, 20:08:34
I use dunst but clicking doesn't open the file manager.
I tried lxqt live and there it was so.
Maybe it use udiskie and dusnt too.
Do I need to configure it?

 I'll look usb-rofi thanks.

I can click on udiskie tray to do that though and it automounts fine.
Title: Re: Show dialog for usb key etc.
Post by: Hitman on 12 October 2023, 22:10:52
If you're willing to change your file manager, doublecmd has inbuilt support for managing the ext mount stuff without (to my knowledge) anything running, except for dbus of course. They will just pop up in the top right corner.
Title: Re: Show dialog for usb key etc.
Post by: kiblaster on 13 October 2023, 20:19:00
On nemo they pop up too, in Devices menu.

I found out the problem I need to use middle click to perform the action with this config.
I copied one from internet.