You are not logged in.

#1 2017-03-05 15:32:24

johane
Member
From: Dalarna - Sweden
Registered: 2010-02-05
Posts: 42
Website

Kate always open the file dialog in my home directory.

Kate has lost her memory. Every time I open the file dialog Kate starts in my home directory and not where the file is located. This is annoying and I want to fix it. I have looked in every setting but to no success. How do I get Kate to remember?

Offline

#2 2018-02-10 06:54:49

johane
Member
From: Dalarna - Sweden
Registered: 2010-02-05
Posts: 42
Website

Re: Kate always open the file dialog in my home directory.

Still very annoying.
I really need a "point me in the right direction" here.
It also happens when I choose "save as". Kate open the file dialog in my home directory and not where the file is located.

Offline

#3 2018-02-10 08:27:30

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: Kate always open the file dialog in my home directory.

File a bug to bugs.kde.org.

Offline

#4 2018-02-10 15:16:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: Kate always open the file dialog in my home directory.

It works here, so more likely to be a problem on johane's setup than a KDE bug. Are the permissions on e.g. ~/.config/katerc correct? Have you ever ran kate as root without using kdesu? What does your session look like?

loginctl show-session $XDG_SESSION_ID

Offline

#5 2018-02-20 08:58:01

johane
Member
From: Dalarna - Sweden
Registered: 2010-02-05
Posts: 42
Website

Re: Kate always open the file dialog in my home directory.

V1del wrote:

What does your session look like?

$ loginctl show-session $XDG_SESSION_ID
Id=c2
User=1000
Name=johan
Timestamp=Sun 2018-02-18 20:19:04 CET
TimestampMonotonic=31197227
VTNr=1
Seat=seat0
Display=:0
Remote=no
Service=sddm
Desktop=KDE
Scope=session-c2.scope
Leader=581
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

Offline

#6 2018-02-20 11:19:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Kate always open the file dialog in my home directory.

Forum pro hint: when you are asked 3 relevant but distinct questions and answer just 1 it is easy to interpret that as apathy or being ignored.  If there are reasons you cannot as readily answer the other questions, at least note that in your response.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2018-02-20 12:33:55

johane
Member
From: Dalarna - Sweden
Registered: 2010-02-05
Posts: 42
Website

Re: Kate always open the file dialog in my home directory.

Trilby wrote:

Forum pro hint: when you are asked 3 relevant but distinct questions and answer just 1 it is easy to interpret that as apathy or being ignored.  If there are reasons you cannot as readily answer the other questions, at least note that in your response.

Sorry, I was in a bit of a hurry and totally missed those two questions. My bad.

No I have not run kate as root without kdesu.
What are the correct permissions?

Offline

#8 2018-02-20 13:20:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Kate always open the file dialog in my home directory.

Either of the following, personally I prefer the latter:

ls -l ~/.config/katerc
stat ~/.config/katerc

I don't have kate, so I can't say precisely what they should be, but most likely the ownership should be <youruser>:<youruser> or <youruser>:users and the permissions should likely be 0644 or -rw-r--r-- (don't yet try to change them if they are not as I'm not 100% sure).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2018-02-20 13:26:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,665

Re: Kate always open the file dialog in my home directory.

Permissions:

-rw------- 1 videl videl   261 18. Feb 19:01 .config/katemetainfos
-rw------- 1 videl videl 53086 20. Mär 2017  .config/katemoderc
-rw------- 1 videl videl  1706 18. Feb 18:59 .config/katepartrc
-rw------- 1 videl videl  2369 20. Feb 14:09 .config/katerc
-rw------- 1 videl videl    92 19. Dez 2016  .config/kateschemarc
-rw------- 1 videl videl  1919 18. Sep 16:07 .config/katesyntaxhighlightingrc
-rw------- 1 videl videl   419 29. Aug 2016  .config/katevirc

Potentially relevant content example

[General]
Config Revision=10
Days Meta Infos=30
Last Session=
Modified Notification=false
Recent File List Entry Count=10
Restore Window Configuration=true
Save Meta Infos=true
Show Full Path in Title=false
Show Menu Bar=true
Show Status Bar=true
Show Tab Bar=true
Startup Session=manual

[KFileDialog Settings]
Recent Files[$e]=file:$HOME/Dokumente/FHNW/algd1/11 - MergeSort/mergetheory.txt,file:$HOME/Dokumente/FHNW/EDBS/05RelDesign/RelD01A1.txt,file:$HOME/Dokumente/FHNW/EDBS/05RelDesign/A3.txt,file:$HOME/Dokumente/FHNW/ecae2/basiceng,file:///etc/shadow,file:///etc/motd
Recent URLs[$e]=file:$HOME/Dokumente/FHNW/eana/,file:$HOME/Dokumente/FHNW/algd1/02 - Fliesskommazahlen & Zeichen/,file:$HOME/Dokumente/FHNW/algd1/04 - Vor- und Nachbedingungen/,file:$HOME/Dokumente/FHNW/swc/le04-continuousIntegration/,file:$HOME/Dokumente/FHNW/algd1/05 - Komplexität/,file:$HOME/Dokumente/FHNW/algd1/10 - Rekursion/,file:$HOME/Dokumente/FHNW/algd1/11 - MergeSort/

adjust as relevant on your system. Is it only kate that has this issue, or does it happen in other kdialog using programs as well?

Offline

#10 2018-02-20 14:45:32

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Kate always open the file dialog in my home directory.

I would create a new user and check if with that user it works fine or not, that should help figure out if it the problem is caused by a stale/borked configuration file or something system wide.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB