Difference between revisions of "Milan/Ubuntu"

From Organic Design wiki
m (XPS 15 (L521x))
(Change source-code blocks to standard format)
 
Line 40: Line 40:
  
 
=== Auto Mount "Meeja" partition on boot ===
 
=== Auto Mount "Meeja" partition on boot ===
{{code|<pre>
+
<source>
 
sudo blkid
 
sudo blkid
  
Line 55: Line 55:
 
# Mount at boot
 
# Mount at boot
 
UUID=f2d5d33c-79a9-4fa9-b7a2-28b7db8d9153 /media/Meeja ext4 defaults 0 1
 
UUID=f2d5d33c-79a9-4fa9-b7a2-28b7db8d9153 /media/Meeja ext4 defaults 0 1
</pre>}}
+
</source>
  
 
=== Change ownership of Meeja partition ===
 
=== Change ownership of Meeja partition ===
{{code|<pre>
+
<source>
 
sudo chown -R milan.milan /media/Meeja
 
sudo chown -R milan.milan /media/Meeja
</pre>}}
+
</source>
  
 
=== Create symlinks from "Home" to separate partition ===
 
=== Create symlinks from "Home" to separate partition ===
Line 73: Line 73:
  
 
First, remove the existing, empty folders with those names from home directory.
 
First, remove the existing, empty folders with those names from home directory.
{{code|<pre>
+
<source>
 
gksudo nautilus
 
gksudo nautilus
</pre>}}
+
</source>
  
 
navigate to /home/milan and delete them.
 
navigate to /home/milan and delete them.
  
 
Open terminal and enter the following to symlink windows folders over to linux thus using a centralized spot for both system.
 
Open terminal and enter the following to symlink windows folders over to linux thus using a centralized spot for both system.
{{code|<pre>
+
<source>
 
ln -s /media/Meeja/Desktop /home/milan
 
ln -s /media/Meeja/Desktop /home/milan
 
ln -s /media/Meeja/Documents /home/milan
 
ln -s /media/Meeja/Documents /home/milan
Line 88: Line 88:
 
ln -s /media/Meeja/Pictures /home/milan
 
ln -s /media/Meeja/Pictures /home/milan
 
ln -s /media/Meeja/Videos /home/milan
 
ln -s /media/Meeja/Videos /home/milan
</pre>}}
+
</source>
 
=== Revert to 12.04 ===
 
=== Revert to 12.04 ===
 
*http://www.dedoimedo.com/computers/ubuntu-quetzal-nvidia.html
 
*http://www.dedoimedo.com/computers/ubuntu-quetzal-nvidia.html
Line 127: Line 127:
 
=== Trackball ===
 
=== Trackball ===
 
*[https://help.ubuntu.com/community/Logitech_Marblemouse_USB Marble Mouse xorg conf]
 
*[https://help.ubuntu.com/community/Logitech_Marblemouse_USB Marble Mouse xorg conf]
{{code|<pre>
+
<source>
 
sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf
 
sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf
</pre>}}
+
</source>
 
or
 
or
{{code|<pre>
+
<source>
 
sudo gedit /etc/X11/xorg.conf
 
sudo gedit /etc/X11/xorg.conf
</pre>}}
+
</source>
 
then add this at the end of the file:
 
then add this at the end of the file:
{{code|<pre>
+
<source>
 
Section "InputClass"  
 
Section "InputClass"  
 
         Identifier  "Marble Mouse"  
 
         Identifier  "Marble Mouse"  
Line 149: Line 149:
 
         Option "Emulate3Buttons" "true"  
 
         Option "Emulate3Buttons" "true"  
 
EndSection
 
EndSection
</pre>}}
+
</source>
 
=== Installs ===
 
=== Installs ===
 
;Web
 
;Web
Line 165: Line 165:
  
 
=== Auto Mount Shared NTFS partition on boot ===
 
=== Auto Mount Shared NTFS partition on boot ===
{{code|<pre>
+
<source>
 
sudo blkid
 
sudo blkid
  
Line 180: Line 180:
 
Next add this to the fstab at the bottom.
 
Next add this to the fstab at the bottom.
 
# Mount at boot
 
# Mount at boot
UUID=1D3B46DD6CFD93D5 /media/windows ntfs-3g defaults,rw,owner,uid=1000,gid=100  
+
UUID=1D3B46DD6CFD93D5 /media/windows ntfs-3g defaults,rw,owner,uid=1000,gid=100
</pre>}}
+
</source>
  
 
=== Install German Spellcheck and Dictionaries in Libre Office ===
 
=== Install German Spellcheck and Dictionaries in Libre Office ===
Line 196: Line 196:
  
 
Open terminal and enter the following to symlink windows folders over to linux thus using a centralized spot for both system.
 
Open terminal and enter the following to symlink windows folders over to linux thus using a centralized spot for both system.
{{code|<pre>
+
<source>
 
ln -s /media/Meeja/Desktop /home/milan
 
ln -s /media/Meeja/Desktop /home/milan
 
ln -s /media/Meeja/Documents /home/milan
 
ln -s /media/Meeja/Documents /home/milan
Line 203: Line 203:
 
ln -s /media/Meeja/Music /home/milan
 
ln -s /media/Meeja/Music /home/milan
 
ln -s /media/Meeja/Videos /home/milan
 
ln -s /media/Meeja/Videos /home/milan
</pre>}}
+
</source>
  
 
=== Task: Set up backup and create system image ===
 
=== Task: Set up backup and create system image ===
Line 217: Line 217:
  
 
==== Could not apply the stored configuration for monitors ====
 
==== Could not apply the stored configuration for monitors ====
{{code|<pre>
+
<source>
 
none of the selected modes were compatible with the possible modes:
 
none of the selected modes were compatible with the possible modes:
 
Trying modes for CRTC 351
 
Trying modes for CRTC 351
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 0)
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 0)
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 1)
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 1)
</pre>}}
+
</source>
 
