Here we go again with margins in openbox

Posted on: Jun 2007

I wrote a patch for openbox 3.3.1 at the very beginning of the year which was rejected by the openbox leader (to me the reasons wasn't right, but it is his project :-P). So a new release of openbox was released some weeks ago and yes, as you guess, that patch isn't compatible with the new version (3.4), so I re-wrote the patch to work.

The configuration is made in the same way as before in the rc.xml:

<margin>
  <top>px</top>
  <bottom>px</bottom>
  <left>px</left>
  <right>px</right>
</margin>

So, here it is, patch supporting margins in openbox 3.4: http://nomius.github.io/content/patches/openbox-3.4.0-margins.patch

Thanks to all the people asking me for this, as it inspiring.




Firefox freshmeat.net search plugin

Posted on: Jun 2007

A long time since my last post, looks like that was from the caves times. :-P Anyways, I was boring in this almost winter afternoon, so I started to see what I could do in a short amount of time. So I wrote a small search plugin for Firefox, so I can search for projects in freshmeat.net, you can get it from here:

http://nomius.github.io/content/patches/freshmeat.xml

Cheers! :)




My new tool: ktsuss... A simple graphic su

Posted on: Apr 2007

I know I had to write something about the wake on lan software I was writing. I think it is done, but couldn't test it yet, so I don't wanna rush me and write about it and show it in case it doesn't work, so please stay tunned and wait a bit longer.

So, today I will show and talk you about a new thing I was doing these days. I started working on a replacement for gksu. gksu is like a graphical su. I was trying to understand it and make it work well enough, but I don't know what was in the mind of the gksu's developers, because what they did was a really wrong approach, I don't know why they wrote first a library and then the application (maybe for plugins, I'm just paraphrasing) , but anyways, together they are more than 500k, which is extremely too much. So I wrote my version of gksu, which is called ktsuss (keep the su simple, stupid). My version is only the setuid wrapper (as GTK doesn't permit setuid programs) and program itself which is less than 3k. As I know you guys love screenshots, this is how the program looks like:

ktsuss 1.0 screenshow

Anyways, I would like to get feedback on this, so please, let me know if it fails or anything is or goes wrong on it.

Get the program from here: http://dcortarello.googlepages.com/ktsuss-1.0.tar.gz




A month latter... Finally, patch for wavemon

Posted on: Apr 2007

It's been quite a while since my last post here...

Some things happened like the release of Kwort 2.2 (not as great as I would like, but still good). New knm will be released in the next few days, this will be just a bug fix release (too many thanks to the people from tuxmachines, who thanks to them I saw some bugs).

I've been developing on clip at work, which is an interesting and exciting thing, since this is my first time working on compilers (I started last year when I wrote some patches for compatibilities and bug fixes).

Well, now on to businesses and the important stuff. As I said like a month ago I was working on a patch for wavemon, which is a software that I consider very good, with a nice and clean code. I would have released it before, but I was studying and working a lot, so I only have the weekends, and as I been working on Kwort I couldn't work on this before.

So, as it says in the patch, the following bug fixes and features:

  • Fixed errors compilation in gcc 3.x due to default label missing.

  • Fixed some warnings due to the lvalue casts deprecated on gcc 3.x.

  • Changed ap list functions, so now it use the new iw api (this is the most important thing).

The last change is the most important, as it made the code simpler, now it works with all cards because the new wireless tools extensions are up to date.

Get the patch from here: http://nomius.github.io/content/patches/wavemon-0.4.0b-comp-fix-new-ap.patch

And for those that don't know wavemon, you can get the source code from here: http://www.janmorgenstern.de/wavemon-current.tar.gz

I hope you guys find it useful like I do. :)




Kwort Linux (to be released) and Kpkg (released)

Posted on: Mar 2007

Kpkg 2.4 was released some minutes ago, you can download it from here: http://prdownload.berlios.de/kpkg/kpkg-2.4.tar.gz

This version is a bug fix release, now PKGGOOD and PKGFAIL works with upgrade as it should and I fixed a weird issue due to a scope problem in bash functions.

As usual, release notes and Changelog can be found here

That's about Kpkg. Now, let's go to the important business. Kwort 2.2 final version will be released in the next couple of hours as some bugs (I hope no more appear) were fixed. The most important upgrades of this final version are kpkg and dialog. Not important upgrades were aaa_base and freedesktop packages that were modified to avoid annoying messages during the install.




Kwort network manager 2.0 released

Posted on: Feb 2007

Has been like a lifetime since I wrote something here, sorry folks, I been studying and working a lot.

I just released knm 2.0, I tried to do this for the last two weeks, but there was some problems with releases at berlios (unless that happened when I tried to release this new version of knm). No many improvements made, several bug fixes and some information dialogs.

