HOWTO Gnome Desktop for the End-User
From Gentoo Linux Wiki
|
Installation
Configuration Tips Administration |
| edit |
Contents |
[edit] Introduction
This guide is geared towards those who are interested in setting up a user-friendly desktop environment based as purely on GTK+2 / GNOME applications as possible, while still allowing for reasonable non-gtk+2 additions (such as OpenOffice and Firefox), which more users are familiar with. If that isn't your goal, or you have something to contribute that is not congruent with that line of thought, please check out the Recommended Packages for Newbies and Recommended Packages guides.
One advantage to an environment build purely on gtk+2 applications is that the interface is more consistent. Also, many Gnome applications interface with gconfd, which allows you to control application settings as an administrator in a centralized fashion.
Although the applications listed are mostly stable, for the convenience of end-users, a few masked packages are listed. So beware, not every application listed here is rock-solid stable.
If you haven't yet you will need to first install and configure Gentoo, followed by X11.
Additionally, Administrators may find HOWTO Gnome Desktop Admin Guide useful.
[edit] Installing Gnome
[edit] Gnome Base
first of all you have to make sure sun-jdk is installed, so before installing gnome, do the following:
emerge dev-java/sun-jdk
there will come a text that says you have to download a file, follow the instructions and do the emerge command again.
emerge -DuN gnome rc-update add dbus default /etc/init.d/dbus start rc-update add hald default /etc/init.d/hald start
- If you are missing either dbus or hald, make sure USE="hal" and see HOWTO gnome-volume-manager. I think it's highly unlikely that you meant to not install this.
On a decent system, if you start it before going to bed and wait until work is over the next day, it should be done compiling. If that's too long for you, then check out my page. I've listed there my grp and make.conf.
- If you have difficulties with gstreamer or your gnome session starts with an error about "no audio device found", check this out: TIP Troubleshooting Gstreamer
- A couple of times when emerge-ing gnome the merge has failed at merging gtk+. To fix, re-emerge cairo.
- GTK+ will (by default) _not_ compile with the "jpeg" flag. be sure to emerge jpeg and include the jpeg USE flag before emerging GTK+
[edit] Logging In
In order to log into gnome after installation you will need to do one of the following tasks:
- Text-based Login - Per User Basis - Create your .xinitrc
nano -w ~/.xinitrc xinit # #OR # startx
Or your .xinitrc might look something like this:
| File: ~/.xinitrc |
exec gnome-session # startkde # fluxbox & # eterm & |
I am using 2008 beta2 and I had to emerge -DuN gnome-session explicitly for exec gnome-session above to work
- Graphical Login
We need to first install GDM (GNOME Display Manager) so we can login using its pretty interface.
emerge -DuN gdm
If you want extra themes for GDM install this package.
emerge -DuN gdm-themes
We now need to edit the file /etc/rc.conf to tell the system to use GDM instead of XDM.
Edit the following lines in rc.conf:
| File: /etc/rc.conf |
# DISPLAYMANAGER has moved to /etc/conf.d/xdm XSESSION="Gnome" |
| File: /etc/conf.d/xdm |
DISPLAYMANAGER="gdm" |
We need to add XDM to the default runlevel to be able to start GDM when the system boots up.
rc-update add xdm default
If you would like to have GDM startup quicker at boot find the following line.
| File: /etc/init.d/xdm |
/sbin/telinit a &>/dev/null |
Change it to
| File: /etc/init.d/xdm |
/etc/X11/startDM.sh &>/dev/null |
And change XDM from default runlevel to the boot runlevel.
rc-update del xdm && rc-update add xdm boot
If you want to check out GDM without a reboot start it up.
/etc/init.d/xdm start
Or if you already have XDM running restart the service.
/etc/init.d/xdm restart
[edit] Gnome Extra
- Artwork
- Screensavers
- Numlock
emerge -DuN gnome-themes-extras ximian-artwork gentoo-artwork gnome-backgrounds gdm-themes xscreensaver numlockx
Way cooler than vnc is what you can do with ssh and X forwarding...
Although GDesklets aren't critical, they can be pretty useful for the average power user - so despite that I normally favor stability, it's worth including them.
emerge -DuN gdesklets-core desklet-starterbar
[edit] Applications
It is recommended that you install all of the applications using emerge -DuN ${APP_NAME} unless a special procedure is noted. These options enable Portage's best dependency checks ("deep", "update" and "newuse").
[edit] User Interface
There are a few little must-have UI tweakers that haven't made it into gnome-base yet:
- Miscellaneous Settings --> gtweakui
(GTweakUI isn't in Portage and the project page at http://gtweakui.sourceforge.net/news.html hasn't been updated since 2004. Is this still useful or might it break versions of Gnome released since then?) Masonmouse 07:21, 8 October 2006 (UTC)
[edit] Multimedia
Gtk+2:
- Imaging --> gimp
- Jukebox --> rhythmbox or exaile (like amarok)
- iPod --> GtkPod
- Image Browser --> gthumb
- Kodak --> gphoto2, gtkam
- Audio Editing --> audacity
- CD-Ripper --> sound-juicer
- CD-Burning --> gnomebaker or brasero
- or nautilus --no-browser burn:
- Movies --> totem
- DV/Video Editing --> kino
Popular:
- 3d Imaging --> blender
- Jukebox --> quodlibet audacious
- Audio Editing --> rosegarden (depends on QT/KDE)
- CD-Burning --> k3b (depends on QT/KDE)
- Movies --> mplayer
- Screen recording --> vnc2swf Unofficial Documentation (latter entry)
There are some caveats, however:
Update 07-09-2007: It will compile with unicode, so the following is not needed
- audacity won't compile if wxGTK has unicode support
- wxpython won't compile with unicode support if wxGTK lacks it
echo "x11-libs/wxGTK -unicode" >> /etc/portage/package.use echo "dev-python/wxpython -unicode" >> /etc/portage/package.use emerge wxGTK wxpython
Athlon-XP:
USE="3dnow 3dnowext sse mmx mmxext"
Pentium4 or Celeron:
USE="sse sse2 mmx"
General:
USE="${USE} aac aalib avi cdparanoia cdr divx4linux dv dvd dvdr dvdread encode ffmpeg flac jpeg
lame live mad mjpeg mp3 ogg quicktime real vcd vidix vorbis win32codecs xmms xv"
Codecs:
emerge -vnDuNa faac faad2 flac lame libogg libmad libmatroska win32codecs libcddb \ libcdio libdvbpsi libdvdcss libdvdread libdvdnav ffmpeg xine-lib
DivX4Linux is deprecated, use the divx-USE-flag instead.
[edit] Internet
GTK2+:
- Browsing - epiphany
- E-mail - evolution
- News (RSS) - liferea
- IM - pidgin,
gaim, gossip, gajim - A/V Conference - gnomemeeting ekiga (gnomemeeting successor)
- LiveJournal - drivel, logjam
- ftp - gftp
- P2P - gtk-gnutella
-
BitTorrent - gnome-btdownloaddoes not exist in portage.
Popular:
- Browsing - firefox
- E-mail - thunderbird
- VoIP - skype
- LiveJournal - "Deepest Sender" (mozilla extension)
- ftp - "fireftp" (mozilla extension)
- P2P - limewire
1. Save your current firewall rules iptables-save > /etc/iptables.bak
2. Open /etc/iptables.bak in your favorite text editor
3. Add the following rule(s) in appropriate order (according to your existing rules).
| Firewall Rule: bittorrent |
-A INPUT -p tcp -m state --state NEW -m tcp --dport 6881:6886 -j ACCEPT |
4. Restore all rules to be part of your current configuration iptables-restore /etc/iptables.bak
[edit] Office
Gtk+2:
- Word Processor --> abiword
- Spreadsheet --> gnumeric
- Publication --> passepartout
- Graphic Design --> inkscape
- Diagramming --> dia
- Idea Mapping --> freemind
- Database --> gnome-filer (no known ebuild)
- Project Management --> planner
- Webpage --> gphpedit bluefish
- Finances --> gnucash grisbi
- Time Management --> gnotime
- TV Guide --> OnTV
You can inject some of these to prevent them from being installed. If you're daring you might try building gnucash2 yourself, but it's rather unstable at present.
# gnucash --> gtkhtml --> control-center-1.x - which is ugly; we already have control-center-2.x echo "gnome-base/control-center-1.4.0.5-r1" >> /etc/portage/profile/package.provided echo ">=gnome-base/control-center-1.4.0.5-r1" >> /etc/portage/package.mask
OASIS:
For your everyday users there is the OASIS standardized office suite we have all come to know and love as OpenOffice.org. I don't really see any point to compiling this yourself, as it is highly sensitive and any optimizations you use other than -march=${CPU} are likely to be filtered out anyway. Furthermore, I'd highly suggest using the developer release of OOo2. This will give you a chance to use gnome-btdownload and experience the incredible download speeds that a torrent offers.
- Office Suite: ebuild:openoffice-bin ebuild:ximian-openoffice-bin
You can also use the latest version in the portage tree.
echo ">=app-office/openoffice-bin-1.9 ~x86" >> /etc/portage/package.keywords echo ">=app-office/openoffice-bin-1.9" >> /etc/portage/package.unmask
emerge --noreplace ooodi ooextras ooqstart-gnome
emerge jdbc-mysql cp /usr/share/jdbc-mysql/lib/mysql-connector-java-*-stable-bin.jar $JAVA_HOME/jre/lib/ext
You'll also need to adjust some settings by opening Tools » Options » OpenOffice.org » Java » Class Path » Add Archive and selecting /usr/share/jdbc-mysql/lib/mysql-connector-java-3.0.16-ga-bin.jar
NOTE: someone should check status/file a bug on this not happening automatically
Popular:
- Publication --> scribus
- Webpage --> nvu
- Utilizing Microsoft Access DBs --> mdbtools
- Presentation --> pointless
- looks as quick and easy as wiki, but probably not the best for the average end-user
[edit] Other / Power User / Admin Tools
These are just some misc tools you may very well find that you want to have.
- wine - emulate the Win9x environment.
- grdesktop - connect with RDP to a windows thin-client setup or to provide WinXP remote assistance. (Note: grdesktop has not been updated in nearly 2 years. See tsclient for a newer alternative.)
- porthole - a buggy, but graphical, package manager for portage
- profuse - a buggy, but graphical, USE flags manager
- himerge - a very stable, gtk and haskell based GUI for Portage with package branch and USE flags editor.
- gparted - a gtk interface for libparted which is similar to qtparted
- vnc - Slower than X, Faster than RDP
- x11vnc - Connect to an existing X session (Gnome and KDE already use this in their own special way)
- xmysqladmin - unlike OpenOffice Base (on gentoo that is), this works OoB
- seahorse - gnome gui frontend for GnuPG
- firestarter - alpha iptables frontend
- shorewall - iptables frontend
