You are not logged in.
Pages: 1
hi
how to create a super simple panel button which, when you click on the button, simply displays the output of a BASH script. No GUI, no configuration options.
The display would be a file path that, when you click on the filepath, the file opens with it's normal, associated application.
hoping there's a non-code way. i mean, i hope there's a way without building a full-fledged panel plugin.
thx!
Last edited by johnywhy (2020-05-21 15:47:22)
arch xfce x86_64
Offline
I think this is what your looking for??? You would just add your script as the command and maybe zenity to display the output.
https://docs.xfce.org/xfce/xfce4-panel/launcher?s[]=create&s[]=launcher
But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell
Offline
I think this is what your looking for??? You would just add your script as the command and maybe zenity to display the output.
https://docs.xfce.org/xfce/xfce4-panel/launcher?s[]=create&s[]=launcher
Thx for that! I think i would use the exec key
https://specifications.freedesktop.org/ … 01s07.html
It would be nice to match the appearance of other plugins, for example the Directory plugin. My plugin is somewhat similar-- popup list of files. If i use zenity, it's going to look different. Any ideas?
There's also GenMon
https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin
[Edit] GenMon apparently displays info "cyclically", which isn't what i want.
Last edited by johnywhy (2020-05-24 01:28:14)
arch xfce x86_64
Offline
You could create what you need with a gtk dialogue. It may look better.
But it's all right, when you're all in pain and you feel the rain come down
It's alright, when you find your way, then you see it disappear
It's alright....
Chris Cornell
Offline
You could create what you need with a gtk dialogue. It may look better.
Is it possible to get display like xfce Directory plugin, without building a whole plugin from scratch?
i use yad, which i think is a fork of zenity, and i think displays gtk dialogs.
http://manpages.ubuntu.com/manpages/xen … yad.1.html
Performance is weird on arch xfce.
https://forum.xfce.org/viewtopic.php?pid=58273
Last edited by johnywhy (2020-05-24 01:40:40)
arch xfce x86_64
Offline
Pages: 1
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 530.21 KiB (Peak: 531.19 KiB) ]