Wednesday, September 26, 2012

Kde 4.8.5 Problem with the left click


I've met a strange problem with Kde 4.8.5.I can't make left click !
I've made an update and then I was the problem.
To solve the problem, I use the following command : emerge --update --deep --newuse world

Tuesday, September 18, 2012

service `xdm' does not exist


Problem

During install, I've met the following problem :

rc-update: service `xdm' does not exist
- /etc/conf.d/xdm doesn't exist.

I try emerge xdm but it doesn't work.


Solution

I've solved the problem like this : emerge xorg-server

Saturday, September 15, 2012

Gentoo install with kde 4.8.5 and fluxbox

This document contains a list of package I'v installed to having gentoo with kde.

emerge --sync
emerge portage
emerge system
emerge vim



vi /etc/portage/package.use

sys-fs/udev gudev hwdb
dev-libs/libxml2 python icu
media-plugins/gst-plugins-meta ogg vorbis
sys-auth/pambase consolekit
media-libs/mesa gles2
sys-auth/consolekit policykit
media-libs/mesa xa
x11-libs/libdrm libkms
x11-libs/pango X
x11-libs/cairo X




emerge gentoo-sources
⇒ Make the kernel configuration.


emerge kdebase-meta (very long)

emerge kde-base/kdeadmin-meta (Admin package no mandatory.)
emerge kde-base/kcalc
emerge dhcpcd
emerge grub
emerge kdm

⇒ rc-update: service `xdm' does not exist

To resolve that problem, you have to install xorg-server : emerge xorg-server
Then you can do : rc-update add xdm default

Kde in french :

emerge kde-base/kde-l10n
vi /usr/share/config/kdm/Xsetup
setxkbmap fr



Sound configuration

emerge media-sound/pulseaudio
emerge alsa-plugins
gpasswd -a drieu audio
emerge eix pavucontrol

Add alsa in the USE of make.conf
emerge --ask --changed-use --deep world


Developpement package

emerge virtual/jdk
emerge git

There is not yet maven 3 in ebuild.So you have to install it manually 


⇒ bashrc :
export M2_HOME=/opt/drieu/apache-maven-3.0.4
export M2=$M2_HOME/bin
export JAVA_HOME=/opt/icedtea-bin-6.1.11.3
export PATH="$PATH:$JAVA_HOME/bin:$M2"



# echo "dev-java/sun-jdk ~x86" >> /etc/portage/package.keywords
# echo "dev-java/java-sdk-docs ~x86" >> /etc/portage/package.keywords
# echo "dev-java/sun-jdk" >> /etc/portage/package.unmask
# echo "dev-java/java-sdk-docs" >> /etc/portage/package.unmask
# echo "dev-java/java-config ~x86" >> /etc/portage/package.keywords
# echo "dev-java/java-config-wrapper ~x86" >> /etc/portage/package.keywords


emerge sun-jdk
java-config --set-system-vm sun-jdk-1.6
emerge emul-linux-x86-java

Note : You have to download the jdk version it asked and put in on /urs/portage/distfile.

Other

emerge -av adobe-flash
emerge okular

Warning: Cannot open ConsoleKit session: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory.rc-update add dbus default
rc-update add consolekit default
emerge --ask net-im/skype


http://www.gentoo-wiki.info/Java_Installation_Help


emerge net-misc/telnet-bsd

umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo


Comptabilite

emerge gnucash

package.use :
>=x11-libs/goffice-0.8.17-r1 gnome

emerge ant


LibreOffice

emerge --ask libreoffice



Fluxbox

emerge ccache fluxbox xlockmore eterm commonbox-styles commonbox-styles-extra fluxbox-styles-fluxmod gentoo-artwork conky idesk gentoo gqview


Perl (Pour XmlEd)

perl -MCPAN -e'install "LWP::Simple"'
perl /home/drieu/dvp/script/Perl/installation-modules-perl-kit.pl

Saturday, September 1, 2012

make.conf

I've just begin a new install of my gentoo with kde.
So here is my make.conf without any improvement :


make.conf :


CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="i686-pc-linux-gnu"
USE="kde qt4 qt3support gles opengl dbus"

FEATURES="parallel-fetch"

LINGUAS="fr FR_fr"
VIDEO_CARDS="nvidia"

ACCEPT_LICENSE="Oracle-BCLA-JavaSE"

SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"