Tag Archive: ubuntu


Microsoft online support of Windows Vista was discontinued on 11th April 2017, This means no further updates and bug fixes will be downloaded automatically.  However this does not mean you cannot continue to use Vista. If you are dual booting with Linux you can use a more up to date browser than is available under Windows Vista.

Add Dropbox to Elementary wing panel

For this to work you should first install Wing panel.

The text is too small to read on the screen. How do I make it larger?

http://iblogipple.blogspot.co.uk/2013/02/how-to-change-elementary-os-luna-font.html

This method is  now outdated.  New method is to install OS Elementary Tweak.  Above method will still work for other distros.

sudo apt-add-repository ppa:versable/elementary-update
sudo apt-get update
sudo apt-get install elementary-tweaks

After you can find it in System settings -> Tweaks

 

 

If you like the OS elementary luna, but you would rather have a more fully-featured version of Ubuntu, then you can install Xubuntu and add the OS elementary window manager. This includes the “plank” known on other distros as the dock.

OS Elementary is currently based on Ubuntu 12.04 LTS, if you are using any other version, then this may or may not work.

You need to open a terminal and enter the following commands:

 sudo apt-add-repository ppa:elementary-os/stable
 sudo apt-get update
 sudo apt-get install gala dconf-tools plank switchboard switchboard-plug-pantheon-shell

What’s in this repository is here: https://launchpad.net/~elementary-os/+archive/stable

You can add the midori browser to most distros:

sudo apt-add-repository ppa:midori/ppa

sudo apt-get update

sudo apt-get install midori

Midori does not play YouTube videos qv.

Code:

cp /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

Method 1: You need to use a editor,in this example "leafpad", but you could use gedit, to replace the instance of “xfwm4″ with “gala”. Logout and log back in again.


