You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dejamuse

Beginner

  • "dejamuse" started this thread

Posts: 7

Location: New Haven, CT

  • Send private message

1

Tuesday, September 11th 2007, 6:41am

If accidentally set file association with a directory - cannot undo

I had Konqueror's file manager open in tree-view mode and was attempting to associate a file in the tree with Kwrite.

I thought the file was highlighted but it wasn't. I right-clicked to associate the file with Kwrite but instead it associated it with the parent directory.

So of course now when I click a directory it attempts to open it with Kwrite and it cannot.

I cannot figure out how to undo this.

In fact it seems I cannot undo a file association with any normal file either (other than changing it to something else).

The correct behavior should be to prevent application association with a directory in the first place.

I am assuming this is a KDE bug, but for the record I'm using PCBSD1.4RC

Tnx, Jeff

impeteperry

Beginner

Posts: 24

Location: Rhode Island, USA

Occupation: self un-employied

  • Send private message

2

Tuesday, September 11th 2007, 3:54pm

I did something similar today I added an item to the "open with" box that does not exist and then checket the three boxes at the bottom. I hope someone will tell me how to delete item.

Thanks
pete

dejamuse

Beginner

  • "dejamuse" started this thread

Posts: 7

Location: New Haven, CT

  • Send private message

3

Thursday, September 13th 2007, 8:13am

UPDATE - If accidentally set file association with a directory - cannot undo

Update - more details:

The original problem was that I accidentally associated Kwrite with a folder in the directory in the left pane in File Manager - Super User mode. I did this by right clicking the folder (I thought I was clicking the file in the right pane), selecting properties, clicking the "edit file type" button and selecting "Kwrite".

I tried both of these:
-----------------------------
KMenu -> Settings -> KDE Components -> File Associations:
select "inode -> directory" and the "General" tab.

The "Application Preference Order" window displays: Konqueror, followed by Open Folder. Not sure what the difference is but the order seems appropriate.
------------------------------

KMenu -> Settings -> KDE Components -> File Manager:
select Behavior tab, uncheck "Open folders in separate windows".

-----------------------------

Because I was in File Manager - Super User mode, everything I was changing per above seems like it should only apply to the regular file manager which by the way doesn't seem to exist any more so I can't verify this. I'm pretty sure it was there in the KDE version (3.5.5) bundled with PCBSD 1.3 that I used before.

Back in Konqueror SU mode, I clicked "Settings -> Configure Konqueror, and made sure the button for "open folders in separate windows" was unchecked. Click apply and it has no effect - clicking on a folder still opens a new window with the folder contents. Does it not recognize that I opened FM in SU mode with the SU password? Does it need for me to be logged in as root (which PCBSD does not allow)?

So neither approach fixes this remaining problem - KDE won't remember my configuration changes.

How can I restore the behavior of the FM in SU mode so that when I left click a folder in the left pane, the contents are displayed in the right pane without opening a new window?

How do I get the file manager to default to tree view rather than icon view, in the right pane.

And, what happened to the regular file manager?

I'm using PCBSD1.4RC with KDE 3.5.7.


Tnx, Jeff

This post has been edited 1 times, last edit by "dejamuse" (Sep 13th 2007, 8:19am)


kw08

Beginner

Posts: 3

Location: Granby CT USA

Occupation: Scientist

  • Send private message

4

Friday, September 14th 2007, 8:18am

RE: UPDATE - If accidentally set file association with a directory - cannot undo

I am having the same problem except GIMP wants to open the folders!
I can not find where to fix this.
Kw

dejamuse

Beginner

  • "dejamuse" started this thread

Posts: 7

Location: New Haven, CT

  • Send private message

5

Saturday, September 15th 2007, 5:44am

Well, the two routes I mentioned before ought to do it for you unless you're having the same problem I am.

I was advised by the PCBSD crew that this command would allow me access to change the file manager behavior for the super-user version of the file manager:

Source code

1
kdesu kontrol

But that didn't work.

Nothing I do anywhere fixes the problem - everytime I click on a folder in the left pane it always opens a new window with the folder's contents.

I could swear that in a pervious version of KDE there was a normal user file manager.

I know that it's bascically Konqueror but the version of Konqueror I open from the Internet menu defaults of course to a browser. I can't figure out how to get it to look like file manager with the left and right panes.

...Jeff

kw08

Beginner

Posts: 3

Location: Granby CT USA

Occupation: Scientist

  • Send private message

6

Sunday, September 16th 2007, 5:56pm

Nothing I can find works to UN-associate folders to GIMP!
Kw

dejamuse

Beginner

  • "dejamuse" started this thread

Posts: 7

Location: New Haven, CT

  • Send private message

7

Monday, September 17th 2007, 8:27am

RE: UPDATE - If accidentally set file association with a directory - cannot undo

I guess I should have read the manual first, though it's not really clear on some of these issues and their are some strange idiosyncrasies too.

The left-click behavior of a file folder in the left pane is not controlled by the check box "Open folders in separate windows" in Settings --> Configure Konqueror --> Misc Options. That applies to folders in the right pane.

To configure the behavior of left-clicking a folder icon in the left pane you have to go to: Settings --> Configure Konqueror --> File Associations --> inode --> directory --> Embedding. Click "Show file in embedded viewer". Then in the "General" tab, remove all items from the "Application Preference Order" list. Now here's where I got derailed - even after clicking "Apply" and "OK" you have to restart the file manager for the changes to completely take effect, and by this I mean; without restarting, a double left-click is required to open the folder contents in the right pane - after restart a single left-click will do it. Weird and frustrating, but that's the deal.

I did figure out how to custom configure Konqueror as a dedicated file manager as well. You right click the Kmenu button --> Configure Panel --> Edit Kmenu. Then you can add an item as you wish. First however you need to know the command to enter. In this case it's "kfmclient openProfile filemanagement". This opens Konqueror in file management mode. Then click the big icon button to change the icon to whatever you want.

KDE is extremely versatile - you just have to learn it.

But the bottom line is it beats the hell out of Windows!

...Jeff

kw08

Beginner

Posts: 3

Location: Granby CT USA

Occupation: Scientist

  • Send private message

8

Monday, September 17th 2007, 1:21pm

RE: UPDATE - If accidentally set file association with a directory - cannot undo

Thank you

I did what you described:
Settings --> Configure Konqueror --> File Associations --> inode --> directory --> Embedding
and there was GIMP sitting at the top of the list, so I just removed it.

THANKS
Keith
Kw

9

Tuesday, April 15th 2008, 1:04pm

Thank you very much, I had a similar problem, shortcuts to smb://192.168.0.1 was not opened with click but an kioexec error was given me, your istuction solved:
To configure the behavior of left-clicking a folder icon in the left pane you have to go to: Settings --> Configure Konqueror --> File Associations --> inode --> directory --> Embedding. Click "Show file in embedded viewer". Then in the "General" tab, remove all items from the "Application Preference Order" list. Now here's where I got derailed - even after clicking "Apply" and "OK"
I used konqueror like application for folders.
but what is the difference between embedded viewer and separate viewer?

10

Tuesday, April 15th 2008, 1:12pm

Sorry an other question, in which configuration file is this behaviour set ??
becouse I cancelled all the .kde folder and the problem was still there
many thanks again