Page 1 of 1

[SOLVED] Kate lost my sessions after upgrade to Mageia 6

PostPosted: Jul 24th, '17, 15:07
by emason
Trouble free upgrade from Mageia 5 to 6. But Kate is not picking up my previous configuration, which includes several sessions that I don't want to lose.
I have this:
Code: Select all
$ ls -l /home/emason/.config/katerc
which is new, and this
Code: Select all
$ ls -l /home/emason/.kde4/share/config/katerc
which is from Mageia 5.

I also have this:
Code: Select all
$ ls ~/.kde4/share/apps/kate/sessions/
SEP.katesession  General.katesession   pytracker.katesession  Seabirds.katesession

which are the sessions that are no longer being imported into Kate. I suspect I just need one or two softlinks to fix this, but I've not succeeded so far, nor found anything useful on the web.

Grateful for any help.

Re: Kate lost my sessions after upgrade to Mageia 6

PostPosted: Jul 24th, '17, 18:04
by jkerr82508
I think that you need to move or copy ~/.kde4/share/apps/kate/ to ~/.local/share/kate/

Jim

Re: Kate lost my sessions after upgrade to Mageia 6

PostPosted: Jul 25th, '17, 08:51
by doktor5000
Yes, sadly not all KDE configurations are migrated. Exactly what Jim mentioned.
I also wondered where my kate sesstion went, and needed to copy it over.

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

only copy the session folder

PostPosted: Feb 6th, '18, 17:30
by flink
It is not necessary to copy all the files, but only the files inside of the session folders.

Code: Select all
cp /home/myuser/.kde4/share/apps/kate/sessions/* /home/myuser/.local/share/kate/sessions/


myuser ... your Linux user

These files are not needed:
[myuser@computer kate]$ pwd
/home/myuser/.kde4/share/apps/kate
[myuser@computer kate]$ ls
metainfos metainfosmE6331.new metainfosV11984.new
metainfosbf3143.new metainfosN10022.new metainfosv21440.new
metainfosbK3471.new metainfosNV3598.new metainfosVN4696.new
metainfosE15402.new metainfosPW6188.new metainfosvp3709.new
metainfosEh1446.new metainfosq10559.new metainfosWg9078.new
metainfosEW9036.new metainfosq13503.new metainfosX11268.new
metainfosFS4979.new metainfosqr4310.new metainfosZK6386.new
metainfoskk6602.new metainfosrO4690.new plugins/
metainfosla8881.new metainfossZ5717.new sessions/
metainfoslq5357.new metainfosUF6725.new
metainfosM10711.new metainfosUZ5444.new