Ubuntu 12.04 - Chromium will not launch #4

Closed
TomFreudenberg opened this Issue May 7, 2012 · 5 comments

Comments

Projects
None yet
2 participants
@TomFreudenberg
Owner

TomFreudenberg commented May 7, 2012

I have an issue with the Chrominium v. 18.0.1025.151 (Build 130497 Linux) at Ubuntu 12.04

The browser will not open when I click on open presentation. I opened the Chrominium manually, typed http://localhost:12345 - OK, it works.

(This was originally reported by: https://github.com/Equalibrium)

@ghost ghost assigned TomFreudenberg May 7, 2012

@TomFreudenberg

This comment has been minimized.

Show comment
Hide comment
@TomFreudenberg

TomFreudenberg May 7, 2012

Owner

Hi Equalibrium,

please try once and enter to command-line:

xdg-open http://localhost:12345

and see whats happen and try next:

x-www-browser http://localhost:12345

Thanx for reporting

Owner

TomFreudenberg commented May 7, 2012

Hi Equalibrium,

please try once and enter to command-line:

xdg-open http://localhost:12345

and see whats happen and try next:

x-www-browser http://localhost:12345

Thanx for reporting

@TomFreudenberg

This comment has been minimized.

Show comment
Hide comment
Owner

TomFreudenberg commented May 7, 2012

Please check also discussion on:

http://www.linuxquestions.org/questions/programming-9/xdg-open-no-method-available-for-opening-889242/

and take a look at the last comment.

@TomFreudenberg

This comment has been minimized.

Show comment
Hide comment
@TomFreudenberg

TomFreudenberg May 7, 2012

Owner

I tried to do an improvement by launching "x-www-browser" when available before using "xdg-open".

Please report any resulting bugs if there are some.

__open_browser() { # build URI URI="http://localhost:${WEB_PORT}"

info message

__info "Your browser will now be directed to your offline presentation.\nLaunching ${URI}.\n\nPlease click OK and look at your browser."

check method to launch browser

CMD_OPTION=$(which x-www-browser)

if [[ "$?" -eq 0 ]]; then
# on Debian / alternative based systems call x-www-browser
x-www-browser "${URI}"
else
# start defaut web browser on freedesktop systems
xdg-open "${URI}"
fi
}

Owner

TomFreudenberg commented May 7, 2012

I tried to do an improvement by launching "x-www-browser" when available before using "xdg-open".

Please report any resulting bugs if there are some.

__open_browser() { # build URI URI="http://localhost:${WEB_PORT}"

info message

__info "Your browser will now be directed to your offline presentation.\nLaunching ${URI}.\n\nPlease click OK and look at your browser."

check method to launch browser

CMD_OPTION=$(which x-www-browser)

if [[ "$?" -eq 0 ]]; then
# on Debian / alternative based systems call x-www-browser
x-www-browser "${URI}"
else
# start defaut web browser on freedesktop systems
xdg-open "${URI}"
fi
}

@TomFreudenberg

This comment has been minimized.

Show comment
Hide comment
@TomFreudenberg

TomFreudenberg May 7, 2012

Owner

Include in Release 1.0-4

Owner

TomFreudenberg commented May 7, 2012

Include in Release 1.0-4

@ccfiel

This comment has been minimized.

Show comment
Hide comment
@ccfiel

ccfiel Jun 3, 2012

There is no place to thanks you. So I just hijack this thread :D Thanks a lot for this tool!!!

ccfiel commented Jun 3, 2012

There is no place to thanks you. So I just hijack this thread :D Thanks a lot for this tool!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment