TIP gtweakui

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the Tips & Tricks series.
Terminals / Shells Network X Window System Portage System Filesystems Kernel Other

gtweakui is a UI tweaker for gnome. It allows you to change a few settings on a per user basis that are otherwise difficult to find for users - such as the splashscreen on login.

copy the following text:

File: gtweakui-0.4.0.ebuild
# Copyright 1999-2006 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
LICENSE="GPL-2"
KEYWORDS="~x86"
DESCRIPTION="GNOME interface tweaker for power users"
SRC_URI="mirror://sourceforge/gtweakui/gTweakUI-${PV}.tar.bz2"
HOMEPAGE="http://gtweakui.sourceforge.net"
SLOT="0"
S="${WORKDIR}/gTweakUI-${PV}"
IUSE=""
DEPEND=">=gnome-base/gconf-2.4.0
 >=gnome-base/libgnomeui-2.4.0
 >=x11-libs/gtk+-2.2.4"
 src_compile() {
	cd ${S}
 	econf
	emake
}
src_install() {
   make install DESTDIR=${D}
}

Disclaimer: I can't guarantee the ebuild code is safe, because I only copied and edited it myself. However it did work flawless for me when doing as described below :)

It'd be great if someone who knows more than me about ebuilds creation could confirm the above isn't risking breaking anyone's system. It would also help me further in editing and creating other ebuilds. - enrique AT gentoo DOT se


If the above disclaimer doesn't scare you off from trying it, then do this:

 mkdir /usr/local/portage/gnome-extra/gtweakui -p
 nano -w /usr/local/portage/gnome-extra/gtweakui/gtweakui-0.4.0.ebuild
 # (paste the above ebuild code in the new file within nano - or whatever texteditor you alternativly prefer to use - and then save and quit)
 ebuild /usr/local/portage/gnome-extra/gtweakui/gtweakui-0.4.0.ebuild digest
 echo "=gnome-extra/gtweakui-0.4.0 ~x86" >> /etc/portage/package.keywords
 emerge -av gtweakui ## (answer Y and hit enter key if everything seems ok)

To run the gtweakui Galeon dialog:

gtweakui-galeon

or to run the gtweakui Menus dialog:

gtweakui-menus

or to run the gtweakui Nautilus dialog:

gtweakui-nautilus

or to run the gtweakui Session dialog:

gtweakui-session

Now get your Gnome like you want it to be! :)

Personal tools