Instalei o Project Hamster da fonte com:
git clone git://git.gnome.org/hamster-applet
cd hamster-applet
./waf configure build --prefix=/usr
sudo ./waf install
A tentativa de executá-lo como eu fornece a seguinte saída:
~$ hamster-time-tracker
Traceback (most recent call last):
File "/usr/bin/hamster-time-tracker", line 591, in <module>
from hamster.configuration import runtime, dialogs, conf, load_ui_file
File "/home/michael-robinson/.local/lib/python2.7/site-packages/hamster/configuration.py", line 79, in
<module>
runtime = RuntimeStore()
File "/home/michael-robinson/.local/lib/python2.7/site-packages/hamster/configuration.py", line 69, in
__init__
self.storage = Storage()
File "/home/michael-robinson/.local/lib/python2.7/site-packages/hamster/client.py", line 69, in __init
__
self.bus = dbus.SessionBus()
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
mainloop=mainloop)
File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbu
s-wLzO4gfRbJ: Connection refused
Funciona bem como root:
~$ sudo hamster-time-tracker
Como posso modificar minha instalação do Hamster para que eu possa executá-lo como um usuário normal?