Posts Tagged Ubuntu
How to retrieve EXIF data from the command line in Ubuntu Linux
Posted by Mike Beach in Uncategorized on December 17, 2011
If you want to make use of the EXIF data stored in a JPEG (.jpg or .jpeg) or TIFF (.tif or .tiff) file from the command line in Ubuntu Linux — or most other Linux variants — here’s how. This was tested on Ubuntu 11.10 (Oneiric Ocelot). First, you will need to have imagemagick installed to [...]
Bash script to automatically sort photos into folders based on EXIF data for Ubuntu Linux
Posted by Mike Beach in Uncategorized on December 10, 2011
If you — like me — take a lot of digital pictures, you probably have a hundred folders full of images on your hard drive or external drives, and not nearly as sorted as you would like them to be. you have probably gotten to the point that you don’t know what’s in them or [...]
Basic Ubuntu VPS server backup via FTP or SSH SFTP
Posted by Mike Beach in Uncategorized on October 2, 2011
In my quest for the perfect “in my dreams” backup solution for my Ubuntu VPS, I created this very simple script which can be run as a cron job and can be easily modified to backup any amount of data to any remote FTP or SFTP server. You could very easily include a database backup [...]
How to run a game or other program in a new X session in Ubuntu Linux
Posted by Mike Beach in Uncategorized on October 1, 2011
To do this, CTRL-ALT-F1 to an open terminal, log in, and run: xinit ./program — :1 where program is the program file you want to start in a new X session. Assuming your normal X session is on :0 and appears when you CTRL-ALT-F7, your new one will spawn on CTRL-ALT-F8. Questions, comments? Please feel [...]
Easy Ubuntu data usage monitor
Posted by Mike Beach in Uncategorized on September 29, 2011
If you’re lucky enough to have a broadband card that works under Linux, your plan probably includes an “allowance” or data usage quota per month. You might be thinking how nice it would be to have a utility that tracks your data usage for the month (or other period) and gives you an easy-to-read report. [...]
How to tell if your CPU supports virtualization under Ubuntu Linux
Posted by Mike Beach in Uncategorized on September 23, 2011
If you’re thinking of running a virtual machine, you should check first to see if your processor supports the VT extension. To do so, run the following command in a terminal. cat /proc/cpuinfo | egrep ‘(vmx|svm)’ Having the VT extension allows improved virtual machine performance, as well as the ability to run 64-bit virtual machines. [...]
WARNING: erroneous pipeline: no element “lamemp3enc”
Posted by Mike Beach in Uncategorized on September 18, 2011
I was using gst-launch to create and handle an audio stream, but when I went to run it on a second Ubuntu box I could not figure out why I was getting an error. Here was a section of my command: gst-launch-0.10 pulsesrc device=alsa_output.pci-0000_02_02.0.analog-stereo.monitor ! audioconvert ! audio/x-raw-int,channels=2,rate=32000 ! lamemp3enc ! … I got this [...]
Batch converting audio files to MP3
Posted by Mike Beach in Uncategorized on September 4, 2011
If you’re converting a single file, http://media.io/ is a great online tool. However, for batch conversion, you’ll want to look at one or more of the following tools: Windows: dbPowerAmp is a great conversion utility http://www.dbpoweramp.com/dmc.htm Ubuntu: While dbPowerAmp says Linux is supported through Wine, I’ve found that soundconverter works wonderfully. To install it: sudo apt-get install soundconverter [...]
Converting a Mac DMG image to ISO in Ubuntu
Posted by Mike Beach in Uncategorized on August 28, 2011
Mac DMG images are practically unusable in a non-Mac system in that format. They can be converted to ISO images in Ubuntu for easy burning, mounting, or use in a virtual machine. Once you have the DMG file you want to convert to an ISO file, you need to install dmg2img sudo apt-get install dmg2img [...]
How to disable the screensaver in Ubuntu Classic Gnome
Posted by Mike Beach in Uncategorized on August 28, 2011
Note that screensaver preferences are a per-user setting, meaning each user has their own settings. If you’re experiencing issues with the screensaver (lack of OpenGL acceleration, system hanging, etc) you’ll want to disable them for each user account. Open System > Preferences > Screensaver (see the screenshot below) Uncheck “Activate screensaver when computer is idle” [...]

Recent Comments