Difference between revisions of "Talk:Dell XPS M1330"

From Organic Design wiki
m (add tweak guides)
(Change source-code blocks to standard format)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
== 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 23: Line 23:
 
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 38: Line 38:
 
*Now I went through [[Ubuntu Post Install]] steps
 
*Now I went through [[Ubuntu Post Install]] steps
 
=== Further installs ===
 
=== Further installs ===
{{code|<pre>
+
<source>
 
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
</pre>}}
+
</source>
  
 
=== Skype ===
 
=== Skype ===
Line 53: Line 53:
 
*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 92: Line 92:
 
== 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 105: Line 105:
 
*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 124: Line 124:
 
*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 146: Line 146:
 
*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 167: Line 167:
  
 
== 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 185: Line 185:
 
         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 194: Line 194:
 
*http://www.webupd8.org/2010/10/medibuntu-repository-is-available-for.html
 
*http://www.webupd8.org/2010/10/medibuntu-repository-is-available-for.html
 
;Add packages and key
 
;Add packages and key
{{code|<pre>
+
<source>
 
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
 
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
 
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
</pre>}}
+
</source>
 
;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 ===
 
*Thunderbird
 
*Thunderbird
Line 267: Line 267:
 
*http://customizemania.com/articles/article-how-to-tame-ubuntu-11-10/
 
*http://customizemania.com/articles/article-how-to-tame-ubuntu-11-10/
 
*http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
 
*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 [http://www.zdnet.com/blog/perlow/why-ubuntu-1110-fills-me-with-rage/19103 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:
 +
 +
<source>
 +
sudo apt-get install gstreamer0.10-plugins-ugly-multiverse unrar gstreamer0.10-plugins-bad-multiverse libavcodec-extra-52 libmp4v2-0 ubuntu-restricted-addons
 +
</source>

Latest revision as of 18:11, 22 May 2015

Info.svg {{{1}}}


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