Wrapped in gaffa

Programming, Art, Music, Philosophy, Politics

Posts Tagged ‘Ubuntu

Update Anjuta Auto-Complete

leave a comment »

The tags used by the auto-complete feature (Scintilla only) in Anjuta can be updated by running this script:

/usr/share/anjuta/scripts/create_global_tags.sh

The script automatically scans your /usr/include folder. It is also running pkg-config to update dependencies for packages.

Maybe there is a way to do this from within Anjuta, but if if there is, it is so unintuitive that it was more obvious for me to open a terminal and write dpkg -L anjuta-common to locate a script ;)

I’m having some issues with the Devhelp extension for Anjuta on Ubuntu 7.10, I’ll post something if I find some time to debug it. I know it crashes on running gtk_moz_embed_realize, but I don’t know why yet ;)

Advertisements

Written by gaffa

2007-12-29 at 02:18

Battle for Wesnoth

with 4 comments

Graphics (5/10):
Good looking 2D graphics.

Sound (5/10):
The music is great, but I get the feeling it isn’t synced to support the gameplay. The fighting sound effects are good, but that is all the sound effects there is. No audio in dialogs.

Gameplay (8/10):
8! 8!? Yes, 8. At first the game looked like something I would throw away before I even completed the first level, but as I began to think of the turnbased gameplay as a boardgame/puzzle I got addicted. Who doesn’t like puzzles? The rules are simple, but that is what makes it great. It is not an RPG you get lost in. You have a castle where you can recruit players with your main character. You can take over houses to get more money and your characters get 8 healthpoints if they skip a turn staying in a house. Your characters have experience points and can be promoted when they get enough experience. You can use the environment to your advantage. You can hide in a forrest or fight an enemy standing in water. The evil races increase their chances of a good hit by 25% by night and yours are down 25%. The rules are pretty simple, and I like the simplicity. I’m not much into RPGs because you have to devote so much time to learning and understanding them. Battle of Wesnoth is simple and great!

Community (10/10):
The team behind Battle for Wesnoth has brilliantly included the users in the making of the game. It is easy to modify the game and all you need to know is one click away on Wesnoth.org. Wesnoth.org also has a great forum, where users gather to create art, music/sound, translations and maps with peer reviewing. This project has the spirit of Free Software.

Overall (8/10):
You might not agree, but luckily I’m the one who decides which games are great and which games are not. I can guarantee that this game is a top scorer and that 8/10 wont be topped in the next couple of games I review. As a plus it works on Linux, Windows and MacOSX. I couldn’t connect to the official internet server as the version in Ubuntu Edgy repositories is older than the server version, but I doubt multiplayer would have changed my rating of this game.

Go grab it!

Written by gaffa

2007-01-25 at 22:19

Posted in Games

Tagged with , , ,

Trash on portable devices

leave a comment »

Experienced users know that Ubuntu (Gnome) creates a trash folder on removable devices so they use Shift+Delete to permanently delete data. Rookie users don’t care that there is a folder and empties the trash can.

There is a bug report in Ubuntu that says Shouldn’t put .Trash-$USER on removable devices and there is a bugreport in Nautilus that says Ask to empty when unmounting media with items in trash. I think both titles are a sign that this is not a bug, but a matter of intuitive behaviour.

If we chose to have a concept of trash cans that is what we should stick with. Inconsistent behaviour is not user friendly. That said it might be convenient to have an option to always permanently delete files or automatically empty the trash can before unmount on certain devices.

I came across an actual bug when I was looking at the default behaviour. It seems like the trash applet is not updating when I delete something on a portable device. That should be be fixed.

Trash is rediscovered when the device is remounted, which is more than I expected when I read the bug reports.

Inconvenience #1
I can not empty individual trash folders. I have to empty all my trash.
Solution: Is obvious isn’t it?

Inconvenience #2
The folder is left on the device even when empty. If many different users use the same device. It would end up looking like this:
.Trash-user1
.Trash-user2
.Trash-user3
This happens on a FAT formatted device which lack a concept of users.
I could also imagine that some devices can’t handle directories prefixed with “.” and that is another good reason to delete the trash folder on portable devices when it is empty.
Solution: Trash folder on portable devices should be deleted when empty.

Feature #1
Option to empty trash before unmount with Yes/No dialog.

I don’t like permanent deletion as an option, when you can always delete with Shift+Delete or just enable the option in Nautilus and use the Right-click menu.

What is your thoughts?

Written by gaffa

2007-01-22 at 00:48

Posted in Gnome

Tagged with , , ,