Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-10-15 16:02:32

Docop
Member
Registered: 2023-10-15
Posts: 3

-solve- Panel no item apear after adding via xfconf-query

Hi
While i can set theme, change dpi... with the xfconf-query command, all things related to the panel cannot give any result. I do see the item line being added over : setting-editor  or into:  /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml  But nothing show up (at the taskbar) after a reset or into the gui: xfce4-panel -r
-adding the option : --create  don't change either.
xfce4-panel version: 4.18.2   over a fresh iso install distro.
  **adding via gui, add new item work fine. But after doing that, i see the same entry on the .xml file.. that the script do, but why cannot set item properly ?

#!/bin/bash
sudo apt install -y xfce4-xkb-plugin
# Add plugin:
# plugin panel: keyboard layout
xfconf-query -c xfce4-panel -pn "/plugins/plugin-1" -t string -s 'xkb'
xfconf-query -c xfce4-panel -pn "/plugins/plugin-1/display-name" -t string -s 1
xfconf-query -c xfce4-panel -pn "/plugins/plugin-1/display-scale" -t string -s 52
xfconf-query -c xfce4-panel -pn "/plugins/plugin-1/display-type" -t string -s 1

** using -p or -pn  don't seem to do much difference.

Thanks for hints..

Last edited by Docop (2023-10-15 18:38:52)

Offline

#2 2023-10-15 18:41:26

Docop
Member
Registered: 2023-10-15
Posts: 3

Re: -solve- Panel no item apear after adding via xfconf-query

ok all good, i forgot or haven't read a part last week. you need to show up the order of what plugin you want to show up.
1- config plugin needed
2- set order and plugin number to show off in taskbar
.... /panels/panel-1/plugin-ids -t int -s 7 ... all number to cover all from menu, to ntwrk, to pwr.. and remove plugin 9 to not have thoses anoying update to do ..

Offline

Board footer

Powered by FluxBB