You are not logged in.

#1 2004-10-11 19:19:30

neo
Member
Registered: 2004-10-11
Posts: 11

hal in gnome 2.8

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. big_smile

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

#2 2004-10-11 21:00:19

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: hal in gnome 2.8

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,  big_smile

€ locale charmap

shows what default encoding you are using,


arch + gentoo + initng + python = enlisy

Offline

#3 2004-10-11 23:12:05

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: hal in gnome 2.8

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

#4 2004-10-12 09:21:40

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: hal in gnome 2.8

[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

#5 2004-10-12 19:44:59

nifan
Member
Registered: 2003-04-10
Posts: 102

Re: hal in gnome 2.8

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 smile


______
"Ignorance, the root and the stem of every evil." - Plato

Offline

Board footer

Powered by FluxBB