This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Konqueror - Option remember action open or save file

Tags: None
(comma "," separated)
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
i have downloaded a file ( a pdf file) and by error i cheched the box in the dialog that ask me to remember the action (open or save). I ve clicked on save as, but as the box was checked , i am not able any more to choose "open" . I ve searched in the folder .kde4 to find a file that i can restore the initial setting but i cant found it. Anyone know how to do it ?
thanks


«The magic continues...»
http://www.mageia.org
Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Open System Settings > Advanced > File Associations. Select the mime type application/pdf. Change to the embedding tab. Tick "Ask whether to save to disk instead". Then apply.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
it was allready with this settings :(


«The magic continues...»
http://www.mageia.org
Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Damn, unfortunately I do not know which configuration file stores the setting you are after.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS
I think I've found the file:
~/.kde4/share/config/filetypesrc
(It could be that you have to change .kde4 to .kde)
Open the file with KWrite or any other text editor.
Now scroll to the end. For me the end look like this:
Code: Select all
[Notification Messages]
askSaveapplication/metalink+xml=true

If I remove the line askSaveapplication/metalink+xml=true I get the question box for this mimetype again. Your one will probably be something with pdf in it. Remove the line and try to download the file.

I hope it helps you,
Jan


Image
User avatar
Dimitrios
Registered Member
Posts
659
Karma
0
OS
Yes it works , thanks :)

in that file i have only this list :

[EmbedSettings]
embed-application/annodex=true
embed-application/asx=true
embed-application/futuresplash=true
embed-application/pdf=true
embed-application/vlc=true
embed-application/vnd.adobe.xdp+xml=true
embed-application/vnd.adobe.xfd+xml=true
embed-application/vnd.adobe.xfdf=true
embed-application/vnd.fdf=true
embed-application/vnd.ms-powerpoint=false
embed-application/x-java-bean=true
.....
...
...


I deleted this one :
embed-application/pdf=true


and now it asks for the action

*in systemsettings , file associations, nothing was changed, even now with this setting


«The magic continues...»
http://www.mageia.org
Image
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS
Great :)
Didn't think of embedding :<.
But if it works that doesn't matter :)

Could you mark the topic as solved, please? (press the green hook on the post which solved your problem). Thanks

EDIT:
If nothing was changed in systemsettings, maybe you want to report a bug at http://bugs.kde.org (or search for a one which already exists)?


Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Nice solution, never seen that configuration file on my system.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
JanGerrit
Moderator
Posts
647
Karma
3
OS
bcooksley:
I took a file, downloaded it and changed the settings. Then I let find and grep do a search for the file type through the config directory. Then I looked for the right file in the search results.


Image
User avatar
Ahmad Samir
Registered Member
Posts
127
Karma
0
OS
'kcmshell4 filetypes' > .. > Embedding, saves the changes in filetypesrc.

What happens is if you set it to "show in embedded viewer" then you don't get asked if you want to save to disk or not. If you explicitly set it to "show in separate viewer" (or leave it set to "use settings for application group" which defaults to show in separate viewer anyway) you get that pop-up asking whether to save it or open it with the default application.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]