You are not logged in.
Hi guys.
I want to know how to add items (battery monitor, clock, Notification Area) to panel in command line.
Thank you.
Offline
xfce4-panel --add <PLUGIN>
...where <PLUGIN> is the name of the plugin. In your example above, either ""battery" "clock" or "systray". If you have more than one panel, you will be prompted for the panel to use.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you ToZ.
How do I specify the panel with command line?
Offline
How do I specify the panel with command line?
It doesn't look like you can. If you have more than one panel, you will be prompted via the dialog to select a panel.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Nice, thank you.
Offline
hi, how to add the notification area?
none of these work. No error, but i don't see anything on the panel.
guest@porteus:~$ /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libsystray.so 19 14715359 systray Notification Area Area where notification icons appear
guest@porteus:~$ xfce4-panel --add "Notification Area"
guest@porteus:~$ xfce4-panel --add notificationarea
guest@porteus:~$ xfce4-panel --add Notification Area
guest@porteus:~$ xfce4-panel --add NotificationArea
THX
Last edited by johnywhy (2018-09-03 11:23:24)
arch xfce x86_64
Offline
johnywhy, Notification Area is in fact "systray", so try this:
xfce4-panel --add systray
Offline
Awesome, Spass!
Is there any command to remove systray?
THX
Update:
To answer my own question, i think these are clues. Ami on the right track?
Hopefully i can remove simply knowing the name of the panel (panel 1?) and the name of the item (systray)
if you want to delete a property, and all properties beneath it, then you can add the “--recursive” option to the command:
$ xfconf-query --channel 'xfce4-panel' --property '/panels/panel-3' --reset --recursive
https://forum.xfce.org/viewtopic.php?id=8619
-------
Reset (and remove) property /test1 in the channel test (this preserves any properties under /test1, for example /test1/test):
xfconf-query -c test -p /test1 -r
Reset (and remove) property /test1 in the channel test and all properties under it:
xfconf-query -c test -p /test1 -r -R
https://docs.xfce.org/xfce/xfconf/xfconf-query
Last edited by johnywhy (2018-09-06 09:13:32)
arch xfce x86_64
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 546.82 KiB (Peak: 547.66 KiB) ]