Skip navigation.

Missing pieces

Everything you should know about technology, but have been missing out

Managing windows

, , ,

When managing Windows, there's not too many options, but Unix/Linux has quite modular structure. In most cases window manager can ge changed from graphical login screen, in other cases by editing one row in config file.

But what's window manager? If you got operating system as premade package, you might no even realize that it's there (that's even point of Metacity, Gnomes window manager). First picture is plain Xorg without any window manager. It works as at least some programs have parameters to set window size and placement. But not very convenient, even for keyboard junkie. Though if you want to save some memory, this is option too.

Quite convenient for kiosk setup too, as whole screen is taken by the only running application and there's no minimize buttons, task bars and things like that. Exiting the application exits X too, so it's not secure setup on it's own. But using such setups would mean less funny blue screens and anti-virus notifications for public information displays.

Some features are provided by Xorg itself. Keyboard and mouse work, but with one terminal open, mouse is not that useful yet as there's no buttons to click on and windows can't be dragged around. Resolution can be also changed with keyboard shortcuts. In addition it's possible to launch programs from remote computers and display them on this screen. No need to install additional programs for that as X is designed to be networked. Though it's also security risk, so X doesn't usually listen for network connections by default, just connections from local computer. That can be circumvented securely with SSH, but that's another topic for some another time.

So what happens when window manager is launched? As you can see window suddenly has title bar and there's task bar and menu. I cheated a bit and added background image by hand.

Window manager in this screenshot is Fluxbox. Quite lightweight, though some themes are slightly heavier than others. Menus can have transparency and windows can be grouped together.

Theme is not the default one, Fluxbox includes just some more simple themes by default. I think the project is still alive, so some new features might be expected. Fluxbox supports also small applications that Window Maker calls dockapps. Configuration is done by editing configurations files by hand as almost everything else too. And of course, virtual desktops are supported.

Second window manager is Afterstep. This is the default theme and doesn't look bad for default theme. As can be seen from the picture, windows can be grouped too, but this feature is reserved for terminals.

Afterstep takes some time to get used to as all three mouse buttons seem to have different function with every button. Dockapps are also supported and some of them are launched by default. Again, configurations is done by editing configuration files by hand. I think there was some graphical configuration tool for older Afterstep, but I have never used it. By default there's few virtual desktops that are divided in four parts.

And then my favourite, Window Maker. No, theme in the screenshot is not the default theme. Default theme is not completely plain though, it has some gradients.

Nice thing about Window Maker is that there's really no need to edit configuration files by hand, there's graphical utilities for configuring most of the things. If the default configuration tool is not good enough, another alternative configuration tool can be installed.

Window Maker does things differently, or at least differently than Windows does things, so there's slight learning curve, but reading the manual is not mandatory to get things done.

Another nice thing is that things can be dragged around. Rearranging dock (that's where dockapps live, on the right side of the screen in this screenshot) can be done by dragging dockapps around. It's also possible to enable dragging of windows from one virtual desktop to another.

Development seems to be slow, so new features can't really be expected.

And now something slightly different. WMII is one of the tiling window managers. That means that each window gets it's own tile of the screen. Usually that means too that themes are plain and mouse is not necessary. WMII is easiest to learn so far of window managers of this type that I have found.

Usual problem with window managers like these is that some programs don't behave well when stuffed in small tiles. WMII supports floating windows too, so those misbehaving applications can be used normally too. Though I would like to see window manager that's not so strict with tiling princibles. For example giving requested window size for application is not that bad with some applications. Dockapps like to have 64x64 pixel space usually for reason. Though there should be dock for Ion, but I haven't been able to enable it.

Last one in this article is Enlightenment, more precisely E17, version that's not released yet. That still doesn't stop it from being popular and some distributions offer development snapshots and if yours doesn't, there always Elive (too bad there's no free download). E17 isn't strictly only a window manager, it's more like lightweight desktop manager. It has graphical configuration tools, file manager and its own toolkit.

Another thing that could be said about E17 is that it's artistic window manager, even bit too much in some places with the default theme. Theme in this screenshot is not the default one, but default one doesn't look bad either. All kinds of desktop effects are supported. For example animated backgrounds, rain and snow. 3D acceleration is not supported, so no 3D effects like in Beryl or Compiz.

If these window managers are not enough for you, there's more of them. Impartial, but still good list of them can be found from http://xwinman.org/

Security podcasts

, ,

I have listened to various podcasts for over an year now. I though I might share some interesting networking and security related episodes. Some of these podcast episodes are easier to understand with bit of network knowledge.

If you need good overview of networking, Run your own server might be one of the good places to start. As shows name suggests, it's from the point of view of running your own server, but there's for example one episode about DNS, that explains some DNS concepts.

This episode of bsdtalk deals mostly with honeynets. Basically it's a service that looks like ordinary server, but is set up to gather information about the intruder.

SCTP is sort of crossover between TCP and UDP, it just does some things better.

This episode at sploitcast deals with ISP level security. Quite advanced stuff, if you're not familiar how Internet works on larger scale.

Security Monkey has podcast too. I just can't remember any particular episode that I should link.

So this time bit shorter post, but on the other hand, goind through the linked content should take some time :smile:

PS: thanks to http://openclipart.org for saving me some time.

Battle for Wesnoth

, , , ...

If Battle for Wesnoth would be first person shooter with similar level of quality, it would be quite likely be lot more popular. Now it's excelent fantasy role playing strategy game that doesn't look bad compared to commercial alternatives. Sure, there's no fancy 3D graphics, but that's not so important in genre like this.

So what is it about? From the strategy game perspective, movement happens in hextiles and game is turn based. Different units can move different number of tiles in a turn, depending on terrain. There's certain about randomnes in combat, but there are also number variables that have effect on the odds. For example some units are much better in open terrain and some in forest. In addition units are more vulnerable to certain kind of attacks than the others. For example undead are normally tough, but are very vulnerable on holy attacks. Time of the day also gives some kind of units advantage. Orcs and undead get bonus during night. Odds are presented before doing the actual attack, so you can only blame yourself getting good units killed because odds were not in their favour.

From the role playing side, every unit has experience points and two random special features, for example unit can be intelligent and strong. In Wesnoth intelligence means that unit gets experience points more quickly. After unit gets enough experience points to advance to next level, it gets better attacks for example. Some units have different choices what to advance to. For example mage adepts can advance to red or white mage. Red mages are good against most units, but white mages have holy attack and undead don't stand much change against them. Choices are sometimes tough.

Basicly gameplay usually goes like this: You start in camp and buy some units. Once gold starts to get low, you have to occupy some villages to get more gold to maintain your army. Running out of gold means just that you can't hire new units, so existing ones don't start a strike. If odds look good enough you can go and defeat the enemy leader. Usually there's some slightly superior units that must not be killed as allies. So using them is bit risky, but usually worth it if you're careful enough.

Most common fault in freely available games is that there's not much to play, at least with single player. Wesnoth doesn't seem to have that problem. There are few campaigns to play and it could take weeks to play them all, of course depending on how much you play. To me, easiest skill level seems mostly be hard enough. And for extra challenge, there's sometimes bonus goals too. Campaigns have also plot and sometimes there's multiple choices, that affect for example what allies you get. Sometimes it's just not possible to please everybody. So plot is not in the way, actually it makes campaigns much better.

What about graphics then? There's not much to complain about them, maybe some unit portraits might be better. There's even some variation in tilesets, so every mission doesn't look the same. Sounds are also good. I don't remember much about music as I usually turn it off in games like these.

So if you're not allergic to strategy games, Battle for Wesnoth should be worth a look. It's available for number of operating systems, such as Windows, Mac OS X, Linux and FreeBSD.

Where to get news

, ,

It's hard to find sites that have just the important news and no usual junk. Some sites just link stories without doing any research. But everything that gets site readers is good, right? But anyway, let's see what sites I have. If you're allergic to open source and Linux, most of these sites might not be good for you.

Technology, politics and little bit of gaming. As it's american site, so politics are from american perspective.That might be counted as bad side as some news are not so relevant elsewhere, but on the other hand it's interesting to see how things are different and sometimes not so different. Bad side is that articles might arrive bit later, but they're more throughly researched. Quantity seems to be in order too, I don't simply have time to go through everything, unless I drop more news sources that I read.

Some original articles, but usually just links. Good point is that stories involve sometimes bit more obscure operating systems. Bad side is that some linked stories are junk, so less articles would be good thing sometimes. Though there's active community commenting articles and it's possible to read just highly rated comments, so reading comments doesn't take too much time. Though there's always risk losing some insightful comments because most of the community doesn't like them. By default there's no threading for comments, at least at some point that option was only for registered users.

If open source interests you, this is good place to check out. I don't remember if there's too much junk. Some stories are original material, some are links to linux.com and www.itmanagersjournal.com. Usually articles don't get much comments, but in worst cases there can be full scale flamewar. Though like Slashdot, Newsforge uses also Slashcode and there's threading and ratings for comments, though ratings are not very common.

Distrowatch is all about BSD and Linux distributions. In addition to extensive list of distributions, there's also Distrowatch Weekly which has news what has been happening with BSD and Linux. If you want to know when some distribution is coming out, this is to place to check out.

News stories submitted by sites users. I don't read it regularly so I really don't know what the overall quality is right now. Comment system is good, there's rating and threading. Slashdot also has its own subcluture with some recuring jokes. And only place where comments can be rated +5 funny.

Digg goes bit further in user regulation. Users can "digg" stories they like and stories with most diggs are displayed on front page. Bad side of this is that some users try to game the system and front page fills up with duplicates or other junk. But I don't know what the current state is, I have never read Digg regularly. Comments have nice user interface though, displaying of one hidden comment is easieast implementations that I have seen so far, comment just expands without need for reloading whole page again. And there's some kind of threading too.

In addition there are also podcasts and vidcasts (or IPTV shows, whatever you like to call them). There's so much stuff out there that it's impossible to go through all, so problem is to find sources that link the best articles.

Maybe one of these is the site you have been looking for. Happy hunting.

PS: knight17 recommended http://news.yahoo.com/tech so that might be worth checking out too.

Beware of infrequent updates

No, I didn't get a girlfriend or married. Just a job, though it might also be enough to slow updates even more. I'll know more next week when the job starts. Though it has been lately more like post in a week than the previous two posts in a week.

But I don't think I'll be stopping completely yet. There's still some work to done to get to 100 posts :smile:
December 2009
M T W T F S S
November 2009January 2010
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31