This forum has been archived. All content is frozen. Please use KDE Discuss instead.

My whole config has gone ! [Solved]

Tags: None
(comma "," separated)
User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS

My whole config has gone ! [Solved]

Sun May 01, 2011 8:20 am
Hi all !

This morning, as I boot my computer and login, my whole config had gone away... no more keyboard shortcuts, no more nice wallpapers, amarok config lost, window settings set to default, back to Oxygen icons......

Where can it all have gone ? Where are the config files ?
Code: Select all
[dim. mai 01,10:04:18][moviuro@localhost:~]$ ls -a | grep kde
.gtkrc-2.0-kde
.kde/
.kde4/
.kde46/

What is the .kde46 dir for ?

The most stunning thing is : I had a such folder, but an old install of mandriva, on an other Hard Disk, wiith KDE 4.5.5 when I tried to install kde 4.6.1
This install of Mandriva is fresh (3 days old) and KDE is 4.4.5...

The only two only folders I copy pasted to my new installationn were :
Code: Select all
~/.mozilla/
~/.config/cairo-dock/

Please, help !

Last edited by [Moviuro] on Sat May 07, 2011 2:43 pm, edited 1 time in total.


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: My whole config has gone !

Sun May 01, 2011 10:17 am
Hm, I've never heard of a .kde46 directory - perhaps you ought to trawl the Mandriva-Forum for that one as different distros implement things differently.

As for your special settings:

1. most appearance related settings are in ~/.kde(4 or 46 or whatever your distro decided to do)/share/config
2. your amarok database is under the same subpath, namele ~/.kde(4 or 46 or whatever your distro decided to do)/apps/amarok

You really need to check what Mandriva has done, but my guess is that you just get rid of the latest ~/.kde* directory imposed upon you by Mandriva and find your original one which you simply rename.


Debian testing
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: My whole config has gone !

Sun May 01, 2011 11:43 am
what is the result of the command: $(kde4-config --localprefix)
this will show where your system places/looks for kde config files


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS

Re: My whole config has gone !

Sun May 01, 2011 12:27 pm
Code: Select all
[dim. mai 01,14:26:07][moviuro@localhost:~]$ kde4-config --localprefix
/home/moviuro/.kde46/

So I asked in the forums, and the .kde46/ folder shouldn't be existing at all.... ><"


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: My whole config has gone !

Sun May 01, 2011 12:36 pm
Weird, seems like it's looking for the config in the .kde46 directory. Are you sure this install is completely fresh and you didn't upgrade to 4.6.x or something like that?

As a quick test, you could try this outside of a KDE session: (on your own risk, of course ;))
Code: Select all
cd
mv .kde46 .kde46-backup
ln -s .kde4 .kde46


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS

Re: My whole config has gone !

Sun May 01, 2011 12:41 pm
Hans wrote:Weird, seems like it's looking for the config in the .kde46 directory. Are you sure this install is completely fresh and you didn't upgrade to 4.6.x or something like that?


Yes, my install is fresh :P
And I did, before you told :
Code: Select all
$ cp -rfv .kde4/ .kde46/
$ reboot

It didn't change a thing, so I did my config, again. Reboot, now it seems to be stable...
And the update brought me from 4.4.3 (shipped with MDV 2010.2) to 4.4.5 (official update...)


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
dpalacio
Registered Member
Posts
240
Karma
2
OS

Re: My whole config has gone !

Sun May 01, 2011 10:56 pm
Please show the output of
env | grep KDE


connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS

Re: My whole config has gone !

Mon May 02, 2011 4:01 pm
Code: Select all
[lun. mai 02,19:59:34][moviuro@localhost:~]$ env | grep kde
XDG_MENU_PREFIX=kde-
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/moviuro/.gtkrc-2.0::/home/moviuro/.kde46/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/moviuro/.gtkrc::/home/moviuro/.kde46/share/config/gtkrc
KDEHOME=/home/moviuro/.kde46
XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg/kde4
QT_PLUGIN_PATH=/home/moviuro/.kde46/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/

Even stranger... all kde files aren't in the same directory ><"
Seems cool...
Can I blow my head against the walls ?....


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: My whole config has gone !  Topic is solved

Mon May 02, 2011 4:31 pm
1st I'd create and login as a new user and see what the cmd "echo $KDEHOME" results in, if it isn't /home/new_user/.kde46 then the problem is yours, else it is system wide.

If only yours I'd look at .profile, .login or .bashrc files (these should be in ~/ if they exist).

If system wide the mandriva-startkde script and the skelton scripts found in /etc/skel


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS

Re: My whole config has gone !

Mon May 02, 2011 6:32 pm
Code: Select all
[lun. mai 02,20:33:18][moviuro@localhost:~]$ cat .bashrc
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

PS1='\
\[\033[32m\][\
\[\033[33m\]\d\
\[\033[32m\],\
\[\033[33m\]\t\
\[\033[32m\]]\
\[\033[31m\][\
\[\033[36m\]\u\
\[\033[31m\]@\
\[\033[36m\]\h\
\[\033[31m\]:\
\[\033[32m\]\w\
\[\033[31m\]]\
\[\033[00m\]\$\
 '

 export KDEDIR=`kde4-config --prefix`
 export LD_LIBRARY_PATH=$KDEDIR/lib
 export PATH=$KDEDIR/bin/:$PATH
 export KDEHOME=~/.kde46

Okay... so I copy pasted my whole old .bashrc instead of just the first lines.... so stupid from me ><"
Oh gosh, I'm so dumm...


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: My whole config has gone !

Mon May 02, 2011 7:49 pm
so your .bashrc is setting KDEHOME to ~/.kde46 instead of .kde or .kde4 (which is what it usually is set to) though not sure which Mandriva uses as the default.

Could the "export KDEHOME=~/.kde46" be a remnant of your once compiling KDE 4.6.x from source?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
[Moviuro]
Registered Member
Posts
86
Karma
0
OS

Re: My whole config has gone !

Sat May 07, 2011 2:43 pm
Yes it is ^^ And I didn't modify my .bashrc since then and I copypasted it simply, without worrying :)

So, the problem has got its solution : cat ~/.bashrc


KDE 4.10.1 Archlinux x86_64 on both laptops :)
"Our life is the immortals' death"


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]