[opensuse-factory] menu item that launches web interface program starts 2 browsers
Hi Due to the fact the current printing system cannot detect my printer connected via USB, i check it again every time there is a new version of CUPS to see if there its fixed. I use CUPS Manage Printing (web interface) menu option which is configured as "desktop-launch http://localhost:631/" in the menu editor. I've checked the configuration in "systemsettings5/Default Applications/Web Browser" and its configured as "open http and https URLs in an application based on the contents of the URL." So when i select the menu item i, it starts up both Firefox and konqueror but firefox actually loads the CUPS page and konqueror stops loading and goes away (it never displays anything). Any reason why it should launch both? (nb: i tried to highlight/copy that text off the "Default Applications/Web Browser" screen but it didn't even allow me to highlight the text with the mouse - is that a new feature?) regards Ian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Montag, 22. Juni 2015, 11:57:01 schrieb ianseeks:
So when i select the menu item i, it starts up both Firefox and konqueror but firefox actually loads the CUPS page and konqueror stops loading and goes away (it never displays anything).
Any reason why it should launch both?
It doesn't launch both browsers. (Konqueror actually is no "web browser" anyway, but rather a shell for displaying KParts, i.e. embedded "applications" so to say; two of those KParts, KHTML and kwebkitpart, happen to display web pages, and are the actual "browsers" that are loaded when you open a web page in Konqueror, just like the dolphin-part is loaded when you open a directory, or the okular-part when opening a PDF...) desktop-launch is a symlink to xdg-open, which in turn runs kfmclient to open the argument when used inside a KDE session, a small KDE helper that opens a file/URL with the associated application. This in turn notices that it's an URL and opens it in the default browser according to KDE's settings. kfmclient probably is shown as "Konqueror", as that is the name its .desktop file contains... It is a known problem that you cannot change the default web browser in "Default Applications", it will always revert back to Firefox because of this bug: https://bugzilla.opensuse.org/show_bug.cgi?id=931316 A workaround for that would be to remove the line "BrowserApplication=firefox" from /etc/xdg/kdeglobals (should not be changed during updates as it is a config file) or install plasma5-workspace-branding-upstream instead of plasma5-workspace-branding-openSUSE. But, you could also try to set the default web browser in KDE4's settings, as kfmclient is still KDE4 based anyway.
(nb: i tried to highlight/copy that text off the "Default Applications/Web Browser" screen but it didn't even allow me to highlight the text with the mouse - is that a new feature?)
That's definitely not a "new feature". You cannot do that in KDE4's systemsettings either. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 22 Jun 2015 16:57:47 Wolfgang Bauer wrote:
Am Montag, 22. Juni 2015, 11:57:01 schrieb ianseeks:
So when i select the menu item i, it starts up both Firefox and konqueror but firefox actually loads the CUPS page and konqueror stops loading and goes away (it never displays anything).
Any reason why it should launch both?
It doesn't launch both browsers. (Konqueror actually is no "web browser" anyway, but rather a shell for displaying KParts, i.e. embedded "applications" so to say; two of those KParts, KHTML and kwebkitpart, happen to display web pages, and are the actual "browsers" that are loaded when you open a web page in Konqueror, just like the dolphin-part is loaded when you open a directory, or the okular-part when opening a PDF...) ok, thanks. but should it show both "firefox" and "konqueror" in the task bar as the program loads?
desktop-launch is a symlink to xdg-open, which in turn runs kfmclient to open the argument when used inside a KDE session, a small KDE helper that opens a file/URL with the associated application. This in turn notices that it's an URL and opens it in the default browser according to KDE's settings.
kfmclient probably is shown as "Konqueror", as that is the name its .desktop file contains...
It is a known problem that you cannot change the default web browser in "Default Applications", it will always revert back to Firefox because of this bug: https://bugzilla.opensuse.org/show_bug.cgi?id=931316
A workaround for that would be to remove the line "BrowserApplication=firefox" from /etc/xdg/kdeglobals (should not be changed during updates as it is a config file) or install plasma5-workspace-branding-upstream instead of plasma5-workspace-branding-openSUSE.
But, you could also try to set the default web browser in KDE4's settings, as kfmclient is still KDE4 based anyway. thats okay, i wasn't trying to change the default anyway, i don't mind which browser it opens to run the CUPS management. I tend to use Chromium or Opera for my browsing needs. Firefox drives me nuts when it goes into a pause phase on some sites, local stuff is fine for firefox.
(nb: i tried to highlight/copy that text off the "Default Applications/Web Browser" screen but it didn't even allow me to highlight the text with the mouse - is that a new feature?)
That's definitely not a "new feature". You cannot do that in KDE4's systemsettings either. i hadn't tried it before on the KDE4 version before. I just get lazy when i have to reproduce something from the screen and assumed a highlight/copy/paste would do the trick.
Kind Regards, Wolfgang thanks for the info
Ian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Montag, 22. Juni 2015, 16:27:17 schrieb ianseeks:
ok, thanks. but should it show both "firefox" and "konqueror" in the task bar as the program loads?
Hm, "should it?" is probably a question to which the answer also might depend on your point of view a bit... ;-) But I tried here now inside Plasma5 (I didn't before because I was logged in to KDE4 when I replied), and it doesn't show the behaviour you describe: here, Firefox is displayed immediately in the task bar, no mention of Konqueror. I'm on 13.2 though, using KDE Frameworks 5.11 already (from KDE:Frameworks5, the devel repo for Factory/Tumbleweed) whereas Tumbleweed still has 5.10. And I'm also having a KF5 based Konqueror/kfmclient installed, which hasn't been released yet, and therefore isn't available in Tumbleweed either. So this "problem" might have been fixed already, or it is caused by some other difference in TW compared to 13.2, e.g. a different cups.desktop file in TW or a different xdg-open. No idea.
i hadn't tried it before on the KDE4 version before. I just get lazy when i have to reproduce something from the screen and assumed a highlight/copy/paste would do the trick.
Well, you asked whether this was a new feature, so... ;-) Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 22 Jun 2015 19:15:15 Wolfgang Bauer wrote:
Am Montag, 22. Juni 2015, 16:27:17 schrieb ianseeks:
ok, thanks. but should it show both "firefox" and "konqueror" in the task bar as the program loads?
Hm, "should it?" is probably a question to which the answer also might depend on your point of view a bit... ;-) my point of view is "no" as it looks wrong, konq appears on the taskbar before firefox
But I tried here now inside Plasma5 (I didn't before because I was logged in to KDE4 when I replied), and it doesn't show the behaviour you describe: here, Firefox is displayed immediately in the task bar, no mention of Konqueror.
I'm on 13.2 though, using KDE Frameworks 5.11 already (from KDE:Frameworks5, the devel repo for Factory/Tumbleweed) whereas Tumbleweed still has 5.10. And I'm also having a KF5 based Konqueror/kfmclient installed, which hasn't been released yet, and therefore isn't available in Tumbleweed either. i'm on 13.2 upgraded to tumbleweed and this only appears since the move to tumbleweed.
So this "problem" might have been fixed already, or it is caused by some other difference in TW compared to 13.2, e.g. a different cups.desktop file in TW or a different xdg-open. No idea. I'll keep an eye on it and if it disappears, i'll comment again
i hadn't tried it before on the KDE4 version before. I just get lazy when i have to reproduce something from the screen and assumed a highlight/copy/paste would do the trick.
Well, you asked whether this was a new feature, so... ;-) Indeed :o) Next time I'll have to try ksnapshot of the screen, copy it into a libreoffice doc, save it as a PDF then try and copy it from okular... then again, i could just type it all out manually :o)
Kind Regards, Wolfgang
Thanks for replies -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
ianseeks
-
Wolfgang Bauer