Sunday, 29 January 2012

How to convert .bin to ISO in Ubuntu

.bin/.cue image files were made popular by Golden Hawk's CDRWin application.  The disc image is expressed in pairs, with the .bin file containing most of the data and the .cue file containing layout information.  I am not a big fan really hate when I get a disc image in .bin/.cue format.  ISO is the way to go and is easily readable by Ubuntu.

To convert, get a command-line program called bchunk. 

sudo apt-get install bchunk
Usage looks like: 
bchunk [options] image.bin image.cue output.iso
.  Simple and easy.

Monday, 5 December 2011

How to Disable Overlay Scrollbars in Ubuntu

Looking back, I don't know why I put up with Ubuntu's overlay scrollbars for so long... they're just that awful.  Your mouse must be in just the right spot to catch the scrollbar, and forget about paging down click by click.


So this morning I decided to just get rid of them.  Turns out it's easy.  Just add this line of code:

export LIBOVERLAY_SCROLLBAR=0
to the file
/etc/X11/Xsession.d/99disable-overlay-scrollbars
for global removal (you may need to create that file).  To disable only on a user-by-user basis, enter the same text in the user's file:
~/.xprofile

Sunday, 4 December 2011

Ubuntu Wired Ethernet Connection Not Working

I recently upgraded my home internet connection to 50 mbps.  Shaw (ISP) gave loaned me a new Cisco DPC3825 cable modem.  The Cisco DPC3825 also functions as a gateway, router, and wireless router, so I pulled the plug on my old Trendnet TEW-432BRP.  In doing this, I started to notice multiple failures between my PS3 and my Ubuntu 11.04 machine (running PS3 Media Server, both wired) in the form of frequent DLNA errors.  On top of this, Ubuntu sometimes wouldn't recognise the wired ethernet connection (even though the hardware lights activated).

Fixing/resetting this was simple:

sudo service network-manager stop
sudo ifconfig eth0 up
sudo dhclient eth0
sudo service network-manager start
These commands stop network manager, ensure the wired ethernet device (eth0 in my case) is being monitored, renew its DHCP lease, and restart network manager.  So far, it's worked for me every time.

After a little more digging, I believe the problem lies with my Cisco SPA2102 VOIP phone adapter.  It was running under the gateway and also assigning DHCP.  I've since turned this feature off and am hoping for less no more communication errors.

Tuesday, 15 November 2011

Explanation of the Linux (Ubuntu) file system


The linux filesystem is simple and intuitive - much more so than that of Windows.  But sometimes those abbreviations are unclear.  Here's an explanation of the folder you should see in the root of your drive ("/"):

/bin – binary applications (most of your executable files)
/boot – files required to boot (such as the kernel, etc)
/dev – your devices (everything from drives to displays)
/etc – just about every configuration file for your system
/home – locally stored user files and folders
/lib – system libraries (similar to Program Files)
/lost+found – lost and found for lost files
/media – mounted (or loaded) devices such as cdroms, digital cameras, etc.
/mnt – mounted file systems
/opt – location for “optionally” installed programs
/proc – dynamic directory including information about and listing of processes
/root – “home” folder for the root user
/sbin – system-only binaries (see /bin)
/sys – contains information about the system
/tmp – temporary files
/usr – applications mainly for regular users
/var – mainly logs, databases, etc.

Note that to the beginner/regular user, most of these folders will remain untouched, with the exception of /home.  The /home directory contains folders for each user, in which _your_ specific documents, photos, video, etc. will be.  This is similar to C:/Documents and Settings/USERNAME/ you see in Windows.

  © Blogger template 'Isolation' by Ourblogtemplates.com 2008

Back to TOP