Difference between revisions of "Milan/Ubuntu"
m (→Create symlinks from "Home" to separate partition) |
(Change source-code blocks to standard format) |
||
(15 intermediate revisions by one other user not shown) | |||
Line 19: | Line 19: | ||
=== Installs === | === Installs === | ||
;From software centre: | ;From software centre: | ||
− | *Thunderbird | + | *<s>Thunderbird</s> now comes as default |
*Enigmail | *Enigmail | ||
− | |||
*Ubuntu restricted extras | *Ubuntu restricted extras | ||
*Pidgin | *Pidgin | ||
*VLC | *VLC | ||
+ | *Clementine | ||
*Gimp | *Gimp | ||
*Inkscape | *Inkscape | ||
*Geany | *Geany | ||
*ffmpeg | *ffmpeg | ||
+ | *Furius ISO Mount | ||
;From websites: | ;From websites: | ||
+ | *[http://beta.skype.com/en/download-skype/skype-for-computer/ Skype] | ||
*[https://www.virtualbox.org/wiki/Linux_Downloads VirtualBox] | *[https://www.virtualbox.org/wiki/Linux_Downloads VirtualBox] | ||
**[http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#extpack Extension pack] | **[http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#extpack Extension pack] | ||
*[https://www.dropbox.com/install Dropbox] | *[https://www.dropbox.com/install Dropbox] | ||
+ | *[http://ubuntu-tweak.com Ubuntu-tweak] | ||
+ | *[http://www.teamviewer.com/en/download/linux.aspx Teamviewer] | ||
=== Auto Mount "Meeja" partition on boot === | === Auto Mount "Meeja" partition on boot === | ||
− | + | <source> | |
sudo blkid | sudo blkid | ||
Line 50: | Line 54: | ||
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=f2d5d33c-79a9-4fa9-b7a2-28b7db8d9153 /media | + | UUID=f2d5d33c-79a9-4fa9-b7a2-28b7db8d9153 /media/Meeja ext4 defaults 0 1 |
− | </ | + | </source> |
=== Change ownership of Meeja partition === | === Change ownership of Meeja partition === | ||
− | + | <source> | |
− | sudo chown -R milan.milan /media | + | sudo chown -R milan.milan /media/Meeja |
− | </ | + | </source> |
=== Create symlinks from "Home" to separate partition === | === Create symlinks from "Home" to separate partition === | ||
Line 69: | 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. | ||
− | + | <source> | |
gksudo nautilus | gksudo nautilus | ||
− | </ | + | </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. | ||
− | + | <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 84: | 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 | ||
− | </ | + | </source> |
+ | === Revert to 12.04 === | ||
+ | *http://www.dedoimedo.com/computers/ubuntu-quetzal-nvidia.html | ||
+ | *http://www.techlw.com/2012/08/install-nvidia-30437-drivers-in-ubuntu.html | ||
+ | *http://www.youtube.com/watch?v=6ki7PLcXo00 | ||
+ | *http://ubuntuforums.org/showthread.php?t=1716158 | ||
+ | *http://dotcadot.ca/articles/bad-sound-wine-14-under-ubuntu-1204-x64 | ||
+ | *http://askubuntu.com/questions/1830/will-plymouth-allow-for-a-nice-boot-experience-with-proprietary-graphics-drivers?rq=1 | ||
+ | *https://wiki.ubuntu.com/Bumblebee | ||
+ | *http://askubuntu.com/questions/201123/screen-resolution-stuck-at-640x480-after-installing-bumblebee | ||
+ | *http://news.softpedia.com/news/Improve-Power-Usage-on-Ubuntu-12-04-and-Prolong-Laptop-Battery-Life-297032.shtml | ||
+ | *http://www.liberiangeek.net/2012/04/install-adobe-flash-reader-air-in-ubuntu-12-04-precise-pangolin | ||
+ | *https://noblesamurai.com/account/mySoftware?product=MarketSamurai | ||
+ | *http://www.noobslab.com/2012/09/install-libreoffice-361-in-ubuntu.html | ||
+ | *http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries | ||
+ | *http://linuxdrops.com/install-google-picasa-on-ubuntu-11-0411-1012-0412-10/ | ||
+ | |||
+ | === 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 == | == Current state == | ||
Line 101: | 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] | ||
− | + | <source> | |
sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf | sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf | ||
− | </ | + | </source> |
or | or | ||
− | + | <source> | |
sudo gedit /etc/X11/xorg.conf | sudo gedit /etc/X11/xorg.conf | ||
− | </ | + | </source> |
then add this at the end of the file: | then add this at the end of the file: | ||
− | + | <source> | |
Section "InputClass" | Section "InputClass" | ||
Identifier "Marble Mouse" | Identifier "Marble Mouse" | ||
Line 123: | Line 149: | ||
Option "Emulate3Buttons" "true" | Option "Emulate3Buttons" "true" | ||
EndSection | EndSection | ||
− | </ | + | </source> |
=== Installs === | === Installs === | ||
;Web | ;Web | ||
Line 139: | Line 165: | ||
=== Auto Mount Shared NTFS partition on boot === | === Auto Mount Shared NTFS partition on boot === | ||
− | + | <source> | |
sudo blkid | sudo blkid | ||
Line 154: | 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 |
− | </ | + | </source> |
=== Install German Spellcheck and Dictionaries in Libre Office === | === Install German Spellcheck and Dictionaries in Libre Office === | ||
Line 170: | 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. | ||
− | + | <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 177: | 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 | ||
− | </ | + | </source> |
=== Task: Set up backup and create system image === | === Task: Set up backup and create system image === | ||
Line 191: | Line 217: | ||
==== Could not apply the stored configuration for monitors ==== | ==== Could not apply the stored configuration for monitors ==== | ||
− | + | <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) | ||
− | </ | + | </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 210: | Line 236: | ||
== Post-Install == | == Post-Install == | ||
First, I set up a root password: | First, I set up a root password: | ||
− | + | <source> | |
sudo passwd root | sudo passwd root | ||
− | </ | + | </source> |
Next, edit sources list | Next, edit sources list | ||
− | + | <source> | |
sudo gedit /etc/apt/sources.list | sudo gedit /etc/apt/sources.list | ||
− | </ | + | </source> |
and add the following: | and add the following: | ||
− | + | <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 225: | 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/ | ||
− | </ | + | </source> |
=== Install keys === | === Install keys === | ||
− | + | <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 | ||
− | </ | + | </source> |
Then update and upgrade as usual, | Then update and upgrade as usual, | ||
− | + | <source> | |
apt-get update | apt-get update | ||
apt-get upgrade | apt-get upgrade | ||
− | </ | + | </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 240: | Line 266: | ||
*Now I went through [[Ubuntu Post Install]] steps | *Now I went through [[Ubuntu Post Install]] steps | ||
=== Further installs === | === Further installs === | ||
− | + | <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 | ||
− | </ | + | </source> |
=== Skype === | === Skype === | ||
Line 255: | 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. | ||
− | + | <source> | |
− | + | cp -pR '/media/disk/home/user' '/home/user/backup' | |
− | </ | + | </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: | ||
− | + | <source> | |
− | + | du -sh '/home/user/backup' | |
− | </ | + | </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: | ||
− | + | <source> | |
− | + | chown user:user -R '/home/user/backup/user' | |
− | </ | + | </source> |
== Restore applications and settings == | == Restore applications and settings == | ||
Line 294: | Line 320: | ||
== Restore scripts and config == | == Restore scripts and config == | ||
*Evolution spellchecker | *Evolution spellchecker | ||
− | + | <source> | |
sudo apt-get aspell | sudo apt-get aspell | ||
− | </ | + | </source> |
*Then set the dictionary in Evolution to UK English | *Then set the dictionary in Evolution to UK English | ||
*Pidgin emotes | *Pidgin emotes | ||
Line 307: | 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). | ||
− | + | <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 | ||
− | </ | + | </source> |
*Add remote support line to crontab | *Add remote support line to crontab | ||
− | + | <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" | ||
− | </ | + | </source> |
*Change Workgroup to Organic Design | *Change Workgroup to Organic Design | ||
− | + | <source> | |
sudo gedit /etc/samba/smb.conf | sudo gedit /etc/samba/smb.conf | ||
− | </ | + | </source> |
*Change line 38 to '''workgroup = ORGANICDESIGN''' | *Change line 38 to '''workgroup = ORGANICDESIGN''' | ||
Line 326: | 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 | ||
− | + | <source> | |
sudo remastersys dist milan-workstation-aug2009.iso | sudo remastersys dist milan-workstation-aug2009.iso | ||
− | </ | + | </source> |
== Lingering questions == | == Lingering questions == | ||
Line 348: | Line 374: | ||
*https://help.ubuntu.com/community/Medibuntu#Adding%20the%20Repositories | *https://help.ubuntu.com/community/Medibuntu#Adding%20the%20Repositories | ||
Ubuntu-tweak | Ubuntu-tweak | ||
− | + | <source> | |
sudo add-apt-repository ppa:tualatrix/ppa | sudo add-apt-repository ppa:tualatrix/ppa | ||
− | </ | + | </source> |
=== Software installs === | === Software installs === | ||
Restricted extras: | Restricted extras: | ||
− | + | <source> | |
sudo apt-get install ubuntu-restricted-extras ubuntu-tweak | sudo apt-get install ubuntu-restricted-extras ubuntu-tweak | ||
− | </ | + | </source> |
=== Web downloads === | === Web downloads === | ||
Download and install Virtualbox | Download and install Virtualbox | ||
Line 369: | Line 395: | ||
== Logitech Marblemouse USB == | == Logitech Marblemouse USB == | ||
− | + | <source> | |
sudo gedit /etc/X11/xorg.conf | sudo gedit /etc/X11/xorg.conf | ||
− | </ | + | </source> |
Add this: | Add this: | ||
− | + | <source> | |
Section "InputClass" | Section "InputClass" | ||
Identifier "Marble Mouse" | Identifier "Marble Mouse" | ||
Line 387: | Line 413: | ||
Option "Emulate3Buttons" "false" | Option "Emulate3Buttons" "false" | ||
EndSection | EndSection | ||
− | </ | + | </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 402: | Line 428: | ||
</nowiki></tt>}} | </nowiki></tt>}} | ||
;Update | ;Update | ||
− | + | <source> | |
sudo apt-get update | sudo apt-get update | ||
− | </ | + | </source> |
;Add to software centre | ;Add to software centre | ||
− | + | <source> | |
sudo apt-get install app-install-data-medibuntu | sudo apt-get install app-install-data-medibuntu | ||
− | </ | + | </source> |
=== Software Centre Installs === | === Software Centre Installs === | ||
Line 479: | 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: | ||
− | + | <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 | ||
− | </ | + | </source> |
== Ubuntu 12.04 64bit == | == Ubuntu 12.04 64bit == | ||
Line 487: | 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] | ||
− | + | <source> | |
sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf | sudo gedit /etc/X11/xorg.conf.d/10-evdev.conf | ||
− | </ | + | </source> |
or | or | ||
− | + | <source> | |
sudo gedit /etc/X11/xorg.conf | sudo gedit /etc/X11/xorg.conf | ||
− | </ | + | </source> |
then add this at the end of the file: | then add this at the end of the file: | ||
− | + | <source> | |
Section "InputClass" | Section "InputClass" | ||
Identifier "Marble Mouse" | Identifier "Marble Mouse" | ||
Line 509: | Line 535: | ||
Option "Emulate3Buttons" "true" | Option "Emulate3Buttons" "true" | ||
EndSection | EndSection | ||
− | </ | + | </source> |
=== Installs === | === Installs === | ||
;Web | ;Web | ||
Line 519: | Line 545: | ||
=== Auto Mount Shared NTFS partition on boot === | === Auto Mount Shared NTFS partition on boot === | ||
− | + | <source> | |
sudo blkid | sudo blkid | ||
Line 534: | 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 |
− | </ | + | </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 546: | Line 572: | ||
=== Could not apply the stored configuration for monitors === | === Could not apply the stored configuration for monitors === | ||
− | + | <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) | ||
− | </ | + | </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
Contents
- 1 Generic System/device setup procedure
- 2 XPS 15 (L521x)
- 3 Current state
- 4 History of Ubuntu configs
- 5 Fresh install - Milan 08 2009
- 6 Post-Install
- 7 Data transfer
- 8 Restore applications and settings
- 9 Restore scripts and config
- 10 Issues and workarounds
- 11 Finish off
- 12 Lingering questions
- 13 Upgrading to Ubuntu 10.04
- 14 Logitech Marblemouse USB
- 15 USB external drive problem on VirtualBox
- 16 Post install
- 17 Changing over to 64 bit Ubuntu
- 18 Downgrade to 11.04
- 19 Ubuntu 12.04 64bit
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
Thunderbirdnow 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
- http://www.dedoimedo.com/computers/ubuntu-quetzal-nvidia.html
- http://www.techlw.com/2012/08/install-nvidia-30437-drivers-in-ubuntu.html
- http://www.youtube.com/watch?v=6ki7PLcXo00
- http://ubuntuforums.org/showthread.php?t=1716158
- http://dotcadot.ca/articles/bad-sound-wine-14-under-ubuntu-1204-x64
- http://askubuntu.com/questions/1830/will-plymouth-allow-for-a-nice-boot-experience-with-proprietary-graphics-drivers?rq=1
- https://wiki.ubuntu.com/Bumblebee
- http://askubuntu.com/questions/201123/screen-resolution-stuck-at-640x480-after-installing-bumblebee
- http://news.softpedia.com/news/Improve-Power-Usage-on-Ubuntu-12-04-and-Prolong-Laptop-Battery-Life-297032.shtml
- http://www.liberiangeek.net/2012/04/install-adobe-flash-reader-air-in-ubuntu-12-04-precise-pangolin
- https://noblesamurai.com/account/mySoftware?product=MarketSamurai
- http://www.noobslab.com/2012/09/install-libreoffice-361-in-ubuntu.html
- http://extensions.libreoffice.org/extension-center/german-de-de-frami-dictionaries
- http://linuxdrops.com/install-google-picasa-on-ubuntu-11-0411-1012-0412-10/
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...
- Watch webinars held using "GoToMeeting", which unbelievably, won't run on Ubuntu due to requiring Citrix
- 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
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:
- http://packages.organicdesign.co.nz/main/organicdesign-workstation.deb (click and open with GDebi package manager)
Following this, I enabled proprietary hardware drivers for 3d acceleration: System >> Administration >> Hardware Drivers
- Now I went through Ubuntu Post Install steps
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
- Follow procedure at: http://hplipopensource.com/hplip-web/install/install/index.html
- 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:
- I followed the create a Live CD procedure
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
- 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:
- uninstalling the Enigmail extension in Thunderbird, and installing Enigmail from the software centre
- uninstalling lightning extension in Thunderbird and installing this version: http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2/contrib/linux-x86_64/
- See also: https://help.ubuntu.com/community/ThunderbirdLightning
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
- http://customizemania.com/articles/article-how-to-tame-ubuntu-11-10/
- http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
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
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
- One of the few reasons I needed to use Virtualbox running Windows XP for is to run Market Samurai for keyword research.
- Following these instructions, I was able to install Air and Market Samurai on my Ubuntu: http://www.liberiangeek.net/2012/04/install-adobe-flash-reader-air-in-ubuntu-12-04-precise-pangolin/
- It still crashes sometimes but is running much faster overall and doesn't throw the Google account errors anymore that it used to.