You are not logged in.
Pages: 1
[DEBIAN 12 XFCE]
This is my first time writing my Automated Script, to setup Debian, but when changing the settings via "xfconf-query" and when i ran the script, i got this as output:
Setting up XFCE Settings
Panel 1/4 Finished
Property "/panels/panel-1/size" does not exist on channel "xfce4-panel". If a new property should be created, use the --create option.
Property "/panels/panel-1/position" does not exist on channel "xfce4-panel". If a new property should be created, use the --create option.
Property "/plugins/plugin-1" does not exist on channel "xfce4-panel". If a new property should be created, use the --create option.
XSettings 1/2 Finished
XSettings 2/2 Finished
Property "/backdrop/screen0/monitoreDP-1/workspace0/last-image" does not exist on channel "xfce4-desktop". If a new property should be created, use the --create option
Heres that part of the script if its helpful:
echo "Setting up XFCE Settings"
#Panel Configuration
xfconf-query -c xfce4-panel -p /panels/panel-2 -r -R && echo "Panel 1/4 Finished"
xfconf-query -c xfce4-panel -p /panels/panel-1/size -s 36 && echo "Panel 2/4 Pinished"
xfconf-query -c xfce4-panel -p /panels/panel-1/position -s "p=8;x=683;y=754" && echo "Panel 3/4 Finished"
xfconf-query -c xfce4-panel -p /plugins/plugin-1 -s "whiskermenu" && echo "Panels 4/4 Finished"
xfconf-query -c xsettings -p /Net/IconThemeName -s breeze-dark && echo "XSettings 1/2 Finished"
xfconf-query -c xsettings -p /Net/ThemeName -s Adiwaita-dark && echo "XSettings 2/2 Finished"
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitoreDP-1/workspace0/last-image -s /usr/share/images/desktop-base/Haykaze.png && echo "Desktop Finished"
And if you were to ask:
-Yes thoes Haykaze Files exist in that directory
-The way i got that property location, is via the Settings Editor
Last edited by Local Ev (2025-06-28 02:25:28)
Offline
Hello and welcome.
At time of running this script, those properties must not exist. So you need to create them:
echo "Setting up XFCE Settings"
#Panel Configuration
xfconf-query -c xfce4-panel -p /panels/panel-2 -r -R && echo "Panel 1/4 Finished"
xfconf-query -c xfce4-panel -p /panels/panel-1/size -t int -s 36 --create && echo "Panel 2/4 Pinished"
xfconf-query -c xfce4-panel -p /panels/panel-1/position -t string -s "p=8;x=683;y=754" --create && echo "Panel 3/4 Finished"
xfconf-query -c xfce4-panel -p /plugins/plugin-1 -t string -s "whiskermenu" --create && echo "Panels 4/4 Finished"
xfconf-query -c xsettings -p /Net/IconThemeName -s breeze-dark && echo "XSettings 1/2 Finished"
xfconf-query -c xsettings -p /Net/ThemeName -s Adiwaita-dark && echo "XSettings 2/2 Finished"
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitoreDP-1/workspace0/last-image -t string -s /usr/share/images/desktop-base/Haykaze.png --create && echo "Desktop Finished"
Note the addition of the "-t" (type) and "--create" parameters for those properties.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks ill try it out
Added later 1 h 13 min 46 s:
Oh but uh, when i tried it, it still didn't work it did Echo that the stuff was set, but when i reboot nothing changed at all
Last edited by Local Ev (2025-06-29 07:08:54)
Offline
Can you provide some more information about the process you are using?
When are you running this script?
How is the script being run?
Under which account are you running this script?
Also check the Settings Editor, or run:
xfconf-query -c xfce4-panel -lv
xfconf-query -c xfce4-desktop -lv
...to confirm that they are set, from within the user account.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
After i log in
sudo ./Setup.sh
With my User Account
But i kind of did the settings manually so the settings that were set, probably got replaced by me doing it within the GUI
and its also like 22:00 exactly for me, so i kind of have too sleep, see you tommorrow
Last edited by Local Ev (2025-06-29 14:01:22)
Offline
sudo ./Setup.sh
This will set up the settings for the root account. Try without the sudo so it affects the user account.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
In doing without sudo, I would get my permission denied, even in an Seperate script and removing any thing that would have an sudo, but it would still get my permission denied, and the command you asked, all I saw was the defaults nothing changed
Just wanna know does Debian using XFCE 4.18 effect anything
Added later 40 min 46 s:
Also i have an Software Project to do, so i might not do the fixes specified
Last edited by Local Ev (2025-06-30 05:31:53)
Offline
In doing without sudo, I would get my permission denied
There is something wrong with your setup. Check the permission of the files in ~/.config to make sure they are owned by the user. Also make sure that all Xfce process (especially xfconfd and xfce4-panel) are being run as the user, not root. You should not be getting errors.
ls -al ~/.config/xfce4/xfconf/xfce-perchannel-xml
ps -ef | grep xf
Maybe also post the entirety of your Setup.sh script.
An alternative may be to put the default xml files in /etc/skel - they will be copied over when a new user is created.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Maybe also post the entirety of your Setup.sh
hi sorry im late, again i have projects to do but uh here
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script needs root privileges to run certain commands."
echo "Please run it with sudo: sudo bash Setup.sh"
exit 1
fi
echo "Debian Setup Automated Script has Started"
echo ""
echo "Updating System..."
sudo apt update && sudo apt full-upgrade
#Installed Packages here btw
PKA=(
"git"
"audacious"
"simplescreenrecorder"
"breeze"
"vlc"
"audacious"
"gparted"
"ayatana-indicator-bluetooth"
"dbus-x11"
"xfce4-goodies"
"firefox-esr"
)
PKR=(
"exfalso"
"quodlibet"
"parole"
)
echo "Installing Procedure.."
sudo apt update
sudo apt install -y "${PKA[@]}"
sudo dpkg -i code_1.101.2-1750797935_amd64.deb
echo "All should be Installed"
echo ""
echo "Deleting Procedure..."
sudo apt purge "${PKR[@]}" --autoremove -y
sudo apt purge "libreoffice*" --autoremove -y
echo "All should be Deleted"
echo ""
echo "Aesthetic Injection..."
sudo mkdir -p /usr/share/icons/Haykaze && echo "MKDIR Finished"
sudo cp -f Haykaze.svg /usr/share/icons/Haykaze && echo "Copied Files 1/2 Finished"
sudo cp -f Haykaze.png /usr/share/images/desktop-base && echo "Copied Files 2/2 Finished"
echo ""
echo "Setting up XFCE Settings"
#Panel Configuration
xfconf-query -c xfce4-panel -p /panels/panel-2 -r -R && echo "Panel 1/4 Finished"
xfconf-query -c xfce4-panel -p /panels/panel-1/size -t int -s 36 --create && echo "Panel 2/4 Pinished"
xfconf-query -c xfce4-panel -p /panels/panel-1/position -t string -s "p=8;x=683;y=754" --create && echo "Panel 3/4 Finished"
xfconf-query -c xfce4-panel -p /plugins/plugin-1 -t string -s "whiskermenu" --create && echo "Panels 4/4 Finished"
xfconf-query -c xsettings -p /Net/IconThemeName -s breeze-dark && echo "XSettings 1/2 Finished"
xfconf-query -c xsettings -p /Net/ThemeName -s Adiwaita-dark && echo "XSettings 2/2 Finished"
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitoreDP-1/workspace0/last-image -t string -s /usr/share/images/desktop-base/Haykaze.png --create && echo "Desktop Finished"
echo ""
read -p "Do you want to restart the system now? (y/N): " choice
case "$choice" in
y|Y )
echo "Restarting the system..."
sudo reboot
;;
* )
echo "Restart cancelled. Exiting."
;;
esac
yes its giant
There is something wrong with your setup. Check the permission of the files in ~/.config to make sure they are owned by the user. Also make sure that all Xfce process (especially xfconfd and xfce4-panel) are being run as the user, not root. You should not be getting errors.
yeah heres an output
[ps -ef | grep xf
total 76
drwx------ 2 ev ev 4096 Jul 3 13:27 .
drwxr-xr-x 3 ev ev 4096 Jul 1 18:05 ..
-rw-r--r-- 1 ev ev 156 Jul 1 18:05 displays.xml
-rw-r--r-- 1 ev ev 204 Jul 1 18:49 keyboards.xml
-rw-r--r-- 1 ev ev 324 Jul 1 18:18 thunar.xml
-rw-r--r-- 1 ev ev 2578 Jul 1 18:46 xfce4-desktop.xml
-rw-r--r-- 1 ev ev 13151 Jul 1 18:47 xfce4-keyboard-shortcuts.xml
-rw-r--r-- 1 ev ev 528 Jul 3 13:19 xfce4-notifyd.xml
-rw-r--r-- 1 ev ev 3029 Jul 3 13:27 xfce4-panel.xml
-rw-r--r-- 1 ev ev 429 Jul 3 13:26 xfce4-power-manager.xml
-rw-r--r-- 1 ev ev 1818 Jul 1 18:49 xfce4-session.xml
-rw-r--r-- 1 ev ev 336 Jul 1 18:40 xfce4-settings-editor.xml
-rw-r--r-- 1 ev ev 276 Jul 1 18:47 xfce4-settings-manager.xml
-rw-r--r-- 1 ev ev 5436 Jul 1 18:46 xfwm4.xml
-rw-r--r-- 1 ev ev 1939 Jul 1 18:47 xsettings.xml
ev 919 887 0 13:26 ? 00:00:06 xfce4-session
ev 963 919 0 13:26 ? 00:00:00 /usr/bin/ssh-agent startxfce4
ev 1014 919 1 13:26 ? 00:02:24 xfwm4 --display :0.0 --sm-client-id 235a57b15-3a83-4749-bfff-5a21d9082a65
ev 1037 919 0 13:26 ? 00:00:03 xfsettingsd --display :0.0 --sm-client-id 23744e750-f041-42cb-b3c6-a8fcdfc698cf
ev 1045 919 0 13:26 ? 00:00:25 xfce4-panel --display :0.0 --sm-client-id 2743c8474-19ba-4355-bd70-d80124b27b1d
ev 1054 919 0 13:26 ? 00:00:07 xfdesktop --display :0.0 --sm-client-id 280ba5e05-2ea0-48fb-9f1d-91e827f94ef2
ev 1060 1045 0 13:26 ? 00:00:12 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libwhiskermenu.so 1 16777227 whiskermenu Whisker Menu Show a menu to easily access installed applications
ev 1079 919 0 13:26 ? 00:00:00 xfce4-power-manager --restart --sm-client-id 26d788d08-7721-424c-b687-0a2a96a778eb
ev 1090 1045 0 13:26 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libsystray.so 6 16777229 systray Status Tray Plugin Provides status notifier items (application indicators) and legacy systray items
ev 1092 1045 0 13:26 ? 00:00:19 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libpulseaudio-plugin.so 8 16777230 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system
ev 1093 1045 0 13:26 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libxfce4powermanager.so 9 16777231 power-manager-plugin Power Manager Plugin Display the battery levels of your devices and control the brightness of your display
ev 1094 1045 0 13:26 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnotification-plugin.so 10 16777232 notification-plugin Notification Plugin Notification plugin for the Xfce panel
ev 1095 893 0 13:26 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
ev 29865 893 0 16:32 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
ev 32565 1 7 16:47 ? 00:00:00 xfce4-terminal
ev 32606 32591 0 16:47 pts/0 00:00:00 grep xf
Added later 06 min 15 s:
oh yeah and im still refining parts of this script especially the Installations, also the XML files i heared that replacing/editing them is someway too edit the settings, but i was told that xfconf-query was better
Offline
Try running the script without "sudo" - you'll need to remove or comment out the check for user 0 at the beginning of the script. You have sudo commands already in the script where root privilege is required.
After the script has been run, post back the outputs of:
xfconf-query -c xfce4-panel -lv
xfconf-query -c xfce4-desktop -lv
...and check to see if everything is working fine now.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Try running the script without "sudo" - you'll need to remove or comment out the check for user 0 at the beginning of the script. You have sudo commands already in the script where root privilege is required.
about that... previously i tried putting the xfconf commands in an seperate script(that didn't have sudo on them), and only that without sudo during runing the script, still got my permission denied on that one so yeah :D
Last edited by Local Ev (2025-07-03 12:18:28)
Offline
Try this version of your script:
#!/bin/bash
echo "Debian Setup Automated Script has Started"
echo ""
echo "Updating System..."
sudo apt update && sudo apt full-upgrade
#Installed Packages here btw
PKA=(
"git"
"audacious"
"simplescreenrecorder"
"breeze"
"vlc"
"audacious"
"gparted"
"ayatana-indicator-bluetooth"
"dbus-x11"
"xfce4-goodies"
"firefox-esr"
)
PKR=(
"exfalso"
"quodlibet"
"parole"
)
echo "Installing Procedure.."
sudo apt update
sudo apt install -y "${PKA[@]}"
sudo dpkg -i code_1.101.2-1750797935_amd64.deb
echo "All should be Installed"
echo ""
echo "Deleting Procedure..."
sudo apt purge "${PKR[@]}" --autoremove -y
sudo apt purge "libreoffice*" --autoremove -y
echo "All should be Deleted"
echo ""
echo "Aesthetic Injection..."
sudo mkdir -p /usr/share/icons/Haykaze && echo "MKDIR Finished"
sudo cp -f Haykaze.svg /usr/share/icons/Haykaze && echo "Copied Files 1/2 Finished"
sudo cp -f Haykaze.png /usr/share/images/desktop-base && echo "Copied Files 2/2 Finished"
echo ""
echo "Setting up XFCE Settings"
#Panel Configuration
xfconf-query -c xfce4-panel -p /panels/panel-2 -r -R && echo "Panel 1/4 Finished"
xfconf-query -c xfce4-panel -p /panels/panel-1/size -t int -s 36 --create && echo "Panel 2/4 Pinished"
xfconf-query -c xfce4-panel -p /panels/panel-1/position -t string -s "p=8;x=683;y=754" --create && echo "Panel 3/4 Finished"
xfconf-query -c xfce4-panel -p /plugins/plugin-1 -t string -s "whiskermenu" --create && echo "Panels 4/4 Finished"
xfconf-query -c xsettings -p /Net/IconThemeName -s breeze-dark && echo "XSettings 1/2 Finished"
xfconf-query -c xsettings -p /Net/ThemeName -s Adiwaita-dark && echo "XSettings 2/2 Finished"
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitoreDP-1/workspace0/last-image -t string -s /usr/share/images/desktop-base/Haykaze.png --create && echo "Desktop Finished"
echo ""
read -p "Do you want to restart the system now? (y/N): " choice
case "$choice" in
y|Y )
echo "Restarting the system..."
sudo reboot
;;
* )
echo "Restart cancelled. Exiting."
;;
esac
Make sure the script is executable:
chmod +x Setup.sh
Then run it like this:
./Setup.sh
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
hi uh, sorry for the long wait, yeah i kind of gave up since i had other projects to do, but thanks for the help!
Offline
Pages: 1
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 651.4 KiB (Peak: 684.24 KiB) ]