On the latest trunk from Sat 17 Sep 2011, I see the following error in the gpaste menu:
(Couldn't connect to GPaste daemon)
ps -ef | grep gpasted reveals that it deamon is not running.
If I manually run /usr/libexec/gpaste/gpasted, and restart gnome-shell, then it works.
My understanding is that gpasted is started by the dbus daemon. I dug around for dbus log files, but could not find anything.
Does it still happen if you restart your session ?
Does the daemon spawn if you run "gpaste" in a shell ?
Do you have a file named /etc/xdg/autostart/gpasted.desktop installed ?
Actually, the daemon autostarts when a dbus request is made, but for some reasons it doesn't work with gnome-shell's requests. There used to be a command which launched it in the gnome-shell extension, but I removed it in favor of an autostart .desktop file.
If you have it installed, can you try copying it to ~/.config/autostart to see if by chance it changes anything ?
Thx in advance
There was no /etc/xdg/autostart/gpasted.desktop file. Rerunning sudo make install did not add the file.
Manually installing the fill fixed the problem.
I guess I know where this problem comes from.
Formerly, there was a AM_MAINTAINER_MODE in the Makefile.am
This caused the Makefile not to be always re generated
Re running autogen.sh and configure should fix the issue.
Can you confirm doing this solves it too and close if it does ?
Sorry, this is still a bug.
This is what I did:
sudo make uninstall
sudo rm /etc/xdg/autostart/gpasted.desktop # Manually remove manually installed file
git clean -dfx
git checkout v1.6 # Might as well use release version
sudo make install
ls /etc/xdg/autostart # revivals that gpasted.desktop has not been copied.
Here is a full log of the last 5 commands: http://paste2.org/p/1664541
I wish I could debug it, but I know very little about make.
Sorry about the close and reopens. I keep clicking on "Comment & Close" by mistake, and not "Comment".
Actually, I'm installing the desktop file (as the standard says) to $(sysconfdir)/xdg/autostart
sysconfdif, by default, is $(prefix)/etc and prefix is by default /usr/local.
Most distributions (all of them ?) when packaging, run ./configure --prefix=/usr --sysconfdir=/etc (amongst others)
Can you retry passing this arguments to configure ? everything should be ok then.
(Btw, looking at the logs you pasted, it seems it installs the file at /usr/local/etc/xdg/autostart, which is what is expected when passing no argument to configure. I admit this is not ideal for autostart files not to be installed by default in the correct location, but... standards are standards...)
Ah - yes --sysconfdir=/etc fixes it :-)
I see you have added a readme with install instrunctions. That is great!