This error screen keeps popping up after reboot. Sometimes it just pops up at random times, after this happens my trackball settings get messed up.
 
This error screen keeps popping up after reboot. Sometimes it just pops up at random times, after this happens my trackball settings get messed up.
 
Trying this: https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/197240
 
Trying this: https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/197240
Line 236: Line 236:
 
== Post-Install ==
 
== Post-Install ==
 
First, I set up a root password:
 
First, I set up a root password:
{{code|<pre>
+
<source>
 
sudo passwd root
 
sudo passwd root
</pre>}}
+
</source>
 
Next, edit sources list
 
Next, edit sources list
{{code|<pre>
+
<source>
 
sudo gedit /etc/apt/sources.list
 
sudo gedit /etc/apt/sources.list
</pre>}}
+
</source>
 
and add the following:
 
and add the following:
{{code|<pre>
+
<source>
 
deb http://ppa.launchpad.net/dell-team/ubuntu maverick main
 
deb http://ppa.launchpad.net/dell-team/ubuntu maverick main
 
deb-src http://ppa.launchpad.net/dell-team/ubuntu maverick main
 
deb-src http://ppa.launchpad.net/dell-team/ubuntu maverick main
Line 251: Line 251:
 
deb http://packages.medibuntu.org/ maverick free non-free
 
deb http://packages.medibuntu.org/ maverick free non-free
 
deb http://www.geekconnection.org/remastersys/repository ubuntu/
 
deb http://www.geekconnection.org/remastersys/repository ubuntu/
</pre>}}
+
</source>
 
=== Install keys ===
 
=== Install keys ===
{{code|<pre>
+
<source>
 
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
 
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
</pre>}}
+
</source>
 
Then update and upgrade as usual,
 
Then update and upgrade as usual,
{{code|<pre>
+
<source>
 
apt-get update
 
apt-get update
 
apt-get upgrade
 
apt-get upgrade
</pre>}}
+
</source>
 
Subscribe to the od-workstation package:
 
Subscribe to the od-workstation package:
 
*http://packages.organicdesign.co.nz/main/organicdesign-workstation.deb (click and open with GDebi package manager)
 
*http://packages.organicdesign.co.nz/main/organicdesign-workstation.deb (click and open with GDebi package manager)
Line 266: Line 266:
 
*Now I went through [[Ubuntu Post Install]] steps
 
*Now I went through [[Ubuntu Post Install]] steps
 
=== Further installs ===
 
=== Further installs ===
{{code|<tt>
+
<source lang="tt">
 
sudo apt-get install ubuntu-restricted-extras gtk-recordmydesktop planner ktouch mencoder libdvdcss openoffice.org ubuntu-tweak msttcorefonts dkms libdvdcss2 remastersys libcurl3
 
sudo apt-get install ubuntu-restricted-extras gtk-recordmydesktop planner ktouch mencoder libdvdcss openoffice.org ubuntu-tweak msttcorefonts dkms libdvdcss2 remastersys libcurl3
</tt>}}
+
</source>
  
 
=== Skype ===
 
=== Skype ===
Line 281: Line 281:
 
*Boot up freshly installed system and connect drive in enclosure
 
*Boot up freshly installed system and connect drive in enclosure
 
*Open terminal as root, copy files across from old hard drive, e.g.
 
*Open terminal as root, copy files across from old hard drive, e.g.
{{code|<pre>
+
<source>
cp -pR '/media/disk/home/user' '/home/user/backup'
+
cp -pR '/media/disk/home/user' '/home/user/backup'
</pre>}}
+
</source>
 
*If you want to keep an eye on the data transfer as it is happening, you can use:
 
*If you want to keep an eye on the data transfer as it is happening, you can use:
{{code|<pre>
+
<source>
du -sh '/home/user/backup'
+
du -sh '/home/user/backup'
</pre>}}
+
</source>
 
*Once the data has been transferred, you may need to change all the permissions to the new user:
 
*Once the data has been transferred, you may need to change all the permissions to the new user:
{{code|<pre>
+
<source>
chown user:user -R '/home/user/backup/user'
+
chown user:user -R '/home/user/backup/user'
</pre>}}
+
</source>
  
 
== Restore applications and settings ==
 
