This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Utility to hide the mouse cursor and prevent screen blanking. | |
| * | |
| * Compile: | |
| * $ cc -o movietime movie_time.c -lX11 | |
| * | |
| * Usage: | |
| * $ ./movietime | |
| * | |
| * Copyright (C) 2010 Alessandro Ghedini <alessandro@ghedini.me> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * WAVE file info reader. | |
| * | |
| * Compile: | |
| * $ cc -o wav_info wav_info.c | |
| * | |
| * Usage: | |
| * $ ./wav_info <file> | |
| * | |
| * Examples: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Wrap mouse pointer at screen edges. | |
| * | |
| * Compile: | |
| * $ cc -o mousewrap mouse_wrap.c -lX11 -lXi | |
| * | |
| * Usage: | |
| * $ ./mwrap | |
| * | |
| * Copyright (C) 2012 Alessandro Ghedini <alessandro@ghedini.me> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Execute a command after some time of inactivity | |
| * | |
| * Compile: | |
| * $ cc -o sleepd sleepd.c | |
| * | |
| * Usage: | |
| * $ ./sleepd -t 600 -c "slock" | |
| * | |
| * NOTE: to run this as a normal (non-root) user you may need to change |