You are not logged in.
Pages: 1
Hello, all, I am newbie + new comer from NanChang, China.
Arch linux is a great job, I have use it as my default Linux Desktop for half of a year.
I am a Gnome fans, and I have install Gnome 2.8.
as a new feature in 2.8, the Hal Device Manage can not work for me, here is the output of running it in console:
[neo@rebuild ~]$ hal-device-manager
(process:2793): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(hal-device-manager:2793): Gdk-WARNING **: locale not supported by C library
Traceback (most recent call last):
File "/usr/bin/hal-device-manager", line 15, in ?
DeviceManager()
File "/usr/share/hal/device-manager/DeviceManager.py", line 43, in __init__
self.bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM)
File "/usr/lib/python2.3/site-packages/dbus.py", line 66, in __init__
self._connection = dbus_bindings.bus_get(bus_type)
File "dbus_bindings.pyx", line 1350, in dbus_bindings.bus_get
dbus_bindings.DBusException: Failed to connect to socket /var/lib/dbus/system_bus_socket: No such file or directory
any sugestion to me to solve it?
thanks for advance.
ps. I have generate a en_US.UTF-8 locale..it works, but seems not perfect. Why archlinux's glibc not support UTF-8 locale in default? I hope this can be changed in next version. THE WORLD IS NOT ONLY LATIN WORLD! I must use Chinese.
Offline
hello,
€ locale -a
gives you available locales,
I use "en_IN.utf8" and it seems to work even if X complains about not supporting it,
€ locale charmap
shows what default encoding you are using,
arch + gentoo + initng + python = enlisy
Offline
Have you started dbus like this?
/etc/rc.d/dbus start
"Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
Offline
[nk@Freud ~]$ sudo /etc/rc.d/dbus start
:: Starting D-BUS system messagebus [DONE]
[nk@Freud ~]$ ha
hal-device-manager hal-set-property halt
hal-get-property hald hash
[nk@Freud ~]$ hal-device-manager
Traceback (most recent call last):
File "/usr/bin/hal-device-manager", line 15, in ?
DeviceManager()
File "/usr/share/hal/device-manager/DeviceManager.py", line 54, in __init__
"/org/freedesktop/Hal/Manager")
File "/usr/lib/python2.3/site-packages/dbus.py", line 83, in add_signal_receiver
match_rule = self._get_match_rule(signal_name, interface, service, path)
File "/usr/lib/python2.3/site-packages/dbus.py", line 112, in _get_match_rule
service = bus_object.GetServiceOwner(service)
File "/usr/lib/python2.3/site-packages/dbus.py", line 208, in __call__
reply_message = self._connection.send_with_reply_and_block(message, 5000)
File "dbus_bindings.pyx", line 557, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: Could not get owner of service 'org.freedesktop.Hal': no such service
[nk@Freud ~]$ sudo hal-device-manager
Traceback (most recent call last):
File "/usr/bin/hal-device-manager", line 15, in ?
DeviceManager()
File "/usr/share/hal/device-manager/DeviceManager.py", line 54, in __init__
"/org/freedesktop/Hal/Manager")
File "/usr/lib/python2.3/site-packages/dbus.py", line 83, in add_signal_receiver
match_rule = self._get_match_rule(signal_name, interface, service, path)
File "/usr/lib/python2.3/site-packages/dbus.py", line 112, in _get_match_rule
service = bus_object.GetServiceOwner(service)
File "/usr/lib/python2.3/site-packages/dbus.py", line 208, in __call__
reply_message = self._connection.send_with_reply_and_block(message, 5000)
File "dbus_bindings.pyx", line 557, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: Could not get owner of service 'org.freedesktop.Hal': no such service
[nk@Freud ~]$ locale charmap
ISO-8859-7
Offline
you sould add both dbus and hald to youre rc.conf , if you want only to try it out just:
/etc/rc.d/dbus start
/etc/rc.d/hald start
and do whatever you want to do
______
"Ignorance, the root and the stem of every evil." - Plato
Offline
Pages: 1