Web Design

Archive for July, 2009

Find files that are older than X years using Linux

If you want to find out what files are older than - let’s say - ten years and still residing on your hard drive, do a cd /find . -mtime +3650 This will search for such files on all your Linux partition and display[...]


Minimize any GNOME application in the system tray

You can do this by installing AllTray. Once you start the software, a window will pop up asking you to click on the application window you wish to minimize. [...]


Make MPlayer use the correct encoding for Romanian and Greek subtitles

Open up GMPlayer (or another MPlayer GUI) right-click on it, go to Preferences, click on the Font tab and from the Encoding list chose Slavic/Central European Languages (ISO-8859-2) for Romanian subtitles. Use Modern Gre[...]


Limit the CPU usage of a certain application in Linux

You can do this by installing cpulimit. You can limit a certain running application either by name or by process ID: cpulimit -e firefox -l 30 This won’t let Firefox go beyond a 30% CPU usage limit. If you’d [...]