Aloshi / EmulationStation

A flexible emulator front-end supporting keyboardless navigation and custom system themes.
MIT License
2.06k stars 905 forks source link

Launching chromium from emulationstation #738

Open carlosricardocm opened 6 years ago

carlosricardocm commented 6 years ago

Hi, I installed Chromium using an customised deb package (customised to allow viewing netflix). Chromium is installed without errors, but when I try to run it from emulationstation, I get the following message:

Failed to put Xlib into threaded mode. Gtk: cannot open display

I have a script called chromium.sh in RetroPie/roms/chromium which contains the following line inside: chromium-browser

Also I added the following to the file es_sytems.cfg located in /opt/retropie/config/all/emulationstation/es_system

`

Chromium chromium ~/RetroPie/roms/ chromium .sh .SH

bash %ROM%

chromium

`

Any thoughts?

Thanks.

carlosricardocm commented 6 years ago

I get the deb file from here: https://github.com/kusti8/chromium-build/releases/download/netflix-1.0.0/chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb

zombiepigdragon commented 6 years ago

Are you running from Ubuntu? I know that if the desktop is running that should work. If you're on Raspbian, try startx chromium. (https://raspberrypi.stackexchange.com/questions/11866/how-can-i-start-x11-only-for-a-single-application)