Skip to content

Commit

Permalink
.xinitrc: always clean_desk_icons on x startup
Browse files Browse the repository at this point in the history
this always fixes issues
fixes #1208
  • Loading branch information
wdlkmpx committed May 22, 2018
1 parent e92b6bb commit 8c8cf30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions woof-code/rootfs-skeleton/root/.xinitrc
Expand Up @@ -11,6 +11,7 @@
. /etc/rc.d/PUPSTATE

#v4.01 BK daemon to handle kernel uevents...
echo '' > /var/local/pup_event_icon_change_flag
/sbin/clean_desk_icons #v4.02 tidy up drive icons first.
#/sbin/pup_event_frontend_d &
#130525 ...start this further down.
Expand Down
6 changes: 6 additions & 0 deletions woof-code/rootfs-skeleton/usr/sbin/eventmanager
Expand Up @@ -109,6 +109,11 @@ else
<default>'${LABELPARTITIONS}'</default>
<variable>NEWLABELPARTITIONS</variable>
</checkbox>
<checkbox>
<label>'$(gettext 'Refresh / Realign existing icons')'</label>
<default>false</default>
<variable>NEWICONWIPE</variable>
</checkbox>
</vbox>
<text space-fill="true" space-expand="true"><label>""</label></text>
Expand Down Expand Up @@ -318,6 +323,7 @@ if [ "$ROX_DESKTOP" ] ; then
[ "$NEWICON_PLACE_START_GAP" != "$ICON_PLACE_START_GAP" ] && changed+=" ICON_PLACE_START_GAP" && CLEAN_ROX_DESK_ICONS=yes
[ "$NEWICON_PLACE_SPACING" != "$ICON_PLACE_SPACING" ] && changed+=" ICON_PLACE_SPACING" && CLEAN_ROX_DESK_ICONS=yes
[ "$NEWLABELPARTITIONS" != "$LABELPARTITIONS" ] && changed+=" LABELPARTITIONS" && CLEAN_ROX_DESK_ICONS=yes
[ "$NEWICONWIPE" = "true" ] && changed+=" NEWICONWIPE" && CLEAN_ROX_DESK_ICONS=yes
#--
if [ "$CLEAN_ROX_DESK_ICONS" = "yes" ] ; then
echo "$changed"
Expand Down

0 comments on commit 8c8cf30

Please sign in to comment.