artic92 / configurations

Various configurations files
MIT License
0 stars 1 forks source link

restore xfce configuration after a git checkout #139

Open artic92 opened 4 years ago

artic92 commented 4 years ago

After checkout from a branch to another, sometimes the command history and the panel don't update properly. The goal of this task concerns about finding a way to restart the xfce daemon in order to reload the configuration.

artic92 commented 4 years ago

apparently a reboot seems to work, therefore it would be just needed to reboot the daemon or something similar.

artic92 commented 4 years ago

Solution: killall xfconfd && xfce4-panel -r

artic92 commented 4 years ago

You must reset the working directory two times, example:

  1. git co next-master
  2. git co evoleo
  3. git reset --hard
  4. git reset --hard
  5. killall xfconfd && xfce4-panel -r
  6. git co next-master
  7. git reset --hard
  8. git reset --hard
artic92 commented 4 years ago

This solution is not clean. After a reboot, both Xfce panels don-t show and it-s not possible restart the configuration. These problems might be related to killing the daemon, which leaves it in a messy state. Need to find another way.

artic92 commented 4 years ago

Now xfce-panel does not start at bootup. Workaround for that is to run xfce4-panel from terminal/application finder

Sent with GitHawk