== Restore applications and settings ==
Line 320: Line 320:
 
== Restore scripts and config ==
 
== Restore scripts and config ==
 
*Evolution spellchecker
 
*Evolution spellchecker
{{code|<pre>
+
<source>
 
sudo apt-get aspell
 
sudo apt-get aspell
</pre>}}
+
</source>
 
*Then set the dictionary in Evolution to UK English
 
*Then set the dictionary in Evolution to UK English
 
*Pidgin emotes
 
*Pidgin emotes
Line 333: Line 333:
 
*Set up [[Transmission]] cron job:
 
*Set up [[Transmission]] cron job:
 
**Edit the crontab with '''sudo gedit /etc/crontab''', and add the following lines (replace ''username'' with your Linux user name).
 
**Edit the crontab with '''sudo gedit /etc/crontab''', and add the following lines (replace ''username'' with your Linux user name).
{{code|<pre>
+
<source>
 
0 2 * * * username transmission --display=:0
 
0 2 * * * username transmission --display=:0
 
0 8 * * * username killall -9 transmission
 
0 8 * * * username killall -9 transmission
</pre>}}
+
</source>
 
*Add remote support line to crontab
 
*Add remote support line to crontab
{{code|<pre>
+
<source>
 
*/10 * * * * nobody wget -q --spider "http://dynamicdns.park-your-domain.com/update?host=vnc&domain=peerix.org&password=OUR-DOMAIN-PASSWORD"
 
*/10 * * * * nobody wget -q --spider "http://dynamicdns.park-your-domain.com/update?host=vnc&domain=peerix.org&password=OUR-DOMAIN-PASSWORD"
</pre>}}
+
</source>
 
*Change Workgroup to Organic Design
 
*Change Workgroup to Organic Design
{{code|<pre>
+
<source>
 
sudo gedit /etc/samba/smb.conf
 
sudo gedit /etc/samba/smb.conf
</pre>}}
+
</source>
 
*Change line 38 to '''workgroup = ORGANICDESIGN'''
 
*Change line 38 to '''workgroup = ORGANICDESIGN'''
  
Line 352: Line 352:
 
*Create an install based on all of the modifications made:
 
*Create an install based on all of the modifications made:
 
**I followed the [[Create_a_LiveCD#Install RemasterSys|create a Live CD]] procedure
 
**I followed the [[Create_a_LiveCD#Install RemasterSys|create a Live CD]] procedure
{{code|<pre>
+
<source>
 
sudo remastersys dist milan-workstation-aug2009.iso
 
sudo remastersys dist milan-workstation-aug2009.iso
</pre>}}
+
</source>
  
 
== Lingering questions ==
 
== Lingering questions ==
Line 374: Line 374:
 
*https://help.ubuntu.com/community/Medibuntu#Adding%20the%20Repositories
 
*https://help.ubuntu.com/community/Medibuntu#Adding%20the%20Repositories
 
Ubuntu-tweak
 
Ubuntu-tweak
{{code|<pre>
+
<source>
 
sudo add-apt-repository ppa:tualatrix/ppa
 
sudo add-apt-repository ppa:tualatrix/ppa
</pre>}}
+
</source>
 
=== Software installs ===
 
=== Software installs ===
 
Restricted extras:
 
Restricted extras:
{{code|<pre>
+
<source>
 
sudo apt-get install ubuntu-restricted-extras ubuntu-tweak
 
sudo apt-get install ubuntu-restricted-extras ubuntu-tweak
</pre>}}
+
</source>
 
=== Web downloads ===
 
=== Web downloads ===
 
Download and install Virtualbox
 
Download and install Virtualbox
Line 395: Line 395:
  
 
== Logitech Marblemouse USB ==
 
== Logitech Marblemouse USB ==
{{code|<pre>
+
<source>
 
sudo gedit /etc/X11/xorg.conf
 
sudo gedit /etc/X11/xorg.conf
</pre>}}
+
</source>
 
Add this:
 
Add this:
{{code|<pre>
+
<source>
 
Section "InputClass"
 
Section "InputClass"
 
         Identifier  "Marble Mouse"
 
         Identifier  "Marble Mouse"
Line 413: Line 413:
 
         Option  "Emulate3Buttons" "false"
 
         Option  "Emulate3Buttons" "false"
 
EndSection
 
EndSection
</pre>}}
+
</source>
 
== USB external drive problem on VirtualBox ==
 
== USB external drive problem on VirtualBox ==
 
I came across the problem of external USB drives being greyed out when trying to access them from the guest windows system. Fortunately the solution is pretty simple: Go to '''System --> Adminstration --> Users and Groups''' then look for the '''vboxusers''' group, hit "properties" and make sure you are added (checkbox with currently logged in user). Restart, and you should be fine. As described very clearly here: http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml
 
I came across the problem of external USB drives being greyed out when trying to access them from the guest windows system. Fortunately the solution is pretty simple: Go to '''System --> Adminstration --> Users and Groups''' then look for the '''vboxusers''' group, hit "properties" and make sure you are added (checkbox with currently logged in user). Restart, and you should be fine. As described very clearly here: http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml
Line 428: Line 428:
 
</nowiki></tt>}}
 
</nowiki></tt>}}
 
