Difference between revisions of "Ubuntu 12.04 Desktop Issues"

From FreekiWiki
Jump to navigation Jump to search
(add upgrade commands for partial upgrades to 12.04)
Line 5: Line 5:
  
 
If its completely broken:
 
If its completely broken:
 +
it rarely is.
  
backup and reinstall 10.04
+
Boot into recovery mode(see below)
 +
 
 +
run:
 +
sudo apt-get update && sudo apt-get upgrade
 +
 
 +
 
 +
normally this will tell you what command you need to run. Normally <code>dpkg --reconfigure  -a</code> and/or<code>apt-get -f install</code>. These might need to be repeated. When done run
 +
 
 +
sudo apt-get update && sudo apt-get upgrade
 +
 
 +
then
 +
 
 +
sudo apt-get update && sudo apt-get dist-upgrade
 +
 
 +
before proceeding.
 +
 
 +
Rinse, lather and repeat as necessary.
  
 
otherwise:  
 
otherwise:  

Revision as of 12:51, 15 September 2012

People are getting prompted to install 12.0.4.1, doing it and then either it breaks or they are totally lost.

Resolution

If its completely broken: it rarely is.

Boot into recovery mode(see below)

run:

sudo apt-get update && sudo apt-get upgrade


normally this will tell you what command you need to run. Normally dpkg --reconfigure -a and/orapt-get -f install. These might need to be repeated. When done run

sudo apt-get update && sudo apt-get upgrade

then

sudo apt-get update && sudo apt-get dist-upgrade

before proceeding.

Rinse, lather and repeat as necessary.

otherwise: install Mate and Gnome Classic XFCE as this is what our next distro will be based on. You should inform the user that this is what we intend to do and explain the following.

"We will install XFCE on Ubuntu 12.04 as this is what the next Free Geek distro will be based upon, and it will ensure you continue receiving updates into the future. As you are among the first users of the new system we will extend the software support on your system so that you know that we will continue to support it. With your permission we would like to contact you in future to see what your experience with the new system has been".

If they agree to this please send a note with their name, contact info and system id to paulm@freegeek.

Recovery Mode in 12.04

The recovery mode in 12.04 is a little bit different. By default it mounts the root (/) filesystem as READ ONLY. This means you will not be able to back up the password, edit files, etc.

To fix just make sure that you select the networking option from the recovery menu. This will set everything up for you.

There is a command that will remount / as "rw" (read-write):

mount -o remount,rw /

Installing Xubuntu/Freegeek Desktop in a Ubuntu 12.04 system

We now have our own desktop design based on Xubuntu.

Note: to open a terminal in Unity, press the windows key, or click on the Ubuntu symbol top left ("dash home"), then type term and click on terminal when it appears below.

To root a box: press shift as normal, select networking, then root shell. You will then be able to run the following commands. Type 'exit' and chose resume to login as the users.

Ensure the following line is in /etc/apt/sources.list uncommented.

 deb http://apt.freegeek.org/ubuntu lucid main

Then do:

sudo apt-get install xubuntu-desktop freegeek-desktop-settings

cp /etc/shadow /etc/shadow.bak

Resume normal boot. Set each users session to Free Geek session and login. It will remember this setting for future instances.

Don't forget to cp /etc/shadow.bak /etc/shadow at the end.

This will install the Xfce4/Xubunutu environment with Xubuntu & Free Geek tweaks.

Temporary Bug Fix

(this will go away when the package gets updated)

correct typo:

edit /etc/xdg/xdg-freegeek/xfce4/panel/default.xml


and replace Application with Applications

in vim:

vim /etc/xdg/xdg-freegeek/xfce4/panel/default.xml

/App[Enter]eas[Esc]ZZ
  1. /App - search for App
  2. e - go to End of word
  3. a s - Append s
  4. ZZ - (or :wq) write and quit

Do this before logging in. After logging in right click on the icon next to Applications and set it to display the label Places instead of the icon via 'properties'.

LightDM Wierdness

LightDM is the Display Manager "of the future..." basically its a fancy login screen that can make use of HTML (however that works). Anyway there a few things you need to do to get it working after a Lucid to Precise upgrade.

Uninstall:

sudo apt-get purge lightdm

Move this folder to the home directory or something if it exists:

sudo mv /etc/lightdm/ /root/

Install the necessary packages:

sudo apt-get install xubuntu-desktop xubuntu-default-settings lightdm-gtk-greeter lightdm

Icon Modification

This is obsolete as we set the icon theme in the freegeek-default-settings package

Extract this file into "/usr/share/icons/" and change the icon theme in the Appearances options to give the user a nice blue power icon on the shutdown panel applet.

File:Freegeek-xubuntu-icon-theme.tar.gz

In case of problems

If you do these things an end up a a partially working system, i.e. lightdm is behaving strangely / not working, run these three commands:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

and reboot!

Selecting the Default Session

You switch between sessions on the log in screen by clicking on the Ubuntu logo/circle next to the username. This is non-obvious. Once you have selected a session once it will remember your choice.


Don't forget to do this for every user.


You will need to backup the password file (cp /etc/shadow /etc/shadow.bak) so you can change the password when doing this in Tech Support. Don't forget to copy the password file back over. (You don't need to do this if you have the password).

See notes in #Recovery Mode in 12.04.

Antelope in Tech Support (on the left) has a 12.04 virtual machine with Xubuntu on it.


Using the Unity Desktop

There is a basic tutorial on how to use Unity here, if you are interested:

http://complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/ubuntu-12-04-basic-unity-interface-desktop-tutorial


THE FOLLOWING IS NOW OBSOLETE

Installing Mate and Gnome Classic

Mate

sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu precise main"
sudo apt-get update
sudo apt-get install mate-archive-keyring
sudo apt-get update
sudo apt-get install mate-core mate-desktop-environment

http://mate-desktop.org/install/#ubuntu

Make sure you put a shutdown button (and a logout button), on the top panel.


On Mate make sure you put a shutdown (and optionally a logout button), on the top panel, on gnome classic put a link to firefox (and evolution) there.

Gnome Classic

sudo apt-get install gnome-session-fallback Then put a link to firefox (and evolution) on the top panel. IIRC you need to press alt + right click to add things to the panel in Gnome Classic.

Tweaking

sudo apt-get install mate-indicator-applet mate-notification-daemon This will allow you to add the notification icon (i.e. the envelope in 10.04) on the panel and enable popup ballon notifications in Mate.

sudo apt-get install gnome-themes-extras community-themes shimmer-themes gtk-clearlooks-gperfection2-theme mate-icon-theme-faenza

This brings in extra themes. Faenza is a well regarded square icon theme. There are lots more

aptitude search theme

System -> Preferences -> Appearance allows the user to tweak the theme, selcting custom allows you to change the icons, controls window border, fonts as well.