Main Page | Report this Page
Linux Forum Index  »  Linux - Mandrake Forum  »  Recent files in KWrite
Page 1 of 1    

Recent files in KWrite

Author Message
Iordani
Posted: Thu Feb 10, 2005 5:53 am
Guest
I'm using mdk 10.1
I use KWrite a lot to make notes and saving things I find on the net.
In the file menu there is a "Open Recent" option with 10 (very old) files.
Those files are NOT the most recent used/saved ones.
Is this a minor bug and is there a way to fix it so it shows the 10 most
recently saved ones?

I have done all the upgrades.
I googled this group but found nothing about this problem.

Thanks
 
Hans Updyke
Posted: Fri Feb 11, 2005 12:19 pm
Guest
Iordani wrote:
Quote:
I'm using mdk 10.1
In the file menu there is a "Open Recent" option with 10 (very old)
files. Those files are NOT the most recent used/saved ones.
Is this a minor bug and is there a way to fix it so it shows the 10
most recently saved ones?

I don't have MDK 10.1. With my KDE on Fedora, kwrite's "recent" files
are stored in ~/.kde/share/config/kwriterc. This is an excerpt from
that file:

[KFileDialog Settings]
Preview Size=60
Recent Files=$HOME/todo.txt,$HOME/temp.txt

See if you have a similar resource file and whether it contains the
names of those 10 very old files.

If you don't have a file with a similar name, you could look in your
~/.kde directory for another file which contains the name of one of the
old "recent" files:

find ~you/.kde -type f -exec grep -H 'todo.txt' {} \;

(Substitute your user's name in place of 'you'. And use one of your
"recent" files in place of 'todo.txt'.)

If your KDE settings are stored in a different directory name (other
than ~/.kde), you could broaden the search to your entire home
directory:

find ~you -type f -exec grep -H 'todo.txt' {} \;

One reason the list might not get updated is that someone other than
your user owns that resource file --- so that your user lacks write
permission for the resource file. If that is the case, you can
re-assign ownership to your user with the chmod command as root.

If ownership turns out to have been the explanation, you can check your
user's home directory for other instances of incorrect ownership with
this 'find' command:

find ~you ! -user you -exec ls -l {} \;

Hans
 
Hans Updyke
Posted: Sat Feb 12, 2005 10:48 am
Guest
Iordani wrote:
Quote:

I have looked at this again and this is how it works; I open KWrite
and save a (test) file. Now this file does not show up in the Recent
list. This could be expected since I already have it opened.

I close KWrite and open it again. The last file I saved is now not in
the Recent list. I would expect it to be, since it's the most recent
used.

I now open this file again and look in the Recent list and da-da,
there it is at the top of the list.

So, I'll have to open the file a second time before it shows up.
Does my system behave a bit strange or this a minor bug?

It sounds strange to me, but that doesn't mean much because I don't use
kwrite, and my KDE version is also different than yours.

Here is what happened with mine to the best of my recollection:

I hadn't used kwrite before, so when I started it for the first time,
"File->Open Recent" was empty --- greyed out and I couldn't choose that
menu option.

As soon as I opened a file, "File->Open Recent" became available and had
that file name listed. I didn't have to first save the file or restart
kwrite --- the simple act of opening the file was enough to place its
name in the "Open Recent" list.

I closed kwrite without making any changes to the file, and didn't save
the file. When I re-started kwrite the file name was still available
from "Open Recent".

So my experience sounds different than yours. And I don't know enough
about it to understand why. If you have confirmed your user has write
access to the resource file where kwrite stores its information, then I
don't know what is causing that behaviour on your system.

Hans
 
Iordani
Posted: Sun Feb 13, 2005 12:15 am
Guest
Iordani wrote:

Quote:
I sent a bug report. (and BTW, Kate behaves the same way as KWrite)
I forgot to mention that one can always use the Recent file list in the

"Start" menu. That one keeps track of what's really going on Smile
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 6:16 pm