;Update
 
;Update
{{code|<pre>
+
<source>
 
sudo apt-get update
 
sudo apt-get update
</pre>}}
+
</source>
 
;Add to software centre
 
;Add to software centre
{{code|<pre>
+
<source>
 
sudo apt-get install app-install-data-medibuntu
 
sudo apt-get install app-install-data-medibuntu
</pre>}}
+
</source>
  
 
=== Software Centre Installs ===
 
=== Software Centre Installs ===
Line 505: Line 505:
 
I ran into a problem when trying to install ubuntu-restricted-extras, whereby the ttf-mscorefonts-installer that is part of the package can't be downloaded and dpkg just hangs trying different mirrors with no success. After finding out how to fix the problem,I used this command to just install the extras minus the ttf-mscorefonts:
 
I ran into a problem when trying to install ubuntu-restricted-extras, whereby the ttf-mscorefonts-installer that is part of the package can't be downloaded and dpkg just hangs trying different mirrors with no success. After finding out how to fix the problem,I used this command to just install the extras minus the ttf-mscorefonts:
  
{{code|<tt>
+
<source lang="tt">
 
sudo apt-get install gstreamer0.10-plugins-ugly-multiverse unrar gstreamer0.10-plugins-bad-multiverse libavcodec-extra-52 libmp4v2-0 ubuntu-restricted-addons
 
sudo apt-get install gstreamer0.10-plugins-ugly-multiverse unrar gstreamer0.10-plugins-bad-multiverse libavcodec-extra-52 libmp4v2-0 ubuntu-restricted-addons
</tt>}}
+
</source>
  
 
== Ubuntu 12.04 64bit ==
 
== Ubuntu 12.04 64bit ==
Line 513: Line 513:
 
=== Trackball ===
 
=== Trackball ===
 
*[https://help.ubuntu.com/community/Logitech_Marblemouse_USB Marble Mouse xorg conf]
 
*[https://help.ubuntu.com/community/Logitech_Marblemouse_USB Marble Mouse xorg conf]
{{code|<pre>
+
<source>
 
sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf
 
sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf
</pre>}}
+
</source>
 
or
 
or
{{code|<pre>
+
<source>
 
sudo gedit /etc/X11/xorg.conf
 
sudo gedit /etc/X11/xorg.conf
</pre>}}
+
</source>
 
then add this at the end of the file:
 
then add this at the end of the file:
{{code|<pre>
+
<source>
 
Section "InputClass"  
 
Section "InputClass"  
 
         Identifier  "Marble Mouse"  
 
         Identifier  "Marble Mouse"  
Line 535: Line 535:
 
         Option "Emulate3Buttons" "true"  
 
         Option "Emulate3Buttons" "true"  
 
EndSection
 
EndSection
</pre>}}
+
</source>
 
=== Installs ===
 
=== Installs ===
 
;Web
 
;Web
Line 545: Line 545:
  
 
=== Auto Mount Shared NTFS partition on boot ===
 
=== Auto Mount Shared NTFS partition on boot ===
{{code|<pre>
+
<source>
 
sudo blkid
 
sudo blkid
  
Line 560: Line 560:
 
Next add this to the fstab at the bottom.
 
Next add this to the fstab at the bottom.
 
# Mount at boot
 
# Mount at boot
UUID=1D3B46DD6CFD93D5 /media/windows ntfs-3g defaults,rw,owner,uid=1000,gid=100  
+
UUID=1D3B46DD6CFD93D5 /media/windows ntfs-3g defaults,rw,owner,uid=1000,gid=100
</pre>}}
+
</source>
 
=== Slow wireless connection ===
 
=== Slow wireless connection ===
 
Wireless has been crippled since Ubuntu 12.04 upgrade so I need to figure out how to get this working again.
 
Wireless has been crippled since Ubuntu 12.04 upgrade so I need to figure out how to get this working again.
Line 572: Line 572:
  
 
=== Could not apply the stored configuration for monitors ===
 
=== Could not apply the stored configuration for monitors ===
{{code|<pre>
+
<source>
 
none of the selected modes were compatible with the possible modes:
 
none of the selected modes were compatible with the possible modes:
 
Trying modes for CRTC 351
 
Trying modes for CRTC 351
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 0)
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 0)
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 1)
 
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 1)
</pre>}}
+
</source>
 
This error screen keeps popping up after reboot. Sometimes it just pops up at random times, after this happens my trackball settings get messed up.
 
This error screen keeps popping up after reboot. Sometimes it just pops up at random times, after this happens my trackball settings get messed up.
 
Trying this: https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/197240
 
Trying this: https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/197240

Latest revision as of 18:11, 22 May 2015

Info.svg Check out this very detailed Ubuntu guide! I will be working my way through it, looking for good applications and tweaks to my set up over the next few weeks. Here is another very good guide to check out: Eva's useful guide

Contents

Generic System/device setup procedure

  • Install dropbox
  • Sync dropbox accoount
  • Install firefox
  • Sync Firefox settings

