[opensuse] xdg-open + cups
![](https://seccdn.libravatar.org/avatar/aaff612bb0750768db78818737bfbdb6.jpg?s=120&d=mm&r=g)
"http://localhost:631/" in a browser opens cups management as expected but "xdg-open http://localhost:631/" does not and instead opens an index view of /home in a webpage. Why? Thanks. Ralph Leap 42.1 / LXDE (gtk) Linux -.- 4.1.36-38-default #1 SMP PREEMPT Sun Dec 4 07:24:39 UTC 2016 (6c3b351) x86_64 x86_64 x86_64 GNU/Linux Firefox 50.0.2 Cups 1.7.5 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
listreader wrote:
"http://localhost:631/" in a browser opens cups management as expected but "xdg-open http://localhost:631/" does not and instead opens an index view of /home in a webpage. Why? Thanks.
Just FYI - works for me in leap422+KDE with: xdg-open https://printserver:631 -- Per Jessen, Zürich (-0.4°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/aaff612bb0750768db78818737bfbdb6.jpg?s=120&d=mm&r=g)
On Tue, 13 Dec 2016 08:03:34 +0100
Per Jessen
listreader wrote:
"http://localhost:631/" in a browser opens cups management as expected but "xdg-open http://localhost:631/" does not and instead opens an index view of /home in a webpage. Why? Thanks.
Just FYI - works for me in leap422+KDE with:
xdg-open https://printserver:631
Thanks for the suggestion but here with leap421+lxde(gtk) that also just opens an index view of /home in a webpage. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
On Tue, Dec 13, 2016 at 11:17 AM, listreader
On Tue, 13 Dec 2016 08:03:34 +0100 Per Jessen
wrote: listreader wrote:
"http://localhost:631/" in a browser opens cups management as expected but "xdg-open http://localhost:631/" does not and instead opens an index view of /home in a webpage. Why? Thanks.
Just FYI - works for me in leap422+KDE with:
xdg-open https://printserver:631
Thanks for the suggestion but here with leap421+lxde(gtk) that also just opens an index view of /home in a webpage.
What actual program is opened? xdg-open under KDE effectively calls kfmclient (or probably kde-open, depending on version) while xdg-open under LXDE does some checks on URL and may call different programs, depending on environment. Run sh -x xdg-open http://localhost:631/ 2> /tmp/log and show /tmp/log. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/aaff612bb0750768db78818737bfbdb6.jpg?s=120&d=mm&r=g)
On Tue, 13 Dec 2016 12:19:12 +0300
Andrei Borzenkov
Run
sh -x xdg-open http://localhost:631/ 2> /tmp/log
and show /tmp/log.
Thank you. Dave H has pointed me to a bugzilla where this is already known as a side affect to a previous fix so my question is now mute. https://bugzilla.suse.com/show_bug.cgi?id=997079 Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/150bb68600b6f4527c14c79e81e90f53.jpg?s=120&d=mm&r=g)
On Mon, 12 Dec 2016 14:54:17 -0600
listreader
"http://localhost:631/" in a browser opens cups management as expected but "xdg-open http://localhost:631/" does not and instead opens an index view of /home in a webpage. Why? Thanks.
Ralph
Leap 42.1 / LXDE (gtk) Linux -.- 4.1.36-38-default #1 SMP PREEMPT Sun Dec 4 07:24:39 UTC 2016 (6c3b351) x86_64 x86_64 x86_64 GNU/Linux Firefox 50.0.2 Cups 1.7.5
See https://bugzilla.suse.com/show_bug.cgi?id=997079 In the comments towards the end you'll see that your problem is a bug introduced whilst fixing other bugs including 997079. The workaround is to roll back to the previous version of xdg-utils until the build service finishes again. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/aaff612bb0750768db78818737bfbdb6.jpg?s=120&d=mm&r=g)
On Tue, 13 Dec 2016 09:43:34 +0000
Dave Howorth
On Mon, 12 Dec 2016 14:54:17 -0600 listreader
wrote: "http://localhost:631/" in a browser opens cups management as expected but "xdg-open http://localhost:631/" does not and instead opens an index view of /home in a webpage. Why? Thanks.
Ralph
Leap 42.1 / LXDE (gtk) Linux -.- 4.1.36-38-default #1 SMP PREEMPT Sun Dec 4 07:24:39 UTC 2016 (6c3b351) x86_64 x86_64 x86_64 GNU/Linux Firefox 50.0.2 Cups 1.7.5
See https://bugzilla.suse.com/show_bug.cgi?id=997079
In the comments towards the end you'll see that your problem is a bug introduced whilst fixing other bugs including 997079.
The workaround is to roll back to the previous version of xdg-utils until the build service finishes again.
Thank you very much. I missed that bugzilla. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Dave Howorth
-
listreader
-
Per Jessen