PDA

View Full Version : Linux help


[UFP]Ghost
11 Dec 2009, 20:13
Hi!

I still come around here every so often to check out posts and stuff. Been busy this year with first year at UofT. Anyway, I use a netbook for general computing on the go, it's cheap and whatnot.

I decided to give a go at a Linux distrobution made for netbooks. I decided to give a go at jolicloud (based off ubuntu iirc). Anyway, It's a small screen and I really want to play gplanarity (http://web.mit.edu/xiphmont/Public/gPlanarity.html) on it to pass the time.

However, I bought the Samsung N120 (great battery life and keyboard size). It only has a 10.1" screen. At the maximum resolution when I open gplanarity it gets cut off. I can't re size the window below the size it opens at and the buttons are cut off.

I emailed the guy who wrote gplanarity as a Linux port. He said:
You could change the default board size at the beginning of gameboard.c. Default is 800x600, you could just reduce it. The minimum size that works properly is probably about 600x400. It remembers the size from before so you'd need to delete the ~/.gPlanarity directory (and the saved boards/state) to have the new size completely take hold.

The thing is, I've only been using linux for like 20 hours. I'm kind of new to all this stuff. To get gplanarity all I did was:
sudo apt-get install gplanairty

I have no idea how to do what he said, could someone help me :?

SupSuper
11 Dec 2009, 23:47
He's telling you to grab the source code from the site, edit the default board size in "gameboard.c" and compile it yourself, which is a lot of work just to change a setting.

However, since he mentioned the size is memorized in a file, you can just edit that. Go to your "~/.gPlanarity/boards" folder (if you can't find it, just type the path in) , edit the text file in there (mine was called "simple 3"), and find the line that says "board 800 600 800 600". That's the board size, just change the values to something that suits you.

[UFP]Ghost
12 Dec 2009, 03:43
Thank you :D