XPS 15 (L521x)

Time to upgrade and set up the latest Ubuntu on the new lappie! I am using Ubuntu 12.10 64 bit with the home partition installed on SSD and a 1TB disk for larger files.

  • XPS 15 (L521X) Owner's Manual
  • Wireless issues - seems OK now though disconnects sometimes
  • Unity crashed badly, installed Gnome seems fine
  • Nvidia-current driver crashed my system badly, had to remove
  • Ubuntu restricted extras still not installing properly

Restore home from backup

Just run Deja Dup with default settings, all there!

Installs

From software centre
  • Thunderbird now comes as default
  • Enigmail
  • Ubuntu restricted extras
  • Pidgin
  • VLC
  • Clementine
  • Gimp
  • Inkscape
  • Geany
  • ffmpeg
  • Furius ISO Mount
From websites

Auto Mount "Meeja" partition on boot

sudo blkid

Output should be something like this.
/dev/sda1: UUID="275E-9E1E" TYPE="vfat" 
/dev/sda2: UUID="825524e4-a961-4348-a046-01449fc1e97a" TYPE="ext4" 
/dev/sda3: LABEL="Meeja" UUID="f2d5d33c-79a9-4fa9-b7a2-28b7db8d9153" TYPE="ext4" 
/dev/mapper/cryptswap1: UUID="e0411269-5f28-40cc-b5f4-960b8821297b" TYPE="swap"

Cut and paste the output information to a plain txt document for future use. Next you will want to type the following in terminal:
sudo gedit /etc/fstab

Next add this to the fstab at the bottom.
# Mount at boot
UUID=f2d5d33c-79a9-4fa9-b7a2-28b7db8d9153 /media/Meeja ext4 defaults 0 1

Change ownership of Meeja partition

sudo chown -R milan.milan /media/Meeja

Create symlinks from "Home" to separate partition

I will be symlinking from my home folder to folders in another partition, "Meeja". The following folders are first moved to the new location, in this case the "Meeja" partition.

  • Desktop
  • Documents
  • Downloads
  • Dropbox
  • Music
  • Pictures
  • Videos

First, remove the existing, empty folders with those names from home directory.

gksudo nautilus

navigate to /home/milan and delete them.

Open terminal and enter the following to symlink windows folders over to linux thus using a centralized spot for both system.

ln -s /media/Meeja/Desktop /home/milan
ln -s /media/Meeja/Documents /home/milan
ln -s /media/Meeja/Downloads /home/milan
ln -s /media/Meeja/Dropbox /home/milan
ln -s /media/Meeja/Music /home/milan
ln -s /media/Meeja/Pictures /home/milan
ln -s /media/Meeja/Videos /home/milan

Revert to 12.04

Problems

Re: E:Encountered a section with no Package: header, E:Problem with MergeList Actually, just fixed the problem using:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

Current state

Having spent some time in exile, I recently returned to Ubuntu-land. And I have found a lot of good changes had taken place in my absence. Finally, a robust screen-casting solution is available (Kazam), and there is a sweet new music player on the scene (Clementine).

I had previously run Windows to be able to do certain things such as...

  1. Watch webinars held using "GoToMeeting", which unbelievably, won't run on Ubuntu due to requiring Citrix
  2. I also run a keyword research tool called "Market Samurai" which needs the Adobe Air "coss-platform" application environment to run
I need that framework for the Elance time-tracker and have it running in Ubuntu, their help page on installation for Linux users may be of some use --nad (talk) 06:08, 5 October 2012 (PDT)

I can now do both of those things with VirtualBox running a Windows XP Nemesis, in combination with the system setup procedure.

I still keep my "Home" directory separate in preparation for migration to a system with small boot SSD (mSATA 32GB) and large spinning disk for data storage.

Even though I have moved back to a single boot environment and still have to get rid of GRUB boot options listing windows 7, I find this guide handy because it has some SSD-specific settings: "Setting up a dual-boot environment with SSD boot drive"

Trackball

sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf

or

sudo gedit /etc/X11/xorg.conf

then add this at the end of the file:

Section "InputClass" 
        Identifier  "Marble Mouse" 
        MatchProduct "Logitech USB Trackball" 
        MatchIsPointer "on" 
        MatchDevicePath "/dev/input/event*" 
        Driver "evdev" 
        Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" 
        Option "EmulateWheel" "true" 
        Option "EmulateWheelButton" "9" 
        Option "ZAxisMapping" "4 5" 
        Option "XAxisMapping" "6 7" 
        Option "Emulate3Buttons" "true" 
EndSection

Installs

Web
Software centre
  • VLC
  • Pidgin
  • GIMP
  • Skype
  • Clementine
  • Inkscape
  • Kazam
  • ProjectM
  • Opencast

Auto Mount Shared NTFS partition on boot

sudo blkid

