Sunday, May 18, 2014

Edit lightdm-gtk-greeter-settings

Nifty little app.
https://launchpad.net/lightdm-gtk-greeter-settings

Even allows you to change the login box position.

Cinnamon applets

World clock gotta have

http://cinnamon-spices.linuxmint.com/applets/view/108
Time format for world clocks: %l:%M%P (%a) %H:%M
Time format for applet: %a %b %e %l:%M %p

Window manager info

Want to know which window manager your running try
wmctrl -m
env | grep -i gdmsession

VirtualBox Guest Additions on Fedora 20/19, CentOS/RHEL 6.5/5.10

This link helps
Make sure to read the comments for updated help..
Above link if you like to copy and paste links
http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel

Also see
http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest

http://wiki.centos.org/FAQ/CentOS6#head-012846a4e422267a34e81c4c905654fc8f36ffaf

 My suggestion from the comments above

I had to use the info that brandon posted above
ln -s /usr/src/kernels/2.6.32-431.3.1.el6.x86_64/ /usr/src/kernels/2.6.32-431.el6.x86_64
it does not like the extra kernel info 3.1.
and the fix from

http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest

Patch for CentOS 6.5 with VBOXADDITIONS_4.3.2/4.3.4
cd /usr/src/kernels//include/drm/
ln -s /usr/include/drm/drm.h drm.h
ln -s /usr/include/drm/drm_sarea.h drm_sarea.h
ln -s /usr/include/drm/drm_mode.h drm_mode.h
ln -s /usr/include/drm/drm_fourcc.h drm_fourcc.h

which is linked from https://forums.virtualbox.org/viewtopic.php?f=3&t=58855

Thursday, April 18, 2013

Since ubunut+1 didnt help here is a fix for



A copy of the C library was found in an unexpected directory:
  '/lib/i386-linux-gnu/ld-2.17.so.dpkg-new'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/i386-linux-gnu' and try again.

fix http://forum.ubuntu-it.org/viewtopic.php?f=30&t=541711&sid=588a1d84d0d07e6f5079afd9670b5e54&start=40#p4262699


replace the  name of libc6_2.*(offending).deb with correct name

example
cd /tmp
cp /var/cache/apt/archives/libc6_2.13-20ubuntu5.2_i386.deb.deb /tmp
dpkg-deb --extract libc6_2.13-20ubuntu5.2_i386.deb libc
dpkg-deb --control libc6_2.13-20ubuntu5.2_i386.deb libc/DEBIAN
gedit /tmp/libc/DEBIAN/preinst

comment out 1 line

find the section that follows

        # Output an error message and exit
        echo
        echo "A copy of the C library was found $msg:"
        echo "  '$lib'"
        echo "It is not safe to upgrade the C library in this situation;"
        echo "please remove that copy of the C library or get it out of"
        echo "'$dir' and try again."
        echo
        exit 1
    done
}



 and comment out

        # Output an error message and exit
        echo
        echo "A copy of the C library was found $msg:"
        echo "  '$lib'"
        echo "It is not safe to upgrade the C library in this situation;"
        echo "please remove that copy of the C library or get it out of"
        echo "'$dir' and try again."
        echo
#        exit 1
    done
}

save

dpkg-deb --build libc
sudo dpkg -i libc.deb
sudo apt-get update
sudo apt-get upgrade

if you need to do this from a chroot see
http://ubuntuforums.org/showthread.php?t=2135146

sudo mount /dev/'location of root' /mnt/raring
sudo mount -t proc none /mnt/raring/proc
sudo mount --rbind /sys /mnt/raring/sys
sudo mount --rbind /dev /mnt/raring/dev
sudo mount --rbind /run /mnt/raring/run
sudo chroot /mnt/raring /bin/bash

then the information from above.