[xubuntu-users] Adding items to a panel with a bash script
Victor Forberger
vforberger at fastmail.fm
Mon Oct 25 14:19:18 UTC 2021
On 10/21/21 1:24 PM, Charles M wrote:
> What is the simplest way to add a new item to a panel from the command line?
>
> I see that ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
> holds information about what's on the panel, but I'm not exactly sure
> how I would add something like the pulseaudio plugin for example.
>
> I found xfconf-query and it appears to be able to do things with
> xfce4-panel, just again not sure how I could add something like the
> pulseaudio plugin via it.
>
> Thanks,
>
> Charles
>
Since the panel is part of the desktop GUI, modifications are best done
through the desktop.
Right-click on the panel and select Panel Preferences. More info about
modifying the panel in Xubuntu 20.04 is available at
https://docs.xubuntu.org/2004/user/C/settings-preferences.html
For customized installation, I believe you create a model desktop, and
then use that model as the customized installation.
I guess you could reverse-engineer what modifications do via the GUI and
then use terminal commands to re-create those actions.
Good luck.
- Victor
--
Victor Forberger
vforberger at fastmail.fm
blog: http://linuxatty.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20211025/e42660b1/attachment.sig>
More information about the xubuntu-users
mailing list