inotify: Change of Plan
Tuesday, July 7th, 2009A simple C++ program that detects change of ~/.plan:
(and it contains a convenient debugging function that gets the name of the inotify event as a char *)
Tags: c, inotify, linuxA simple C++ program that detects change of ~/.plan:
(and it contains a convenient debugging function that gets the name of the inotify event as a char *)
Tags: c, inotify, linuxI’ve published my crux ports at github:
git: git://github.com/gauteh/cruxports.git
web: http://github.com/gauteh/cruxports/tree/master
It mostly contains fixed and/or updated ports from various official and larger repos:
By using the experimental git driver for ports you can sync with this config:
/etc/ports/gaute.git:
# Collection by Gaute Hope <eg@gaute.vetsj.com>URL=git://github.com/gauteh/cruxports.git
BRANCH=master
DESTINATION=/usr/ports/gaute
put the driver in the file /etc/ports/driver/git, you might have to change the git commands to use spaces and not ‘-’. I.e.: git-clone -> git clone.
Tags: crux, linux, portsgexheres.git has been renamed to gauteh.git:
Tags: exherbo, exheres, git, linuxClone url: git://github.org/gauteh/gauteh.git
Tree: http://github.com/gauteh/gauteh/tree/master
New exhereses in git://github.com/gauteh/gexheres.git:
- gaute
Tags: exherbo, exheres, linuxI have gotten alot of different bug reports and problems sent to me when people try to use gnome-schedule, and quite a few of them are actually crontab and atd problems; mostly just them not being there at all. This post tries to give you an idea about how you can figure out what is wrong; or how it is supposed to work. Exactly how to set up crontab and at differs for all distributions and they all have their own tutorials.
If something works; don’t proceed through the rest of the steps – they are meant as suggestions to solutions. And if you have it working they might break it. That means; no guarantees!
Tags: at, crontab, gnome, how-to, linuxThe X output feature for Gnome Schedule is now ready for testing, this means that you can easily schedule graphical applications without worrying about the DISPLAY variable. Gnome Schedule also checks before each run if there is a working X connection; in other words that you are logged in.
There is still needed some testing before the next version will be released and it would be great if you could try out the current development branch.
To get the sources do:
$ svn checkout http://svn.gnome.org/svn/gnome-schedule/trunk gnome-schedule
You can build and install it into a temporary directory by doing:
$ cd gnome-schedule/
$ ./autogen.sh –prefix=/path/to/tmp
$ make; make installto run it from there do:
$ cd /path/to/tmp/bin
$ ./gnome-schedule
If you have any problems or suggestions file them on the gnome bugzilla. More details on how to build can be found in the README.
- gaute
Tags: gnome, linux, pythonThere has been a review of Gnome Schedule at makeuseof.com:
[...] For those who dislike the terminal and command line interface, Gnome Schedule is the graphical equivalent of the crontab. It leverages the power of vixie-cron, dcron and at to manage your crontab file and provide an easy way to schedule tasks on your computer. Be it scheduling a recurrent task or task that happens only once, Gnome-schedule has no problem in handling it. [...]
- gaute
Tags: linux, pythonMikkel Kamstrup Erlandsen just released updated versions of WinWrangler and gtkhotkey. I made PKGBUILDS for both, the icon for WinWrangler didn’t work so I hardcoded it.
He created this video of it in progress.
I use Super+1 for expand and Super+2 for tile, to do this in Openbox add this to your rc.xml in the <keyboard> section.
<keybind key=”W-1″>
<action name=”Execute”>
<command>winwrangler -l expand</command>
</action>
</keybind>
<keybind key=”W-2″>
<action name=”Execute”>
<command>winwrangler -l tile</command>
</action>
</keybind>
Download:
WinWrangler
gtkhotkey
- gaute
Tags: linuxTo be able to save one click.. or not to use the mouse, I have created a program that upon the pressing of the key ‘r’ will download and display a random comic from xkcd.com and display it on my screen. Every now and then it runs out of memory, but that has proved the only way to stop – so i’ll leave it. It should work on all platforms with cairo, curl and gtk.
The easiest is to use scons to build it.
Download: xkcd.tbz2
- gaute
Tags: everything, linux, nothing, release