Ubuntu

How To: Upgrade ext3 to ext4 if your Ubuntu installation is inside of an encrypted LVM2 partition

In general you can use this guide for the basics, make sure that you are using grub2 as the boot manager (if you boot from the partion you're going to convert) and you have a backup of all important data. You need to boot from a Live-CD or a USB-installation of Ubuntu to do the changes to your boot partion from there. Theres one little trick about how to get access to an encrypted LUKS LVM2-container. If you setup such a thing (e.g. by using Ubuntus alternate installer) also take a look here.

General Tags: 
General category: 

How To: Fix your screen configuration when using ATI Catalyst™ Proprietary Linux Display Driver

The team play of Ubuntu and ATI graphic cards is something I wouldn't bet my shirt on. At some point it's still a mystery for me to configure it correctly, the effects of changes in xorg.conf, driver updates, use of aticonfig or Ubuntu's display configuration tool give a surprise every time and if suddenly things are working correctly I call it a miracle. Unfortunatly after having benefited from a miracle for quite some months, things stopped working again for no apparent reason.

At some point the driver seems to not listen to xorg.conf any way. It writes its own configuration into /etc/ati/amdpcsdb and this file gets messed up after some time. So at any start of trying a new configuration its seems wise to replace it with the /etc/ati/amdpcsdb.default file.

But still the xorg.conf file seems to have some influence on graphic settings. So for a fresh start also completely remove /etc/X11/xorg.conf and do a aticonfig --initial --force which will give you a completely new one based on the configuration this ATI tool detected.

After doing both of this still strange things were happening in my Ubuntu installation. Logging into GDM with my user profile gave unexpected and unwanted results in display configuration, logging in with another user profile worked perfectly well. The reason for that: user-dependent GNOME Display settings in the home directory in ~/.config/monitors.xml. Delete this file to prevent Display chaos.

So we can finally start adapting the new configuration now. This should be done in the CCC (Catalyst Control Centre). I hope things go well from here for you too. Good luck.

General Tags: 
General category: 

Ubuntu desktop magic

There are several things I really like about my Ubuntu installation, but there is some fantastic usability thing I did set up after a while and I don't want to keep it from you:

The common way
Most probably you will start your machine once or twice a day, coming up with a fresh desktop. You will start Firefox, Pidgin, Thunderbird, probably Songbird for the music, Nautilus to do some file actions and maybe open a terminal window. You'll show and hide them, close and reopen them. Some application windows will remember their position and sizes, some won't. During your session you'll feel the need to resize windows, move them, hide them or even put them to another workspace. Usually your application window won't stay on in the same place with the same size for a long time. We're used to those procedures because we did that way since we use window managers. But they take time and clicks. If we search an application we have to look in the window list or use the window switcher to identify and show it. If we bring all that to mind we realize that this is a bit of pain.

What if...
So what if we could fill the desktop with the basic applications automatically. And what if we put them on a default position with a default size on a default workspace, so we don't feel the need to move, resize, show or hide anything at all. All which is left is switching the workspace. And we'll know exactly where to find a application window because it stays always in the same place.

How to do it
On my Gnome desktop I set up six workspaces. On the first one I put Firefox, Skype and Pidgin, the second one has Thunderbird on it, the third one is clean ( to run free), the fourth shows two Nautilus windows of the same size side by side ( yeah, i like orthodox file managers), the fifth runs two terminals and on workspace six Songbird plays the music. All those applications are startet and put into position by a script, which I linked on my Desktop. All it needs is the package wmctrl. Here's the scripts source. Have fun!


#! /bin/sh

# start on workspace 0
wmctrl -s 0

# start firefox with a default page and go on
firefox "http://de.indymedia.org/index.shtml" &
{
    # wait for firefox to start
    sleep 20s

    # resizing and positioning
    wmctrl -r Firefox -e 0,10,40,1090,700

    # set a custom window title
    wmctrl -r Firefox -T "Ich trinke ein Getränk und esse ein Geäst und sing..."

    pidgin &
    skype &
    {
        sleep 20s
        wmctrl -r Buddy List -e 0,1120,40,140,700
        wmctrl -r Skype -e 0,875,40,225,400
        wmctrl -s 1

        thunderbird &
        {
            sleep 10s
            wmctrl -r Thunderbird -e 0,10,40,1250,700

            wmctrl -s 3
            nautilus &
            {
                sleep 3s
                wmctrl -r File Browser -e 0,10,40,620,700
                wmctrl -r File Browser -T "Soll"
                
                nautilus &
                {
                    sleep 3s
                    wmctrl -r File Browser -e 0,645,40,620,700
                    wmctrl -r File Browser -T "Haben"

                    wmctrl -s 4
                    gnome-terminal &
                    gnome-terminal -e "sudo -i" &
                    {
                        sleep 4s
                        wmctrl -r matze -e 0,10,40,620,700
                        wmctrl -r root -e 0,645,40,620,700
                        
                        wmctrl -s 5
                        Apps/Songbird/songbird &
                        
                        {
                                sleep 15s
                                wmctrl -r Songbird -e 0,10,40,1250,700
                        }
                    }
                }
            }
        }
    }
}

 

General Tags: 
General category: 

How to keep your Ubuntu clean.

  1. Update you package sources an install all upgrades.
  2. Remove old linux-headers and linux-modules packages. You only need the ones for the linux-image(s) currently installed.
  3. Purge old configs. Usually you won't need configurations from removed packages, but Ubuntu keeps them by default. Run aptitude in the command line and press the "_" key on the "Not installed packages" item. Then continue with "g", assure that you really won't need the configs of the packages to purge anymore and confirm with "g" again.
  4. Check your caches. The Sun JVM has an oversized cache by default. You are free to minimize it in the JVM control panel. More cache files can be probably found in the hidden ~/.local/share/ directory. Configure your Flash player the way you like it: www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html#117118
General Tags: 
General category: 
Subscribe to RSS - Ubuntu

ad ubuntu linux

Greenpeace Energy

www.lobbycontrol.de