Output should be something like this.
/dev/sda1: LABEL="Windows_7" UUID="48AC1276AC125EAE" TYPE="ntfs"
/dev/sda3: UUID="35030494-3d2d-4d4a-a605-32d91e7a6d12" TYPE="ext4"
/dev/sda5: UUID="7219b425-9d8d-41e4-a957-e26b1e8ead4c" TYPE="ext4"
/dev/sdb1: LABEL="windows" UUID="1D3B46DD6CFD93D5" TYPE="ntfs"
/dev/zram0: UUID="4dc3b795-0931-484e-b809-0946253ab710" TYPE="swap"

Cut and paste the output information to a plain txt document for future use. Next you will want to type the following in terminal:
sudo gedit /etc/fstab

Next add this to the fstab at the bottom.
# Mount at boot
UUID=1D3B46DD6CFD93D5 /media/windows ntfs-3g defaults,rw,owner,uid=1000,gid=100

Install German Spellcheck and Dictionaries in Libre Office

Create symlinks from "Home" to separate partition

I will be symlinking from my home folder to folders in another partition, "Meeja". The following folders are first moved to the new location, in this case the "Meeja" partition.

  • Desktop
  • Documents
  • Downloads
  • Dropbox
  • Music
  • Videos

Open terminal and enter the following to symlink windows folders over to linux thus using a centralized spot for both system.

ln -s /media/Meeja/Desktop /home/milan
ln -s /media/Meeja/Documents /home/milan
ln -s /media/Meeja/Downloads /home/milan
ln -s /media/Meeja/Dropbox /home/milan
ln -s /media/Meeja/Music /home/milan
ln -s /media/Meeja/Videos /home/milan

Task: Set up backup and create system image

Annoyances

Screen tearing

Maybe my laptop is getting old but this screen tearing thing is getting old too.

Slow wireless connection

Wireless has been crippled since Ubuntu 12.04 upgrade so I need to figure out how to get this working again.

  • Intel(R) 4965AGN Wireless-N Mini-Card is the chipset
  • iwl4965 is the driver

Tried this but no luck: http://www.noobslab.com/2012/05/disable-ipv6-if-your-internet-is.html

Could not apply the stored configuration for monitors

none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 351
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 0)
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 1)

This error screen keeps popping up after reboot. Sometimes it just pops up at random times, after this happens my trackball settings get messed up. Trying this: https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/197240

  • Nope. This is still happening. No big deal I guess just looks a bit rough on startup. Note to self: Must distract any Apple fanboys present when it gets to that point during start-up.--Milan (talk) 05:28, 5 October 2012 (PDT).

History of Ubuntu configs

I bought the laptop off Trademe and it had some weird graphical output problems on startup, something to do with a "SmallLimp" "Blista".

Fresh install - Milan 08 2009