leafpad ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
Method 2: (if the first method doesn't work) add "gala --replace" to application autostart.
To auto-start gala add it in “Application Autostart” under “Session and Startup” of XFCE Settings. 
So the entry says "gala --replace"

(You can no longer change the theme through dconf so get the ppa
 for the tweak tool)

sudo apt-add-repository 
ppa:versable/elementary-update && sudo apt-get update &&
 sudo apt-get install elementary-tweaks

(Copy and paste all the above on one line)
Remove Compiz from your Xubuntu right now.  Compiz makes even the simple task of clicking the maximize, minimize and close buttons into a buggy mess by making them unresponsive half the time.

Can I revert back to xfce?  Just reverse Method 1 above, and replace “gala” with “xfcwm4”

To auto-start Plank just add it in “Application Autostart” under “Session and Startup” of XFCE Settings.

How to fix window manager crash

Symptoms:

no window buttons/decoration
no ability to move windows about or minimise
Windows Manager and Windows Tweaks are blank pages in Settings Manager etc
do this:
login as xfce session
F-2 type: xfwm4 –replace
hit “run”
log out and in again!

Original Post (now out-of-date)

http://ohheyitslou.blogspot.co.uk/2013/06/how-to-use-gala-window-manger-with-xfce.html

The procedure is:

  1. Make sure you have restore CDs for your Windows installation.
  2. If you have not got them, find them or create new ones before going any further.
  3. Download the Elementary OS luna image file.
  4. Choose the amd 64 version if you have a modern laptop (bought after circa 2006)
  5. If you have an older laptop, you will need the 32  bit 386 version
  6.  If you don’t know whether to download the 32 or 64 bit version, boot the machine with any Linux live CD, and in the terminal, type: lscpu, and it will say Architecture:          x86_64 CPU op-mode(s):        32-bit, 64-bit
  7. Make the image you downloaded into a real CD.
  8. In M$ Windows, Navigate to Control Panel>System and Maintenance>Administrative Tools>Create and Format Hard Disk Partitions
  9. Right-click on either your “C” or “D” partition and choose “Shrink Volume”
  10. The result will be an area of “unallocated space”. This needs to be at least 5 gig.  I would make it at least 10 gig for good measure. You can make it more than this if your HD has sufficient free space, but I would not make it larger than 10gig for this first initial test.
  11. Set your machine to boot from the CD.
  12. Reboot the machine with the Elementary OS install CD in the drive.
  13. Elementary OS should now boot up okay.
  14. Use the “network” icon on the top right hand of the screen (between the “sound” and the “battery” indicator) to connect to your WiFi.
  15. Run the installer. It will ask you if you want to wipe out your windows installation. Do not click this option under any circumstances.
  16. Choose “something else” in the installer, and select the “unallocated space” you just created.
  17. If you are not sure of what you are doing, cancel the installation, and watch a Youtube video on the subject.
  18. http://www.youtube.com/watch?v=3HANcetKsqc
  19. Create a new partition in this unallocated space.
  20. You can now set the installer to format this new partition.
  21. If you are happy everything is correct, proceed with the installation.
  22. The installer will ask you which drive for bootloader installation. Choose the partition  you are installing Linux onto. If you choose your Windows partition, it will install the grub menu there, and you don’t want it to do this if you are on Windows Vista or later.
  23. When the install is finished the machine will eject the CD from the drive and ask you to press any key to reboot.
  24. At this stage, change your default boot option to boot from the Hard Drive. This prevents accidental re-booting of any live CD you happen to leave in your drive.
  25. The machine will now reboot, and you will be back in Windows as normal.
  26. Now, here comes the cunning part. You need to add an entry to the Windows  boot screen so that there is an option for Linux.
  27. An easy way to do this is to use EasyBCD which is available from http://neosmart.net/EasyBCD/
  28. Download and install EasyBCD, and choose “neosmart linux”. Add an entry which selects your linux partition.
  29. Reboot the machine. If it doesn’t work, go back to EasyBCD, delete the entry, and try another setting.  The Neosmart Linux setting definitely works.
  30. Last but not least, if you get stuck, there is a program called Easus Partition Master which will allow you to view and modify the partions on your laptop.
  31. http://www.easeus.com/partition-manager/

Ubuntu on Virtual Box

I have been trying various versions of linux on Virtual Box. The one that comes out on top is….

You’ve guessed it – Ubuntu!

If you are thinking of trying Ubuntu on Virtual Box, remember you have to get the “Server” version of Ubuntu. This is currently version 10.01.

The Server version does not include Ubuntu Desktop. You have to install it manually from the Konsole, by typing “sudo apt-get install ubuntu-desktop”

After that has installed, you have to type “reboot” to get things going.

You can attach printers, memory sticks etc., by using the “Devices” menu on Virtual Box. The device has to be “attached” before you start Ubuntu. You can save to the memory stick if you see it on the Ubuntu Desktop. You have to release the device, using the “Devices” menu, before Windows can access the device. Once you release the device from the emulated environment, you can’t get it back, unless you re-start.

Beginning Ubuntu

First steps in Ubuntu

Hot tip: If you overwrite your windows Master Boot Record and cannot boot into Windows, use “Partition Wizard Home Edition Windows Bootable CD”. Method, boot from this CD, and select “repair MBR”

Hot tip: If you overwrite your GRUB loader by re-installing Windows, repair by booting from the Ubuntu live CD.  Then start a BASH (Konsole)  session:

Full instructions here:

http://ubuntuforums.org/showthread.php?t=1014708

If this link is dead, here is a summary.

How to restore the Ubuntu grub bootloader (9.10 and beyond)

First you need to find out what your drives are called. You can do this by going to a terminal and typing:

Code:
sudo fdisk -l

You will get something like this:

From that you need to find the device name of your Ubuntu drive, something like “/dev/sda5″.
So, still in the terminal, type:

Code:
sudo mkdir /media/sda5
sudo mount /dev/sda5 /media/sda5

And then, to reinstall the grub:

Code:
sudo grub-install --root-directory=/media/sda5 /dev/sda

Push enter and you’re done! Of course you need to replace “/dev/sda5″ and “/dev/sda” with what you found in the fdisk output.

EasyBCD

EasyBCD is not compatible with Windows Vista.

Virtual Box.

Sharing Windows and Ubuntu Files on Virtual Box

In the old version of Virtual Box, you had to bridge Network connections to share files between host and guest operating systems. This is no longer necessary.  The procedure is described here: 

If this link is dead, in summary:
“This is the scenario that you run Windows as your host operating system and Ubuntu in a VirtualBox, and that you want to access a specific Windows folder from Ubuntu.”
1. In Windows host: start virtual box, from “devices” on the menu bar, go down to “Shared folders…”
2. Create a folder called e.g. “SharedFolder” in the root directory of your “C” drive.

In Ubuntu guest, go down from applications, accessories, to terminal. and copy and paste this line:

sudo mkdir /media/windows-share
sudo mount -t vboxsf SharedFolder /media/windows-share
You can call your “SharedFolder” anything you like, provided you call it by the same name in virtual box and in the line above.
In Ubuntu Guest, open up a wordprocessor, such as open office writer or Abiword, create a file and save it to the “Filesystem”, “Media”, “windows-share”.
Now when you switch back to Windows your saved file should be accessible.
Geddid?

Getting the right screen size on virtual box

Issue:  your Ubuntu screen display is like a postage stamp in the middle of your Window. 

Resolution:  choose Auto-resize Guest display from the “Machine” menu in Virtual Box!

Guest Additions on Virtual Box

You have to install “Guest Additions” on Virtual Box, or only a 800×600 screen option will be available.
1. Start Virtual box and log into Ubuntu.
2. Hit the right ctrl key so you can get your mouse pointer outside the virtual machine.
3.Go to top of virtual window, click on devices then select “Install Guest Additions”
You will see a window pop up inside Ubuntu showing you that there are some new files mounted in a virtual CDROM drive.
A CD Rom image will appear on your Ubuntu desktop. Click it open, inside there is an icon called “autorun.sh”. Double click on that.

Ubuntu Server 9.10 on Virtual Box

If you have the old version 3 of Ubuntu Portable, you can update it to version 4 with this patch:
This update improves the appearance of the display. 

Note you must open an command prompt as an  administrator, navigate to the Portable_Ubuntu directory and

Type this: colinux-daemon –install-driver and hit the enter key.

If you do not do this, then when you click on the run_portable_ubuntu batch file, it will not work!

Ubuntu on Virtual Box.
If you find Portable Ubuntu is too slow on your Windows laptop, then an alternative is to use Virtual Box.
You download and install this:
Then download this, and use Gizmo (or a similar utility) to make it into a real CD.
Version 9.10 of Ubuntu needs 512k of real or imaginary memory.  If you haven’t got this much to spare, go for an older distribution. Ubuntu Server 7.04, works, I have test it.  Also works is Linux Mint 3.0 which is a version of Ubuntu 7.04 with enhancements.  Mint has an installation wizard which the vanilla Ubuntu distro lacks…
You can Mount this CD as a virtual drive within Virtual Box, and install it from there. But I found doing this put a strain on system resources, and I got a crash. I recommend making a real CD.
A modern laptop can use a DVD disk equally well as a 700mb CD. But make a CD in preference to a DVD if you think you might want to install Virtual Box Ubuntu on an old desktop which does not have a DVD.
The drawback of Virtual Box is that it is more demanding of memory and disk space, but once you have booted into the Linux environment, then it is faster than Portable Ubuntu, which runs as an application under Windows Vista or XP. However, Virtual Box has more potential to mess up your laptop. Don’t say you haven’t been warned.
Information on installing Ubuntu on Virtual Box is here:
If you follow these instructions, you end up with a “Bash” command line and a cursor blinking at you helplessly..Why is this?
Ubuntu Server 9.10 does not automatically install the Desktop environment, you have to type:
sudo apt-get install ubuntu-desktop
The following command is used to configure the Desktop (if necessary):
sudo dpkg –configure -a 

Then you have to type the following commands to update Ubuntu:

 sudo apt-get update
 sudo apt-get upgrade
The installation process takes a very long time. Dont’ worry if you mess up the install the first time.
Remember this: if you mess it up, it is only a virtual machine. You can easily start out with a brand new Virtual Ubuntu. To do this, from “Machine” on the menu bar, go down to “Delete”. Create a brand spanking new Virtual machine, and away you go again!
“The second problem I’ve encountered on my way to victory with Guest Additions is that the
guest OS sometimes lacks the tools needed by Guest Additions to build the necessary kernel
modules. You’ll receive messages like “…please install the build headers…” So, to fix this
problem make sure to first update your packages. If that doesn’t fix the problem, then
install the necessary build and kernel headers. For Ubuntu, and other debian-based
distributions, run the following command as root:”
apt-get install linux-headers-$(uname -r)
After this type
reboot
The CD icon will appear on the Ubuntu desktop. Click it open, and click the icon which says
“autorun.sh”.  Then click on the left where it says “run in terminal”.
Sharing.  You have to install Windows sharing services on Ubuntu
Installed NTFS Configuration tool.  I don’t know if this does anything.
It tells you in the instructions reported in an earlier blog to select the option of  installing a minimal virtual machine. But this does not seem to be a good idea. If you use  the standard installation, then it works better.
Web pages not displayed correctly on the minimal install of Ubuntu for virtual box. 

I have had a perpetually revolving blue doughnut in Virtual Box. Had to do a force quit through the task manager. Now testing Ubuntu portable.

Portable Ubuntu

If you would like to try out Ubuntu, but you don’t want to mess up your machine, you can download “Portable Ubuntu”. 

Instructions on downloading and installing are on the Internet. It is quite a large download, and you may prefer to get it off a magazine coverdisk.  I am using it to write this blog on my Windows vista laptop.
Getting it up and running it not all that difficult.