Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-24-2008, 08:22 AM   #1
Registered: Feb 2008
Distribution: Kubuntu 11.10 64-bits
Posts: 70

Rep: Reputation: 15
Using konqueror .directory file for sorting files?

Hi there,

I have been looking around for some knowledge on how to edit the .directory file created by Konqueror. What can be done (sections) and how can the code be written, I could not find information on that, anyone has a link?

Otherwise, I might post my question.

Konqueror does not save sorting criteria per folder (is it a bug or lack of functionality? I don't know). So I was wondering if I can force sorting criteria (writing sorting code) in the .directory file? If yes, how does the code need to be written.

Basically, I want 1 folder to be sorted by DATE and in DESCENDING order, every time I enter the folder. But I want other folders to use default sorting (NAME (case insensitive) and ASCENDING).

Curently I have to change sorting values each time I enter the folder and change them back each time I get out. I then thought I could force the code in the .directory file, if that is accepted by konqueror, but I can't find information on what is supported in the .directory file.

tnx for the inputs
Old 04-24-2008, 01:52 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,893

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
You could go into Konqueror's Settings menu and click on Configure View Profile. Then set up as many profiles as you need.

Basically, you set up Konqueror to show the folder sorted by Date and Descending order, then configure a named view profile,a nd save it.

Then reset Konqueror to sort by Name and Ascending, then create another named view profile.

Thereafter, when you prepare to enter one of the directories, you go to Settings and Load the appropriate vied profile.

You will notice that there are several profiles already. You could modify them, and add profiles of your own design.
Old 04-24-2008, 07:19 PM   #3
Registered: Feb 2008
Distribution: Kubuntu 11.10 64-bits
Posts: 70

Original Poster
Rep: Reputation: 15

Sorry I forgot to mention that the Profiles function does not work well.

It keeps the Profile for all folders, even though I chose "Save View Changes per Folder".

If I choose Profile A for folder A, when I go in folder B it will keep in mind Profile A, which I think is normal. If I then choose Profile B, it will switch profile, fine, but it will keep sorting order of folder A. So I still end up changing manually the sorting order every time.

I wonder if I have a bug somewhere. Looking at the profiles in /.kde/share/apps/konqueror/profiles, I see that none of them have a section to set sorting order.


directory, konqueror, sorting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting files in BASH deleted/ Linux - Newbie 16 01-26-2006 06:03 AM
Sorting by directory size jbg_sm Linux - Newbie 3 04-21-2005 10:32 PM
Changing file permissions within a directory for all files. cajunaggie Linux - Newbie 2 02-06-2005 01:53 AM
File Systems and Numerous files per directory dman65 Linux - General 1 10-06-2003 04:32 PM
Sorting files in Konqueror/File associations/sound in KDE Kelvie Linux - Newbie 9 07-19-2003 01:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration