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

KDE open webpages from kdecache

Tags: None
(comma "," separated)
since1992
Registered Member
Posts
48
Karma
0
OS

KDE open webpages from kdecache

Sun Oct 03, 2010 9:06 pm
I am new to KDE environment. I have no clue what to do.

When I want to open RTM, Gmail or Youtube. KDE open cache files under /var/tmp/kdecache-user. So, I cannot use ALT-F2 or gnome-do to open a webpage. Could anyone help me? Thank you.

I made a screen cast in Youtube.

http://www.youtube.com/watch?v=V2W2Eu754ys
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE open webpages from kdecache

Sun Oct 03, 2010 9:24 pm
Do you see the same behavior with a new user account?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: KDE open webpages from kdecache

Sun Oct 03, 2010 9:35 pm
Can you please check System Settings -> (Workspace Appearance and Behavior) -> Default Applications -> Web Browser and tell us your settings there?

By the way, it's much appreciated that you take your time to post a video of the problem.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
since1992
Registered Member
Posts
48
Karma
0
OS

Re: KDE open webpages from kdecache

Sun Oct 03, 2010 9:49 pm
einar wrote:Do you see the same behavior with a new user account?


It doesn't happen in a new user. After a few tests, I found it was because I setup default browser to Iron. With Konqueror, there was no problem. I guess that Iron doesn't work well with KDE. Do you have any idea what to question for this issue? And Where? Thank you for quick reply.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This is because KDE does not know what protocols your browser, Iron, supports. As such, it downloads the file for Iron, and instructs Iron to open that local file.

Have you added Iron to the menu / is it in the menu?

If it isn't, please add it first.

Using the Menu Editor, check to see what the command to launch Iron is. It needs to contain at least "%u" or "%U" for it to be opened correctly.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
since1992
Registered Member
Posts
48
Karma
0
OS

Re: KDE open webpages from kdecache

Sun Oct 03, 2010 11:24 pm
Hans wrote:Can you please check System Settings -> (Workspace Appearance and Behavior) -> Default Applications -> Web Browser and tell us your settings there?

By the way, it's much appreciated that you take your time to post a video of the problem.


Thank you for your reply. I am sorry I didn't get what you mean by "tell us your setting there?". There are two radio button for Web Browser. They are "In an application based on the contents of the URL" and "In the following browser". So, I set it to be Iron from the list when I choose the second radio button. Is this what you wanted me to do? Thank you.
since1992
Registered Member
Posts
48
Karma
0
OS

Re: KDE open webpages from kdecache

Sun Oct 03, 2010 11:44 pm
bcooksley wrote:This is because KDE does not know what protocols your browser, Iron, supports. As such, it downloads the file for Iron, and instructs Iron to open that local file.

Have you added Iron to the menu / is it in the menu?

If it isn't, please add it first.

Using the Menu Editor, check to see what the command to launch Iron is. It needs to contain at least "%u" or "%U" for it to be opened correctly.


Thank you for your help. I didn't not added Iron to the menu. I believe that it was added automatically when I installed Iron. To recheck it, I tried to find Menu Editor, I could not find one in System Setting.

I put "iron %U" as you suggested under System Setting > Workspace Appearance and Behavior > Default Application > Web Browser > in the following browser. I thought this was for choosing browser. I guess it is a just command line.

Anyway, you helped me a lot. It works finally. But it opens two same tabs every time. I am happy to make it work. Hopefully, I could solve this problem too. Thank you for your helps.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE open webpages from kdecache

Mon Oct 04, 2010 8:42 am
If you simply enter a command in Default Applications, then the %u is not needed ( or shouldn't be, it is enough for Opera ). If you create an entry in the Menu system ( using kmenuedit ) then you need the %u / %U however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

Re: KDE open webpages from kdecache

Mon Oct 04, 2010 12:38 pm
since1992 wrote:Thank you for your reply. I am sorry I didn't get what you mean by "tell us your setting there?". There are two radio button for Web Browser. They are "In an application based on the contents of the URL" and "In the following browser". So, I set it to be Iron from the list when I choose the second radio button. Is this what you wanted me to do? Thank you.


Basically I was suspecting the same thing as bcooksley, but since he is much more knowledgeable in this area I'll let him take command here. (And yes, that's exactly what I wanted to know.)


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
since1992
Registered Member
Posts
48
Karma
0
OS

Re: KDE open webpages from kdecache

Sat Oct 09, 2010 12:58 pm
After I upgrade to KDE 4.5.2. "iron %u" or "iron %U" doesn't work. It open local cache file as it was. I guess KDE is very customizable and very hard to make it work right. Thank you.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE open webpages from kdecache

Sat Oct 09, 2010 8:39 pm
Have you added a menu item for Iron?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
since1992
Registered Member
Posts
48
Karma
0
OS

Re: KDE open webpages from kdecache

Sun Oct 10, 2010 7:35 am
bcooksley wrote:Have you added a menu item for Iron?


When I installed Iron, Iron was added automatically in menu. The command in the menu item didn't not have %U switch. So I edit it to "iron %u".

ALT+F2 and gnome-do works as I expected. But Docky opens cache file. Thank you.

Last edited by since1992 on Mon Oct 11, 2010 9:08 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE open webpages from kdecache

Mon Oct 11, 2010 4:46 am
This is likely a flaw with Docky, given it works with KRunner and Gnome Do itself.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
since1992
Registered Member
Posts
48
Karma
0
OS

Re: KDE open webpages from kdecache

Sun Oct 17, 2010 7:17 am
When I get helps here, I was not aware about %U or other codes with '%' symbols.

Today, I recall that I information saw on internet. I found it again.

Anyone want to know about the symbol. Here is the link

http://standards.freedesktop.org/deskto ... atest.html

Thank you.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]