I've found this site : http://www.unixmen.com/install-2048-game-ubuntu/
I downloaded the open-source puzzler @ http://sourceforge.net/projects/linuxfreedomfor/files/ubuntu/2048_1_all.deb & installed it via terminal : sudo dpkg -i 2048_1_all.deb
When I launch the 2048 game from the Unity Dash it will not open.
- 65
- 1
- 2
- 7
2 Answers
The fact that it won't open after installing the program sounds like a bug with the program, you would have to report that to the developer.
The dpkg -L 2048 command will show what files are installed for the program. It shows that /usr/share/2048/index.html is installed, and this is the main file for the program. You can open this with the default browser using xdg-open:
xdg-open /usr/share/2048/index.html
You could create your own launcher for the game from one of the following guides:
How can I edit/create new launcher items in Unity by hand?
How can I create launchers on my desktop?
Short code snippets use backticks `, probably upper left corner of your keyboard. For more about formatting, see this page.
The above didn't work for me after a fresh install- but in 'alacarte'(main menu icon) -> games 2048 -> properties I substituted in 'command' xdg-open /opt/2048/data/index.html - now game opens in a new tab in chromium as before.