You can see the release notes with the changelog here: Changelog and release notes

And you can download this new release at here: Download

In other news, Kwort 2.2rc2 have been released, check Kwort site at my right or here (Thanks to Josep Subils Rigau who keep both the domains (.com and .org) registered). Please, if you're gonna download the iso, use Andreas's (aka avarus) mirror, as it is faster.

Finally, I'm working in a patch for wavemon (http://www.janmorgenstern.de/projects-software.html), I already fixed any gcc incompatibilities but I'm still working trying to fix the ap list feature, because as it says in the source code it should be changed to the new 2.6 kernel api.

That's all for today... Stay tuned. ;)



Kwort Linux new logo

Posted on: Feb 2007

Not really programming, unix and/or math, this is like off-topic for this weblog, but Kwort's related, so for transition, Unix related. :D

I'm happy to announce that Kwort Linux has now a new logo. Some weeks ago, Julio Cesar Puigpinos wrote to a mailing list the idea of create a new logo for Kwort. Only one person sent me some sketches, and this was Fabricio Caiazza. He made two logos and sent those to me, the first one looked like a friendly ghost and the second one (a weird penguin) who was the one who won. I would have liked to have more logos from which to choose, not because Fabricio's logo isn't nice (it is actually great btw), but the fact of having more logos means that the community wants to help. I'm not making a judgment here, maybe the community doesn't like arts, but it would be nice to get some help sometimes...

Anyways, no more talking, the logo: Kwort logo

In other news, Andreas Schipplock is making a new site with several languages support (I'm not sure, but I think he finished the languages support code today) for those who instead of help come with criticism and complainings about this issue (you guys know who you are, and I only feel shame for you).




What would programmers do when they are bored?

Posted on: Jan 2007

Well, nothing much to do these days since I spent all my vacation doing other things. I actually started to code a C API for kpkg, which will be finished in an unknown future. :P As I have also fixed some bugs in kpg I released a new version "2.3" which is a bug fix release.

See the release notes here: Releas notes

And get the package here: Download kpkg 2.3 at berlios.de

To come back to the original question... Well, this is very tricky, since we should do things normal people normally do. In this case "no computer related things". But, ok, people know, programmers are very weird, so when we are boring we do the opposite, which in this case would be "computer related things". :P

So... What have I done? I improved my "IDE", and it is quoted because it's actually vim only. So, how can someone improve vim? Simple! By just reading some of these books: http://iccf-holland.org/click5.html

Or if you don't want to spend your money on that, you can actually learn vim with :help inside of vim. So, this is my new vimrc file, there's nothing very weird on it, only a set of templates, some options and options to compile simple projects and full autotools projects.

I hope you enjoy it and of course, take whatever you need from it: https://github.com/nomius/dotfiles/blob/master/.vimrc




Margins in Openbox

Posted on: Jan 2007

Last month I started using openbox to create an easy to use desktop for programmers. Everything was nice, but I wanted to use yabb with adesklets, and then ipager... Everything was nice when I launched those applications/applets, but when I maximize a window, it was over the applet. There are some applets where that is ok, like the weather applet, but that wasn't right for a panel (like yabb) or a pager like ipager (this last one should set struts). The solution was margins, Xfwm4 has it and other several wm (like metacity and sawfish) has it too. So I wrote a small patch to give to openbox margins. I was very happy with it, and gave it to other users to try it (thanks gregf in irc://irc.oftc.net/slackware who tested it for a while, and who stills using it), so I made the submition in openbox's bugzilla. But guess what... The patch was rejected, and the bugzilla entry closed and deleted. The answer of the developer was: It's up to the pager/panel to set properties called struts. Openbox properly respects those and doesn't maximize over them.

Which is great... I mean... Follow standards, that's good... But applets does not set struts, and sometimes the users just wants margins. So anyways, the patch is here for everyone who wants to use it. Just has to apply it and set the margins in the configuration file like this:

<margin>
    <top>px</top>
    <bottom>px</bottom>
    <left>px</left>
    <right>px</right>
</margin>

So here's the patch: http://nomius.github.io/content/patches/openbox-3.3.1-margins.patch




TTYsnoop fixes

Posted on: Dec 2006

I started using ttysnoop (it's like a vnc for consoles) at work but there was so troubles while compiling, so this patch fixes errors, warnings and adds things to Makefile to make it more flexible and able to compile the program itself, read the comments in the patch for a more detailed information. And please, if someone finds Carl Declerck's email (another than carl[@]miskatonic[.]inbe[.]net), send this patch to him or drop a comment here reporting me his real mail, since I couldn't send him the patch because his email address doesn't exists anymore.

If you want to start using it you'll probably want to apply this patch.

I leave you the link here:

http://nomius.github.io/content/patches/ttysnoop-0.12c-fixes.patch