[opensuse] xdg-open + cups
"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
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
On Tue, 13 Dec 2016 08:03:34 +0100 Per Jessen <per@computer.org> 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. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Dec 13, 2016 at 11:17 AM, listreader <suselist@cableone.net> wrote:
On Tue, 13 Dec 2016 08:03:34 +0100 Per Jessen <per@computer.org> 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
On Tue, 13 Dec 2016 12:19:12 +0300 Andrei Borzenkov <arvidjaar@gmail.com> wrote:
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
On Mon, 12 Dec 2016 14:54:17 -0600 listreader <suselist@cableone.net> 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. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 13 Dec 2016 09:43:34 +0000 Dave Howorth <dave@howorth.org.uk> wrote:
On Mon, 12 Dec 2016 14:54:17 -0600 listreader <suselist@cableone.net> 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