Category Archives: Ubuntu Linux

Linking shared object files that aren’t explicity used.

Today I learned something from a nice stranger I met on the internet in the #stackoverflow channel on irc.freenode.net named at cky944. For a personal project I’m modifying the Hoard memory allocator — a shared object library that application programs can link with to replace memory allocation code (e.g., malloc, free, etc.). Other users of [...]

Also posted in Programming | Tagged , | Comments closed

Automating “yes” input for a script or binary on linux.

Use the linux utility yes. yes <input> | /path/to/script This will continually input the <input< word into the /path/to/script file. Its useful for automating input into a script or binary and can be used to automate any type of input – don’t let the program’s name fool you.

Also posted in Programming, Webhosting | Tagged | Leave a comment

How to turn off desktop icons in ubuntu linux for xwinwrap.

If you ever feel inclined to turn of your desktop icons by disabling nautilus from painting your desktop you can use the following command: gconftool-2 –type bool –set /apps/nautilus/preferences/show_desktop false You can reverse the change with: gconftool-2 –type bool –set /apps/nautilus/preferences/show_desktop true This can be useful if you want to use xwinwrap to paint your [...]

Posted in Ubuntu Linux | Tagged , | Leave a comment