Archive for category Ubuntu

Enable ctrl+alt+backspace in Jaunty

I don’t know why it’s disabled by default and I use it quite often because I’m always playing around and installing things so it’s incredibly irritating to me that you can’t just press ctrl+alt+backspace to restart x.

To enable it you can do it through editing the xorg.conf file:

1. Open a terminal and type sudo gedit /etc/X11/xorg.conf

2. Add this section to the file:
Section "ServerFlags"
Option "DontZap" "false"
EndSection

3. Save and restart.

4. Yay.

,

Leave a comment

ATI big desktop in Jaunty Jackalope

I was pleasantly surprised to see that the fight to get dual screens working properly with the ATI graphics card wasn’t as difficult as it has been in the past. The restricted hardware manager didn’t lock up on me after activating the ATI driver, but I still couldn’t get big desktop to work.

When trying to set up big desktop through aticonfig in the terminal I got Error: Options, e.g. --dtop and --desktop-setup, are not supported when RandR 1.2 is enabled. I had no idea what that meant but I did a quick google search and found that someone had reported a bug with the same problem. Another person posted something that fixed it for me.

  1. Login to a tty (ctrl+alt F1) and type sudo killall gdm.
  2. Type sudo nano (or gedit, whichever you prefer) /etc/ati/amdpcsdb to edit the file.
      a) Go to the [AMDPCSROOT/SYSTEM/DDX] section and add EnableRandR12=Sfalse.
  3. Type this into a terminal, sudo nano (or gedit) /etc/X11/xorg.conf, to open the xorg.conf file.
  4. Under the “Device” section add these options on separate lines: Option "EnableRandR12" "false" and Option "DesktopSetup" "horizontal".
  5. Now just restart your computer and it should be good to go.

xorg.conf file:

Section “ServerLayout”
Identifier “aticonfig Layout”
Screen 0 “Default Screen” 0 0
EndSection

Section “Files”
EndSection

Section “Module”
Load “glx”
EndSection

Section “Monitor”
Identifier “Configured Monitor”
EndSection

Section “Device”
Identifier “Configured Video Device”
Driver “fglrx”
Option “EnableRandR12” “false”
Option “DesktopSetup” “horizontal”
BusID “PCI:1:0:0”
EndSection

Section “Screen”
Identifier “Default Screen”
Device “Configured Video Device”
Monitor “Configured Monitor”
DefaultDepth 24
EndSection

, , ,

11 Comments

Copying a VirtualBox virtual machine onto another host computer

I came across VirtualBox awhile back and it’s going to be the perfect program for us here since a good chunk of us use Ubuntu but at times need to test things in Windows or use specific programs that are only accessible in Windows.  It takes longer just to restart the computer into Windows than it does to test or use the program we need most of the time, so this will save us some time and be way more convenient.

Before I pushed this out on the next image I needed to find a way to copy the virtual machine I created so that my co-workers could use the same base image file and just configure it the way they want from there.  I found this blog that is my source for this information but it’s slightly different since he is using the Windows version of VirtualBox.

To copy the image to another computer:

  1. Close VirtualBox if it’s running.
  2. Go to your home folder and enable show hidden files through the View menu.
  3. Find the .VirtualBox folder, go to the HardDisks folder and copy the .vdi file you want to use.  In my case  I burned the file to a DVD because we have so many people who will be needing to save this in their home directory.
  4. Now go to the other host computer you want to use that .vdi file on and open VirtualBox if you’ve never opened it on the new host machine before.  This will create the .VirtualBox folder.  Then paste it in the same place (user’s home directory -> show hidden files -> .VirtualBox -> HardDisks).  You might need to create the HardDisks folder yourself.
  5. Edit the permissions of the file in order for it to work.  All I did was right-click on it after moving the file over and give read & write permissions to the owner, which should have your username there.  You can change the permissions to the group and others sections if needed later, but that wasn’t necessary for me.

Once you’ve copied the disk image you need to create a new machine and register that hard disk with VirtualBox on the target host machine:

  1. From the VirtualBox window click the New button.  This will open the New Virtual Machine Wizard.
  2. VM Name and OS Type – Give it a name and pick the type & version of the virtual machine OS.
  3. Memory – Just leave it as the default.  You can change it later if you notice any problems.
  4. Virtual Hard Disk – This is where you select the hard disk you copied in to the home directory earlier.  So click on existing and when the Virtual Media Manager window comes up choose to Add.  It should take you to the correct folder so just select the image file and click open, then select.
  5. You’re done, it’ll take you back to the main window with the new virtual machine you just created based off the existing image file.

If you notice things running slowly you can shut down the machine, go to settings, and change the base memory allocation.  It’ll be screaming at you in red or orange text if you’ve allocated too much.

, ,

14 Comments