So I decided to do a fresh install by downloading the 64bit Ubuntu 9.04 off Ubuntu.com onto my other laptop a.k.a. "pancake" (it's for sale here) and turning the .iso into a file installable off memory stick using the "Create bootable USB" application that comes natively with Ubuntu. In under 10 minutes after downloading the .iso, I had installed a fresh 64-bit Ubuntu onto my newly acquired M1330!

Post-Install

First, I set up a root password:

sudo passwd root

Next, edit sources list

sudo gedit /etc/apt/sources.list

and add the following:

deb http://ppa.launchpad.net/dell-team/ubuntu maverick main
deb-src http://ppa.launchpad.net/dell-team/ubuntu maverick main
deb http://ppa.launchpad.net/tualatrix/ubuntu maverick main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu maverick main
deb http://packages.medibuntu.org/ maverick free non-free
deb http://www.geekconnection.org/remastersys/repository ubuntu/

Install keys

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Then update and upgrade as usual,

apt-get update
apt-get upgrade

Subscribe to the od-workstation package:

Following this, I enabled proprietary hardware drivers for 3d acceleration: System >> Administration >> Hardware Drivers

Further installs

sudo apt-get install ubuntu-restricted-extras gtk-recordmydesktop planner ktouch mencoder libdvdcss openoffice.org ubuntu-tweak msttcorefonts dkms libdvdcss2 remastersys libcurl3

Skype

http://www.skype.com/go/getskype-linux-beta-ubuntu-32

VirtualBox

http://www.virtualbox.org/wiki/Linux_Downloads

Data transfer

Once all the updates have installed it is time to transfer all the data across.

  • Backup Evolution File --> Backup settings... to /Home/Desktop
  • Remove the drive from the existing computer and place in HD enclosure
  • Boot up freshly installed system and connect drive in enclosure
  • Open terminal as root, copy files across from old hard drive, e.g.
cp -pR '/media/disk/home/user' '/home/user/backup'
  • If you want to keep an eye on the data transfer as it is happening, you can use:
du -sh '/home/user/backup'
  • Once the data has been transferred, you may need to change all the permissions to the new user:
chown user:user -R '/home/user/backup/user'

Restore applications and settings

  • Run Evolution and use backed up data file to restore settings and data
  • Copy backup folders into new Home:
    • Firefox profile (.mozilla/firefox)
    • Transmission (~/.config/transmission)
    • F-Spot (~/.gnome2/f-spot/photos.db)
      • I still haven't figured out a good way to import the existing photos, merely changing the default photo folder and importing the old database doesn't work.
    • Pidgin (.purple)(!)
    • RhythmBox music player (~/.local/share/rhythmbox/)

Add/remove Applications dialogue

  • GStreamer plugins
    • ffmpeg
    • mp3
    • quicktime
    • Xvid
    • aac
  • Acrobat reader 9
  • Planner
  • Asunder (CD Ripper) very slow! I miss the juicer!
    • Requires "lame"
  • Wine

Web downloads

  • Download and install VirtualBox
    • Import the .vdi files into ~/.VirtualBox/HardDisks and restore the virtual systems by creating new virtual machines and attaching them to the imported .vdi files

Restore scripts and config

  • Evolution spellchecker
sudo apt-get aspell
  • Then set the dictionary in Evolution to UK English
  • Pidgin emotes
    • If running Pidgin you can File:Od-pidgin-theme.zip which is currently just all the Skype ones (we've all been using mainly skype until now and would like to keep the same emoticons). It's a zipped up folder called "OD" which should be unpacked into /usr/share/pixmaps/pidgin/emotes. You'll need to make the emotes folder writable first with chmod 777 /usr/share/pixmaps/pidgin/emotes.
  • Set VLC to default
    • Set your preferred multimedia application to VLC:
    • Open System, Preferences, Preferred Applications, then change to Multimedia tab, choose Custom, and enter vlc.
  • Set up HP PSC 1315 Printer
  • Set up Transmission cron job:
    • Edit the crontab with sudo gedit /etc/crontab, and add the following lines (replace username with your Linux user name).
0 2 * * * username transmission --display=:0
0 8 * * * username killall -9 transmission
  • Add remote support line to crontab
*/10 * * * * nobody wget -q --spider "http://dynamicdns.park-your-domain.com/update?host=vnc&domain=peerix.org&password=OUR-DOMAIN-PASSWORD"
  • Change Workgroup to Organic Design
sudo gedit /etc/samba/smb.conf
  • Change line 38 to workgroup = ORGANICDESIGN

Issues and workarounds

Finish off

  • Create an install based on all of the modifications made:
sudo remastersys dist milan-workstation-aug2009.iso

Lingering questions

I would like to know an easy way to export/import the following:

  • Sources.list
  • Key files

Upgrading to Ubuntu 10.04

This upgrade was quick and painless due to me setting up /home as a separate partition. I had to set up some things again after re-installing:

Useful documentation

General post-install guide:

Additional software sources to add

OD workstation package:

Medibuntu:

Ubuntu-tweak

sudo add-apt-repository ppa:tualatrix/ppa

Software installs

Restricted extras:

sudo apt-get install ubuntu-restricted-extras ubuntu-tweak

Web downloads

Download and install Virtualbox

Download and install Skype

Ubuntu 10.04 bugs and annoyances

  • Important dialogue windows are often not brought forward
  • Taskbar/menubar a complete random mess - needs streamlining. Generally, window controls can disappear or opened programs disappear and can only be brought back into view using alt-tab keys. Years behind other OS's in terms of UI unfortunately.
  • Skype video broken - used to work on Ubuntu 9.04!
  • Management of multi-monitors for NVidia graphics cards - quite painful currently. Having worked without the external screen, it should be easy to re-connect the external and switch back to dual-screen using the laptop CRT/LCD switch. This does not work seamlessly at this time.

Logitech Marblemouse USB

sudo gedit /etc/X11/xorg.conf

Add this:

Section "InputClass"
        Identifier  "Marble Mouse"
        MatchProduct "Logitech USB Trackball"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "ButtonMapping" "1 8 3 4 5 6 7 2 9"
        Option "EmulateWheel" "true"
        Option "EmulateWheelButton" "9"
        Option "ZAxisMapping" "4 5"
        Option  "XAxisMapping" "6 7"
        Option  "Emulate3Buttons" "false"
EndSection

USB external drive problem on VirtualBox

I came across the problem of external USB drives being greyed out when trying to access them from the guest windows system. Fortunately the solution is pretty simple: Go to System --> Adminstration --> Users and Groups then look for the vboxusers group, hit "properties" and make sure you are added (checkbox with currently logged in user). Restart, and you should be fine. As described very clearly here: http://news.softpedia.com/news/How-to-Fix-VirtualBox-USB-Support-111715.shtml

Post install

Packages

Medibuntu

Add packages and key
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list cd && wget http://packages.medibuntu.org/pool/free/m/medibuntu-keyring/medibuntu-keyring_2008.04.20_all.deb && sudo dpkg -i medibuntu-keyring_2008.04.20_all.deb && rm medibuntu-keyring_2008.04.20_all.deb
Update
sudo apt-get update
Add to software centre
sudo apt-get install app-install-data-medibuntu

Software Centre Installs

  • Thunderbird
  • Enigmail
  • VLC
  • Geany
  • Acrobat
  • Ktouch
  • Pidgin
  • Inkscape
  • Gimp
  • Backintime

Download and install

Skype
VirtualBox
Ubuntu-tweak
Duckduckgo firefox plugin

Changing over to 64 bit Ubuntu

After problems trying to install using the latest version of Ubuntu 11.04 32bit, which crashed, I used the 64 bit .iso file to create an install disk, which installed fine. Some issues remain regarding 64 bit compatibility.

Thunderbird and Lightning on 64bit

I installed Thunderbird through software centre (version 3.1.15). Enigmail and Lightning calendar didn't work, however this was fixed by:

Overall, 64bit support is disappointing in some areas and I ended up using very out-of-date versions of both Thunderbird and Lightning. The good news is that both scheduling and encryption are now running fine.

Installs

From software centre
  • Thunderbird
  • Enigmail
  • Skype
  • Chromium
  • Backintime
  • Ktouch
  • Ubuntu restricted extras
  • Pidgin
  • VLC
  • Gimp
  • Inkscape
  • Geany
  • ffmpeg
From websites

Configuration

  • Marble mouse support
  • Nvidia driver (Administration/additional drivers)
  • Make Pidgin start automatically (Preferences/Startup applications)
  • Set up emoticons for Pidgin
    • If running Pidgin you can download File:Od-pidgin-theme.zip which is currently just all the Skype ones (we've all been using mainly skype until now and would like to keep the same emoticons). It's a zipped up folder called "OD" which should be unpacked into /usr/share/pixmaps/pidgin/emotes. You'll need to make the emotes folder writable first with chmod 777 /usr/share/pixmaps/pidgin/emotes.
  • Adjust Skype microphone settings to analogue (external microphone)

Tweaking guides

Downgrade to 11.04

After a number of problems, mainly Firefox crashing lots and my printer not working any more, and lack of proper multi-screen support, I decided to downgrade my Ubuntu to 11.04, which I now run in "Basic (no effects)" mode. everything else seems to make the cpu run @ 100%. This guy here really sums up the problems with Ubuntu well...

Problem with Ubuntu restricted extras package

I ran into a problem when trying to install ubuntu-restricted-extras, whereby the ttf-mscorefonts-installer that is part of the package can't be downloaded and dpkg just hangs trying different mirrors with no success. After finding out how to fix the problem,I used this command to just install the extras minus the ttf-mscorefonts:

sudo apt-get install gstreamer0.10-plugins-ugly-multiverse unrar gstreamer0.10-plugins-bad-multiverse libavcodec-extra-52 libmp4v2-0 ubuntu-restricted-addons

Ubuntu 12.04 64bit

Setting up a dual-boot environment with SSD boot drive: http://forum.xda-developers.com/showthread.php?t=1627197

Trackball

sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf

or

sudo gedit /etc/X11/xorg.conf

then add this at the end of the file:

Section "InputClass" 
        Identifier  "Marble Mouse" 
        MatchProduct "Logitech USB Trackball" 
        MatchIsPointer "on" 
        MatchDevicePath "/dev/input/event*" 
        Driver "evdev" 
        Option "ButtonMapping" "3 8 1 4 5 6 7 2 2" 
        Option "EmulateWheel" "true" 
        Option "EmulateWheelButton" "9" 
        Option "ZAxisMapping" "4 5" 
        Option "XAxisMapping" "6 7" 
        Option "Emulate3Buttons" "true" 
EndSection

Installs

Web
Software centre
  • Banshee
  • VLC
  • Pidgin

Auto Mount Shared NTFS partition on boot

sudo blkid

Output should be something like this.
/dev/sda1: LABEL="Windows_7" UUID="48AC1276AC125EAE" TYPE="ntfs"
/dev/sda3: UUID="35030494-3d2d-4d4a-a605-32d91e7a6d12" TYPE="ext4"
/dev/sda5: UUID="7219b425-9d8d-41e4-a957-e26b1e8ead4c" TYPE="ext4"
/dev/sdb1: LABEL="windows" UUID="1D3B46DD6CFD93D5" TYPE="ntfs"
/dev/zram0: UUID="4dc3b795-0931-484e-b809-0946253ab710" TYPE="swap"

Cut and paste the output information to a plain txt document for future use. Next you will want to type the following in terminal:
sudo gedit /etc/fstab

Next add this to the fstab at the bottom.
# Mount at boot
UUID=1D3B46DD6CFD93D5 /media/windows ntfs-3g defaults,rw,owner,uid=1000,gid=100

Slow wireless connection

Wireless has been crippled since Ubuntu 12.04 upgrade so I need to figure out how to get this working again.

  • Intel(R) 4965AGN Wireless-N Mini-Card is the chipset
  • iwl4965 is the driver

Tried this but no luck: http://www.noobslab.com/2012/05/disable-ipv6-if-your-internet-is.html

Solved

Using Linksys wireless-G USB adapter

Could not apply the stored configuration for monitors

none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 351
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 0)
CRTC 351: trying mode 1920x1200@50Hz with output at 1024x768@50Hz (pass 1)

This error screen keeps popping up after reboot. Sometimes it just pops up at random times, after this happens my trackball settings get messed up. Trying this: https://answers.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+question/197240

Install German Spellcheck and Dictionaries in Libre Office

Install Adobe Air