Linux Lite Forums
How to restore v2.2 configuration from /.llupgradebackup - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: How to restore v2.2 configuration from /.llupgradebackup (/showthread.php?tid=1730)



How to restore v2.2 configuration from /.llupgradebackup - Kirkx - 04-11-2015

I want to restore the following two settings as they were originally in v2.2:

- un-link Super key from the Menu (I always assign Ctrl+Esc to open the Menu and use Super key for all kinds of other shortcuts)
- restore original Terminal theme

I know that the backup files:

Code:
xfce4-keyboard-shortcuts.xml
lxterminal.conf

are saved in:

Code:
/home/username/.llupgradebackup/2.4
/etc/skel/.llupgradebackup/2.4

but I don't know which directory they should be restored to.


Re: How to restore v2.2 configuration from /.llupgradebackup - LL-user - 04-12-2015

Hi Kirkx,

Let's assume this is your home directory: /home/kirkx
Then you'll find the files here:

/home/kirkx/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

/home/kirkx/.config/lxterminal/lxterminal.conf

You can find it for yourself by opening a terminal and using:
Code:
find . -name xfce4-keyboard-shortcuts.xml
Code:
find . -name lxterminal.conf

That's assuming you're running the command sitting in your home directory. Instead of the dot (.) after find which represents the directory you are in, you can also type in a path, like /home/kirkx

Hope that helps Smile


Re: How to restore v2.2 configuration from /.llupgradebackup - Valtam - 04-12-2015

Nice one LL-user Smile


Re: How to restore v2.2 configuration from /.llupgradebackup - Kirkx - 04-12-2015

Thanks, it worked like a charm. In theory restoring keyboard shortcuts from v2.2 to v2.4 (to get rid of Super key link to Whiskermenu) should actually be done in two steps:

1) Copy file "xfce4-keyboard-shortcuts.xml" from:

Code:
/home/username/.llupgradebackup/2.4
to:
Code:
/home/username/.config/xfce4/xfconf/xfce-perchannel-xml

2) Copy file "xfce4-keyboard-shortcuts.xml" from:

Code:
/etc/skel/.llupgradebackup/2.4
to:
Code:
/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml

From what I can see the second step is not necessary, at least in this particular case, because the backed up file and the target file are identical (have the same size).


Re: How to restore v2.2 configuration from /.llupgradebackup - LL-user - 04-12-2015

Hi Kirkx,

Great it worked! Smile

"The /etc/skel directory contains files and directories that are automatically copied over to a new user's home directory when such user is created by the useradd program.
[...]
/etc/skel allows a system administrator to create a default home directory for all new users on a computer or network and thus to make certain that all users begin with the same settings or environment."[1]

So, the second step is only necessary if you (as system administrator) have changed the default settings in /etc/skel.



[1] http://www.linfo.org/etc_skel.html

@Jerry: thanks for the kind words Smile