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
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.
-
1I think the real answer should be the
xdg-open /usr/share/2048/index.html
part. All the other bits are dupes, really. – Sparhawk May 11 '14 at 04:57 -
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.
ls /usr/bin | grep 2048
– Nattgew May 06 '14 at 14:24dpkg-query -c 2048_1_all.deb
to see what files the package installs. – Nattgew May 07 '14 at 14:26xdg-open /usr/share/2048/index.html
? – Nattgew May 08 '14 at 17:36