| Summary: | Xfce desktop shortcuts re-arrange location after boot | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bit Twister <bittwister2> |
| Component: | RPM Packages | Assignee: | Jani Välimaa <jani.valimaa> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11, michel.autem |
| Version: | Cauldron | Keywords: | 6sta2 |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | xfce4-session-4.12.1-11.mga6 | CVE: | |
| Status comment: | |||
| Attachments: | bottom right placement. | ||
|
Description
Bit Twister
2016-12-17 13:58:51 CET
Created attachment 8794 [details]
bottom right placement.
Marja Van Waes
2016-12-17 17:48:26 CET
Assignee:
bugsquad =>
jani.valimaa
Bit Twister
2017-01-24 09:31:26 CET
Status comment:
(none) =>
6_s2
Bit Twister
2017-01-31 18:37:15 CET
Keywords:
(none) =>
6sta2
Bit Twister
2017-02-01 23:44:14 CET
Source RPM:
(none) =>
xfce4-session-4.12.1-10.mga6.src.rpm
I have also seen the problem upon log out/in.
Workaround:
arrange shortcuts as desired
cd ~/.config/xfce4/desktop
delete all *.rc files except the one with the latest date/time.
copy that file to same name.rc_default
create a startup script which copies whatever.rc_default to whatever.rc
create a desktop file in ~/.config/autostart to execute the startup script.
$ cat ~/.config/autostart/xfce_startup.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Xfce_startup
Comment=Local xfce_startup
Exec=/home/bittwister/local/bin/xfce_startup.sh
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false
code snippet from /home/bittwister/local/bin/xfce_startup.sh
if [ -d $HOME/.config/xfce4/desktop ] ; then
cd $HOME/.config/xfce4/desktop
_fn=$(ls *_default 2> /dev/null)
if [ -n "$_fn" ] ; then
cp $_fn ${_fn%%_default}
fi
fi
sleep 3
I think I see what causes the problem in my setup. When xfce starts up it it launches the top/bottom panels, computes remaining desktop space, creates new $HOME/.config/xfce4/desktop/icons.screen0-whatever destroying my shortcut placements. My placement at bottom of screen is in the same space as panel 2 which is set always Auto hide. I believe if xfce would set user panel configuration first, then compute screen size my problem would be resolved. Source RPM:
xfce4-session-4.12.1-10.mga6.src.rpm =>
xfce4-session-4.12.1-11.mga6 I got also this bug in the past. It had been gone for quite a while but it's back... It's not systematic, let us say once on three, and I can't reproduce it at will. I always shut down my computer in the same way but sometimes the last ~/.config/xfce4/desktop/*.rc is corrupted. And I don't see any external event, like a power cut, which might explain that. OK, I wrote a workaround script, but it's not completely satisfying ... CC:
(none) =>
michel.autem |