You are not logged in.
ftp://ftp.archlinux.org/incoming/gnome- … -1.tar.bz2
PKGBUILD
# Contributor: Nikos Kouremenos <nkAAAAATTTTTTebox.gr>
pkgname=gnome-clipboard-daemon
pkgver=1.0
pkgrel=1
pkgdesc="GNOME Clipboard Daemon is a program that keeps the content of your X clipboard in memory, so the clipboard won' get lost even after you close the application you copied from."
depends=(gtk2)
md5sums=('43c290b9ac0f0ace2c5465ca3f2395f3')
url="http://members.chello.nl/~h.lai/gnome-clipboard-daemon/"
source=(http://members.chello.nl/~h.lai/$pkgname/$pkgname-$pkgver.tar.bz2)
#license=
build() {
cd $startdir/src/$pkgname-$pkgver
make || return 1
mkdir -p $startdir/pkg/usr/sbin/
cp $startdir/src/$pkgname-$pkgver/$pkgname $startdir/pkg/usr/sbin/
}
how many times did you sware because you closed the program where you did copy and now paste doesn't work?
well NO MORE.
Example:
1. Start AbiWord.
2. Type in 'hello world'. Select everything and click Copy.
3. Close AbiWord.
4. Start gedit.
5. Click Paste. Normally nothing will happen. But if GNOME Clipboard Daemon is running, pasting will work.
ArchGnomers enjoy!
Offline
ah great, will add it
Freedom is what i love
Offline
good!
but you have to find a way to daemonize it with GNOME.
It needs X running it cannot be daemonized by the DAEMONS array.
I had faced this with skippy (see forums here) but couldn't find a real solution to the problem [putting it after exec gnome-session in .xinitrc with skippy didn't work]
do you have any idea how do daemonize such stuff that need X?
can gnome-session-manager somehow execute some external programs? do you have ideas on this
EDIT: hmm ok. In the link that is given in skippy thread ( http://www.gnome.org/learn/users-guide/ … ion-2.html ) it is mentioned how to manually add Startup Programs in a Session. there one should put skippy and gnome-clipboard-daemon.
see here for more: http://www.gnome.org/learn/users-guide/ … session-12
you can always add an echo "do this and that" in the PKG but the point is now to find a way to do this with a script [if it's possible].
if it's not then
echo "Now you should add gnome-clipboard-daemon in your session.nTo do this: Applications Menu --> Desktop Preferences --> Advanced --> Sessions.nThere make sure you have ticked "Automatically save changes to session", then select Startup Programs Tab and add /usr/sbin/gnome-clipboard-daemon. Enjoy!"
Offline
Blaaavis what happend with you adding this package??
just put an echo
execute gnome-session-properties
and put gnome-clipboard-daemon in the Startup Programs
or if you want a non GNOME dependant
Offline