[OPEN] Icons position

Post Reply
User avatar
marwatt
Crewman
Posts: 8
Joined: Sat Mar 05, 2022 5:47 pm

[OPEN] Icons position

Post by marwatt »

Hi all
I'm on arcolinuxS with xfce
often after updating the position of the icons on the desktop is reset ... is there any way to avoid this?
thank you
Hi all Davide

User avatar
erikdubois
Captain
Posts: 4992
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [OPEN] Icons position

Post by erikdubois »

did you figure it out?
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

User avatar
marwatt
Crewman
Posts: 8
Joined: Sat Mar 05, 2022 5:47 pm

Re: [OPEN] Icons position

Post by marwatt »

unfortunately not.
and unfortunately it doesn't always happen ... surely when there is an update related to xfce ... but I don't understand what
Hi all Davide

User avatar
erikdubois
Captain
Posts: 4992
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

Re: [OPEN] Icons position

Post by erikdubois »

Next time it happens take a picture
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

User avatar
marwatt
Crewman
Posts: 8
Joined: Sat Mar 05, 2022 5:47 pm

Re: [OPEN] Icons position

Post by marwatt »

ok I hope to track the offending packets on next update... Happy Easter
Hi all Davide

frans co
Crewman
Posts: 6
Joined: Wed Aug 14, 2019 1:55 am

Re: [OPEN] Icons position

Post by frans co »

saw this by coincidence - do not use xfce4 anymore (openbox only)
problem is that xfce desktop creates a different 'icons.screens' file each time there is a slight change in screen resolution

used following script in the past :
"iconset s" to save present icon order and "iconset r" to restore this saved icon order (and remove all other 'icon.screens' files)

#!/bin/bash
# iconset
path="~/.config/xfce4/desktop/"

if [ $1 = s ]; then
cat "$path""icons.screen.latest.rc" > "$path""iconset.txt"
notify-send -i gtk-add "Xfce desktop icons saved!"
echo "Xfce icons saved"
fi

if [ $1 = r ]; then
rm -r "$path"icons.screen0*
cat "$path""iconset.txt" > "$path""icons.screen.latest.rc"
#xfdesktop -R
notify-send -i gtk-refresh "Xfce desktop icons restored!"
echo "Xfce icons restored!"
fi

# iconset

frans co
Crewman
Posts: 6
Joined: Wed Aug 14, 2019 1:55 am

Re: [OPEN] Icons position

Post by frans co »

Probably my old script could be replaced by 2 aliases (just an idea reviewing my old script, not tested at all, because no xfce4 installed)

alias ics = 'cd ~/.config/xfce4/desktop/; cat "icons.screen.latest.rc" > "iconset.txt" '
alias icr = 'cd ~/.config/xfce4/desktop/; rm -r "icons.screen0*; cat "iconset.txt" > "icons.screen.latest.rc" '

User avatar
marwatt
Crewman
Posts: 8
Joined: Sat Mar 05, 2022 5:47 pm

Re: [OPEN] Icons position

Post by marwatt »

frans co wrote:
Wed Apr 27, 2022 12:26 am
Probably my old script could be replaced by 2 aliases (just an idea reviewing my old script, not tested at all, because no xfce4 installed)

alias ics = 'cd ~/.config/xfce4/desktop/; cat "icons.screen.latest.rc" > "iconset.txt" '
alias icr = 'cd ~/.config/xfce4/desktop/; rm -r "icons.screen0*; cat "iconset.txt" > "icons.screen.latest.rc" '
Thank you frans co
Yes there are those "screen" files changes...
but I still haven't figured out who resets them.
I continue to monitor upgrades
Hi all Davide

Post Reply

Return to “Xfce-4”