Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving from KDE4 to GNOME3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
blietaer
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 103

PostPosted: Tue Sep 11, 2012 10:51 am    Post subject: Moving from KDE4 to GNOME3 Reply with quote

This is a major move that I tried few months ago.
Today my machine is still great but I feel I am not totally done with the move...

For example, I am carrying this huge and hugly /etc/portage/package.use:
Code:

x11-libs/qt-core qt3support
x11-libs/qt-sql qt3support
sys-auth/pambase consolekit
dev-python/PyQt4 declarative sql
x11-libs/qt-declarative qt3support
x11-libs/qt-gui qt3support
dev-libs/keybinder python
dev-java/swing-layout source
dev-ruby/bouncy-castle-java ruby_targets_jruby
dev-ruby/rubygems ruby_targets_jruby
media-plugins/gst-plugins-meta vorbis
gnome-base/gnome-session branding
app-office/libreoffice-bin gnome -kde
media-plugins/alsa-plugins pulseaudio
gnome-extra/nm-applet bluetooth
gnome-base/gnome-settings-daemon policykit
net-libs/gtk-vnc gtk3
sys-auth/consolekit policykit
app-text/poppler qt4
media-libs/gd fontconfig
dev-libs/folks eds


# G N O M E
gnome-base/gdm -gnome-shell
net-misc/curl -curl_ssl_openssl curl_ssl_nss
dev-python/pycurl -curl_ssl_openssl curl_ssl_nss
gnome-base/gvfs udisks
sys-fs/udev gudev hwdb

dev-libs/libxml2 python
x11-libs/vte python
sys-libs/zlib minizip
x11-libs/qt-opengl  qt3support
app-emulation/virtualbox qt4
media-video/vlc stream screen httpd vlm cdda cddb freetype mod theora xv x11 mad aac a52 dts live ssl bidi  matroska wxwindows oggvorbis svga vcd X aalib alsa cdio dbus dvb dvd elibc_glibc ffmpeg flac gcrypt gnome gnutls hal jack libnotify mmx mp3 mpeg ncurses ogg opengl png qt4 sdl sse svg truetype vcdinfo vcdx vorbis xcb xml xv
dev-libs/elfutils static-libs



My make.conf has been merged accordingly:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.

# ARCHITECTURE
##############
ACCEPT_KEYWORDS="~amd64"


# COMPILE OPTIONS
#################
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"

ACCEPT_LICENSE="*"

# USE FLAGS
###########
NOUSEKDE="-qt3 -qt4 -arts -kde -qt"
USEKDE="qt3 qt4 arts kde"
NOUSEGNOME="-gtk -cairo -glitz -gnome"
USEGNOME="gtk cairo glitz gnome gnome-shell applet asf audacious audio gdm geany gnome-keyring gnome-print gnome-screensaver introspection vapigen"
NOUSE="-doc -apm -mjpeg -xpi -semantic-desktop"
WEBUSE="apache2 mysql php pam ssl xml xml2 berkdb innodb jpeg png pcre session unicode mysqli"
GENUSE="aac acpi alsa amd64 amr amr_nb apic amr_wb apng arts ati audiofile bzip2 \
cdda cddb cdr cpufreq ctype cups curl dba dbus dri dvd dvdr dvdread encode embedded fbcon fbcondecor fontconfig\
fbdev firefox gallium mgcj gd gif gimp hal i810 icu imagemagick ithreads \
java javascript jpg jpeg2k lame mng mmx mmxext mozilla mp4 mp3 mpeg minizip\
mplayer msn nptl nsplugin nptlonly ogg opengl oss pdf pthreads ppds python\
rdesktop real samba script sdl simplexml sip smp spell sse sse2 ssse3 \
svg syslog tcl threads tiff truetype tv usb v4l v4l2 vesa video vga \
vim-syntax wav wavpack webkit wifi wxwidgets X xcb x264 xine xinerama xmlwriter xosd xv xvid zlib"

USE="${USEGNOME} ${NOUSEKDE} ${NOUSE} ${GENUSE} ${WEBUSE}"
#CURL_SSL="nss openssl"

# GLOBALS VARIABLES
###################
INPUT_DEVICES="evdev"
VIDEO_CARDS="radeon v4l r600"
PORTDIR_OVERLAY=/usr/local/portage

# REPOSITORIES
##############
#GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"


WANT_MP="true"



Now, I _do_ understand that just doing a deep search for kde(base) ebuild and removing them was not enough.
Plus the fact that I still do enjoy few k* apps (ktorrent, dolphin,...)
And of course, poping a gvim from root terminal explodes with tons of
Quote:


(gvim:15220): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


In order to learn and clean my machine, I am really eager to learn few trick/commands to run/test my envirronment and be sure to finish the work...
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Sun Sep 16, 2012 7:34 am    Post subject: Reply with quote

I don't think You package.use is huge, maybe, just maybe, it's not small - and its nothing wrong about untill You are able to manage it.

What strikes me is this lotsa use flags in make.conf :D
You really added each of this flag manually when it was needed? Or maybe You displayed all possible use flags in the system and added what You'd think might need in the future?

Quote:
Plus the fact that I still do enjoy few k* apps (ktorrent, dolphin,...)
,
This two apps alone must hold a considerable chunk of kde in Your system.
You can display deps of a package by invoking 'equery d dolphin' (equery resides in gentoolkit package)

Quote:
And of course, poping a gvim from root terminal explodes with tons of
Quote:
(gvim:15220): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

You mean running gvim from terminal where You only su/sudo to root? That's normal.

If You decide to drop kde completely for gnome or the other way around, You may be interested in desktop subprofiles
Code:
eselect profile list

that way system will enable/disable mandatory gnome/kde related use flags.
Back to top
View user's profile Send private message
blietaer
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 103

PostPosted: Sun Sep 16, 2012 6:38 pm    Post subject: Reply with quote

Sweeeeeeet ! :lol:

Well now that is _exactly_ the kind of unknown trick I was expecting.
That is indeed one (great) way to do the job.
(...and never mind if I loose dolphin and ktorrent)

But!

how does it work exactly?
will it replace my make.conf?
will it clean directly my @world ?
how persistent is that?
Will it only suggest flags? re-emerge packages? drop any?



About the USE flags: it a bit of both worlds: collectong USE flags that I hit in my long gentoo life and some that I _guessed_ I might need (just a little more thinking than 'hey this one sounds cool !' )


Thank you for your time on this.
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Mon Sep 17, 2012 5:23 am    Post subject: Reply with quote

Quote:
will it replace my make.conf?

No. But Your make.conf and package.use files will override useflags set by profile, so its best to clean those files of any kde/gnome related flags.

Quote:
will it clean directly my @world ?

No. After You set this subprofile its good to emerge -uDNav world to apply all changes to use flags. Then You can safely do emerge --depclean to get rid of unneeded packages.

Quote:
how persistent is that?

Meaning? those flag will be set unless you explicitly override them in make.conf or package.use

You can get an idea what flag will be enabled for those profiles by inspecting files in /usr/portage/profiles/targets/desktop/[kde/gnome]
Back to top
View user's profile Send private message
psheldon
n00b
n00b


Joined: 02 Apr 2006
Posts: 53
Location: South Africa

PostPosted: Tue Sep 18, 2012 12:07 pm    Post subject: Reply with quote

Unknown trick? Chapter 6.b. Configuring Portage of the x86 hand book!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum