* [gentoo-user] kdm & french keyboard
@ 2010-07-07 14:56 alain.didierjean
2010-07-07 15:03 ` Neil Bothwick
0 siblings, 1 reply; 23+ messages in thread
From: alain.didierjean @ 2010-07-07 14:56 UTC (permalink / raw
To: gentoo-user
I log in thru kdm. As I'm french, I have an azerty keyboard. By default, kdm use
a qwerty keymap. That's a problem when it comes to entering passwords. How do I
get kdm launched with an azerty keymap ? (nothing relevant found in kdmrc).
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 14:56 [gentoo-user] kdm & french keyboard alain.didierjean
@ 2010-07-07 15:03 ` Neil Bothwick
2010-07-07 15:23 ` alain.didierjean
0 siblings, 1 reply; 23+ messages in thread
From: Neil Bothwick @ 2010-07-07 15:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
On Wed, 07 Jul 2010 16:56:17 +0200, alain.didierjean@free.fr wrote:
> I log in thru kdm. As I'm french, I have an azerty keyboard. By
> default, kdm use a qwerty keymap. That's a problem when it comes to
> entering passwords. How do I get kdm launched with an azerty keymap ?
> (nothing relevant found in kdmrc).
Set in in xorg.conf. there's a thread on the forums that deals with this
using HAL fdi files, but those are not deprecated for Xorg.
http://forums.gentoo.org/viewtopic-t-808934-start-0.html
--
Neil Bothwick
WinErr 010: Reserved for future mistakes by our developers
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 15:03 ` Neil Bothwick
@ 2010-07-07 15:23 ` alain.didierjean
2010-07-07 15:58 ` Neil Bothwick
0 siblings, 1 reply; 23+ messages in thread
From: alain.didierjean @ 2010-07-07 15:23 UTC (permalink / raw
To: gentoo-user
Selon Neil Bothwick <neil@digimed.co.uk>:
> On Wed, 07 Jul 2010 16:56:17 +0200, alain.didierjean@free.fr wrote:
>
> > I log in thru kdm. As I'm french, I have an azerty keyboard. By
> > default, kdm use a qwerty keymap. That's a problem when it comes to
> > entering passwords. How do I get kdm launched with an azerty keymap ?
> > (nothing relevant found in kdmrc).
>
> Set in in xorg.conf. there's a thread on the forums that deals with this
> using HAL fdi files, but those are not deprecated for Xorg.
>
> http://forums.gentoo.org/viewtopic-t-808934-start-0.html
Fast & reliable as ever. Thanks. Followed the link and fixed 10-x11-input.fdi as
iI don't have a xorg.conf anymore.A matter of seconds... Thanks,
--
~adj~
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 15:23 ` alain.didierjean
@ 2010-07-07 15:58 ` Neil Bothwick
2010-07-07 17:19 ` Stéphane Guedon
2010-07-08 6:50 ` alain.didierjean
0 siblings, 2 replies; 23+ messages in thread
From: Neil Bothwick @ 2010-07-07 15:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 895 bytes --]
On Wed, 07 Jul 2010 17:23:13 +0200, alain.didierjean@free.fr wrote:
> > Set in in xorg.conf. there's a thread on the forums that deals with
> > this using HAL fdi files, but those are not deprecated for Xorg.
Whoops, don't know how that "not" crept in, HAL is deprecated for Xorg.
> > http://forums.gentoo.org/viewtopic-t-808934-start-0.html
>
> Fast & reliable as ever. Thanks. Followed the link and fixed
> 10-x11-input.fdi as iI don't have a xorg.conf anymore.A matter of
> seconds... Thanks,
Until your version of Xorg stops supporting HAL, when you will need an
xorg.conf.
--
Neil Bothwick
I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 15:58 ` Neil Bothwick
@ 2010-07-07 17:19 ` Stéphane Guedon
2010-07-07 23:13 ` Neil Bothwick
2010-07-08 6:50 ` alain.didierjean
1 sibling, 1 reply; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-07 17:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 937 bytes --]
Le mercredi 07 juillet 2010 17:58:15, Neil Bothwick a écrit :
> On Wed, 07 Jul 2010 17:23:13 +0200, alain.didierjean@free.fr wrote:
> > > Set in in xorg.conf. there's a thread on the forums that deals with
> > > this using HAL fdi files, but those are not deprecated for Xorg.
>
> Whoops, don't know how that "not" crept in, HAL is deprecated for Xorg.
>
> > > http://forums.gentoo.org/viewtopic-t-808934-start-0.html
> >
> > Fast & reliable as ever. Thanks. Followed the link and fixed
> > 10-x11-input.fdi as iI don't have a xorg.conf anymore.A matter of
> > seconds... Thanks,
>
> Until your version of Xorg stops supporting HAL, when you will need an
> xorg.conf.
You can also pass through udev !
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 17:19 ` Stéphane Guedon
@ 2010-07-07 23:13 ` Neil Bothwick
2010-07-11 17:19 ` Stéphane Guedon
0 siblings, 1 reply; 23+ messages in thread
From: Neil Bothwick @ 2010-07-07 23:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
On Wed, 7 Jul 2010 19:19:14 +0200, Stéphane Guedon wrote:
> > Until your version of Xorg stops supporting HAL, when you will need an
> > xorg.conf.
>
> You can also pass through udev !
How? I know how to use udev for device recognition, but how do you tell
it to use a particular keyboard layout?
--
Neil Bothwick
Pedestrians come in two types: Quick or Dead.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 15:58 ` Neil Bothwick
2010-07-07 17:19 ` Stéphane Guedon
@ 2010-07-08 6:50 ` alain.didierjean
2010-07-11 8:06 ` Ronan Mainbourg
1 sibling, 1 reply; 23+ messages in thread
From: alain.didierjean @ 2010-07-08 6:50 UTC (permalink / raw
To: gentoo-user
Selon Neil Bothwick <neil@digimed.co.uk>:
> On Wed, 07 Jul 2010 17:23:13 +0200, alain.didierjean@free.fr wrote:
>
> > > Set in in xorg.conf. there's a thread on the forums that deals with
> > > this using HAL fdi files, but those are not deprecated for Xorg.
>
> Whoops, don't know how that "not" crept in, HAL is deprecated for Xorg.
>
> > > http://forums.gentoo.org/viewtopic-t-808934-start-0.html
> >
> > Fast & reliable as ever. Thanks. Followed the link and fixed
> > 10-x11-input.fdi as iI don't have a xorg.conf anymore.A matter of
> > seconds... Thanks,
>
> Until your version of Xorg stops supporting HAL, when you will need an
> xorg.conf.
>
That will be greeted! Anyway I keep a copy of my old xorg.conf, easier to
configure and tweek that the HAL mess.
--
~adj~
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-08 6:50 ` alain.didierjean
@ 2010-07-11 8:06 ` Ronan Mainbourg
0 siblings, 0 replies; 23+ messages in thread
From: Ronan Mainbourg @ 2010-07-11 8:06 UTC (permalink / raw
To: gentoo-user
If you use a recent version of xorg-server (>= 1.8) you can enable the
"udev" use flag, and disable the flag "hal".
Hal usage with xorg is clearly deprecated now, and its complete
removal from xorg-server is scheduled soon, as it will be eventually
replaced by the new abstraction layer from freedesktop.org "DeviceKit"
Before it occurs, Xorg-server works well using udev instead of hal to
deal with hardware recognition.
I've got a similar config (azerty keyboard, no xorg.conf) and just
created the file '/etc/X11/xorg.conf.d/11-keymap.conf' where I put the
following lines:
Section "InputClass"
Identifier "Keyboard"
Driver "evdev"
Option "xkbLayout" "fr"
MatchIsKeyboard "on"
EndSection
--
Ronan Mainbourg
Antananarivo, Madagascar
2010/7/8, alain.didierjean@free.fr <alain.didierjean@free.fr>:
> Selon Neil Bothwick <neil@digimed.co.uk>:
>
>> On Wed, 07 Jul 2010 17:23:13 +0200, alain.didierjean@free.fr wrote:
>>
>> > > Set in in xorg.conf. there's a thread on the forums that deals with
>> > > this using HAL fdi files, but those are not deprecated for Xorg.
>>
>> Whoops, don't know how that "not" crept in, HAL is deprecated for Xorg.
>>
>> > > http://forums.gentoo.org/viewtopic-t-808934-start-0.html
>> >
>> > Fast & reliable as ever. Thanks. Followed the link and fixed
>> > 10-x11-input.fdi as iI don't have a xorg.conf anymore.A matter of
>> > seconds... Thanks,
>>
>> Until your version of Xorg stops supporting HAL, when you will need an
>> xorg.conf.
>>
>
> That will be greeted! Anyway I keep a copy of my old xorg.conf, easier to
> configure and tweek that the HAL mess.
>
> --
> ~adj~
>
>
>
--
Ronan Mainbourg
Tél: +261(0)32.78.009.95
ronan.mainbourg@gmail.com
Skype: ronan.mainbourg
Lot IIIH-99C
Ambatolampy - Ambohibao
101 Antananarivo
Madagascar
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-07 23:13 ` Neil Bothwick
@ 2010-07-11 17:19 ` Stéphane Guedon
2010-07-12 8:31 ` Neil Bothwick
0 siblings, 1 reply; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-11 17:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 989 bytes --]
Le jeudi 08 juillet 2010 01:13:56, Neil Bothwick a écrit :
> On Wed, 7 Jul 2010 19:19:14 +0200, Stéphane Guedon wrote:
> > > Until your version of Xorg stops supporting HAL, when you will need an
> > > xorg.conf.
> >
> > You can also pass through udev !
>
> How? I know how to use udev for device recognition, but how do you tell
> it to use a particular keyboard layout?
19:18:09 stephane@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules
SUBSYSTEM!="input", GOTO="x11_input_end"
ACTION!="add", GOTO="x11_input_end"
KERNEL=="event*", ENV{x11_driver}="evdev"
KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1
ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="fr"
LABEL="x11_input_end"
=======
You have to tell udev your a "fr" with the x11-input rule
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-11 17:19 ` Stéphane Guedon
@ 2010-07-12 8:31 ` Neil Bothwick
2010-07-14 7:58 ` Stéphane Guedon
0 siblings, 1 reply; 23+ messages in thread
From: Neil Bothwick @ 2010-07-12 8:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
On Sun, 11 Jul 2010 19:19:25 +0200, Stéphane Guedon wrote:
> > How? I know how to use udev for device recognition, but how do you
> > tell it to use a particular keyboard layout?
>
> 19:18:09 stephane@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules
> SUBSYSTEM!="input", GOTO="x11_input_end"
> ACTION!="add", GOTO="x11_input_end"
>
> KERNEL=="event*", ENV{x11_driver}="evdev"
> KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1
>
> ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="fr"
>
> LABEL="x11_input_end"
> =======
Interesting, but it seems more complex that a simple stanza
in /etc/X11/xorg.conf.d. Using udev rules for something that will only be
used by one application adds unnecessary complication, IMO. If only X
will use the information, I'd prefer to put in in the X configuration
directory.
--
Neil Bothwick
The world is a tragedy to those who feel, but a comedy to those who
think.(Horace Walpole)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-12 8:31 ` Neil Bothwick
@ 2010-07-14 7:58 ` Stéphane Guedon
2010-07-14 14:44 ` Alan McKinnon
0 siblings, 1 reply; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-14 7:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1317 bytes --]
Le lundi 12 juillet 2010 10:31:34, Neil Bothwick a écrit :
> On Sun, 11 Jul 2010 19:19:25 +0200, Stéphane Guedon wrote:
> > > How? I know how to use udev for device recognition, but how do you
> > > tell it to use a particular keyboard layout?
> >
> > 19:18:09 stephane@luciole:/etc/udev/rules.d $ cat 61-x11-input.rules
> > SUBSYSTEM!="input", GOTO="x11_input_end"
> > ACTION!="add", GOTO="x11_input_end"
> >
> > KERNEL=="event*", ENV{x11_driver}="evdev"
> > KERNEL=="event*", ENV{ID_INPUT_KEYBOARD}=="1
> >
> > ENV{ID_INPUT_KEY}=="?*", ENV{xkblayout}="fr"
> >
> > LABEL="x11_input_end"
> > =======
>
> Interesting, but it seems more complex that a simple stanza
> in /etc/X11/xorg.conf.d. Using udev rules for something that will only be
> used by one application adds unnecessary complication, IMO. If only X
> will use the information, I'd prefer to put in in the X configuration
> directory.
I agree with you, but I like to make things in order with the rules (without
relation to udev).
But I don't like udev, its syntax is really hard to understand for user !
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 7:58 ` Stéphane Guedon
@ 2010-07-14 14:44 ` Alan McKinnon
2010-07-14 20:12 ` Dale
2010-07-17 20:16 ` Stéphane Guedon
0 siblings, 2 replies; 23+ messages in thread
From: Alan McKinnon @ 2010-07-14 14:44 UTC (permalink / raw
To: gentoo-user
On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
> I agree with you, but I like to make things in order with the rules
> (without relation to udev).
>
> But I don't like udev, its syntax is really hard to understand for user !
Dale, here's your chance to jump in and comment.
This user *obviously* never had to deal with hal.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 14:44 ` Alan McKinnon
@ 2010-07-14 20:12 ` Dale
2010-07-14 20:29 ` Alan McKinnon
2010-07-17 20:16 ` Stéphane Guedon
1 sibling, 1 reply; 23+ messages in thread
From: Dale @ 2010-07-14 20:12 UTC (permalink / raw
To: gentoo-user
Alan McKinnon wrote:
> On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
>
>> I agree with you, but I like to make things in order with the rules
>> (without relation to udev).
>>
>> But I don't like udev, its syntax is really hard to understand for user !
>>
>
> Dale, here's your chance to jump in and comment.
>
> This user *obviously* never had to deal with hal.
>
>
>
Oh crap. You mean udev uses xml config files too? Well, at least udev
hasn't broke my keyboard and mouse. lol I don't have to much trouble
with udev. Heck, the one time I did, I deleted all the config files and
re-emerged the thing. Worked great then. I think one got messed up
somehow.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 20:12 ` Dale
@ 2010-07-14 20:29 ` Alan McKinnon
2010-07-14 20:46 ` Dale
` (2 more replies)
0 siblings, 3 replies; 23+ messages in thread
From: Alan McKinnon @ 2010-07-14 20:29 UTC (permalink / raw
To: gentoo-user
On Wednesday 14 July 2010 22:12:32 Dale wrote:
> Alan McKinnon wrote:
> > On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
> >> I agree with you, but I like to make things in order with the rules
> >> (without relation to udev).
> >>
> >> But I don't like udev, its syntax is really hard to understand for user
> >> !
> >
> > Dale, here's your chance to jump in and comment.
> >
> > This user *obviously* never had to deal with hal.
>
> Oh crap. You mean udev uses xml config files too? Well, at least udev
> hasn't broke my keyboard and mouse. lol I don't have to much trouble
> with udev. Heck, the one time I did, I deleted all the config files and
> re-emerged the thing. Worked great then. I think one got messed up
> somehow.
>
> Dale
>
> :-) :-)
No, not XML. It uses something MUCH better. It uses this:
$ cat rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib64/udev/write_cd_rules
# program, probably run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.
# DVD+-RW_AD-7640A (pci-0000:00:1f.1-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
SYMLINK+="cdrw", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
SYMLINK+="dvd", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
SYMLINK+="dvdrw", ENV{GENERATED}="1"
# Mass_Storage (pci-0000:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_SERIAL}=="HUAWEI_Mass_Storage-0:0", SYMLINK+="cdrom1",
ENV{GENERATED}="1"
See how fantastic this is? See how this conforms to The One True (Unix) Way?
See how it looks nothing like XML (invented by a Windows user, obviously), and
actually looks a lot like perl with regexes?
On second thoughts, it looks nothing like perl. There aren't enough $, @ and %
symbols in it. But the regex bit stands.
:-)
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 20:29 ` Alan McKinnon
@ 2010-07-14 20:46 ` Dale
2010-07-17 20:17 ` Stéphane Guedon
2010-07-17 20:18 ` Stéphane Guedon
2 siblings, 0 replies; 23+ messages in thread
From: Dale @ 2010-07-14 20:46 UTC (permalink / raw
To: gentoo-user
Alan McKinnon wrote:
> On Wednesday 14 July 2010 22:12:32 Dale wrote:
>
>> Alan McKinnon wrote:
>>
>>> On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
>>>
>>>> I agree with you, but I like to make things in order with the rules
>>>> (without relation to udev).
>>>>
>>>> But I don't like udev, its syntax is really hard to understand for user
>>>> !
>>>>
>>> Dale, here's your chance to jump in and comment.
>>>
>>> This user *obviously* never had to deal with hal.
>>>
>> Oh crap. You mean udev uses xml config files too? Well, at least udev
>> hasn't broke my keyboard and mouse. lol I don't have to much trouble
>> with udev. Heck, the one time I did, I deleted all the config files and
>> re-emerged the thing. Worked great then. I think one got messed up
>> somehow.
>>
>> Dale
>>
>> :-) :-)
>>
> No, not XML. It uses something MUCH better. It uses this:
>
> $ cat rules.d/70-persistent-cd.rules
> # This file was automatically generated by the /lib64/udev/write_cd_rules
> # program, probably run by the cd-aliases-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line
> # and set the $GENERATED variable.
>
> # DVD+-RW_AD-7640A (pci-0000:00:1f.1-scsi-0:0:0:0)
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="cdrom", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="cdrw", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="dvd", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="dvdrw", ENV{GENERATED}="1"
> # Mass_Storage (pci-0000:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0)
> SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_SERIAL}=="HUAWEI_Mass_Storage-0:0", SYMLINK+="cdrom1",
> ENV{GENERATED}="1"
>
>
>
> See how fantastic this is? See how this conforms to The One True (Unix) Way?
>
> See how it looks nothing like XML (invented by a Windows user, obviously), and
> actually looks a lot like perl with regexes?
>
> On second thoughts, it looks nothing like perl. There aren't enough $, @ and %
> symbols in it. But the regex bit stands.
>
> :-)
>
>
I'm glad deleting the config files and re-emerging worked for me then.
It would certainly not work if I had to edit all that mess. Reminds me
of chickens. You know, chicken scratch. lol
Dale
:-) :-)
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 14:44 ` Alan McKinnon
2010-07-14 20:12 ` Dale
@ 2010-07-17 20:16 ` Stéphane Guedon
1 sibling, 0 replies; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-17 20:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 712 bytes --]
Le Wednesday 14 July 2010 16:44:45, Alan McKinnon a écrit :
> On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
> > I agree with you, but I like to make things in order with the rules
> > (without relation to udev).
> >
> > But I don't like udev, its syntax is really hard to understand for user !
>
> Dale, here's your chance to jump in and comment.
>
> This user *obviously* never had to deal with hal.
I use hal to make my usb key allways mount on the same mountpoint.
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 20:29 ` Alan McKinnon
2010-07-14 20:46 ` Dale
@ 2010-07-17 20:17 ` Stéphane Guedon
2010-07-17 22:38 ` Alan McKinnon
2010-07-17 20:18 ` Stéphane Guedon
2 siblings, 1 reply; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-17 20:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2589 bytes --]
Le Wednesday 14 July 2010 22:29:43, Alan McKinnon a écrit :
> On Wednesday 14 July 2010 22:12:32 Dale wrote:
> > Alan McKinnon wrote:
> > > On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
> > >> I agree with you, but I like to make things in order with the rules
> > >> (without relation to udev).
> > >>
> > >> But I don't like udev, its syntax is really hard to understand for
> > >> user !
> > >
> > > Dale, here's your chance to jump in and comment.
> > >
> > > This user *obviously* never had to deal with hal.
> >
> > Oh crap. You mean udev uses xml config files too? Well, at least udev
> > hasn't broke my keyboard and mouse. lol I don't have to much trouble
> > with udev. Heck, the one time I did, I deleted all the config files and
> > re-emerged the thing. Worked great then. I think one got messed up
> > somehow.
> >
> > Dale
> >
> > :-) :-)
>
> No, not XML. It uses something MUCH better. It uses this:
>
> $ cat rules.d/70-persistent-cd.rules
> # This file was automatically generated by the /lib64/udev/write_cd_rules
> # program, probably run by the cd-aliases-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line
> # and set the $GENERATED variable.
>
> # DVD+-RW_AD-7640A (pci-0000:00:1f.1-scsi-0:0:0:0)
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="cdrom", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="cdrw", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="dvd", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="dvdrw", ENV{GENERATED}="1"
> # Mass_Storage (pci-0000:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0)
> SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_SERIAL}=="HUAWEI_Mass_Storage-0:0", SYMLINK+="cdrom1",
> ENV{GENERATED}="1"
>
>
>
> See how fantastic this is? See how this conforms to The One True (Unix)
> Way?
>
> See how it looks nothing like XML (invented by a Windows user, obviously),
> and actually looks a lot like perl with regexes?
>
> On second thoughts, it looks nothing like perl. There aren't enough $, @
> and % symbols in it. But the regex bit stands.
>
> :-)
Thind this un-understandable !
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-14 20:29 ` Alan McKinnon
2010-07-14 20:46 ` Dale
2010-07-17 20:17 ` Stéphane Guedon
@ 2010-07-17 20:18 ` Stéphane Guedon
2 siblings, 0 replies; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-17 20:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2598 bytes --]
Le Wednesday 14 July 2010 22:29:43, Alan McKinnon a écrit :
> On Wednesday 14 July 2010 22:12:32 Dale wrote:
> > Alan McKinnon wrote:
> > > On Wednesday 14 July 2010 09:58:02 Stéphane Guedon wrote:
> > >> I agree with you, but I like to make things in order with the rules
> > >> (without relation to udev).
> > >>
> > >> But I don't like udev, its syntax is really hard to understand for
> > >> user !
> > >
> > > Dale, here's your chance to jump in and comment.
> > >
> > > This user *obviously* never had to deal with hal.
> >
> > Oh crap. You mean udev uses xml config files too? Well, at least udev
> > hasn't broke my keyboard and mouse. lol I don't have to much trouble
> > with udev. Heck, the one time I did, I deleted all the config files and
> > re-emerged the thing. Worked great then. I think one got messed up
> > somehow.
> >
> > Dale
> >
> > :-) :-)
>
> No, not XML. It uses something MUCH better. It uses this:
>
> $ cat rules.d/70-persistent-cd.rules
> # This file was automatically generated by the /lib64/udev/write_cd_rules
> # program, probably run by the cd-aliases-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line
> # and set the $GENERATED variable.
>
> # DVD+-RW_AD-7640A (pci-0000:00:1f.1-scsi-0:0:0:0)
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="cdrom", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="cdrw", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="dvd", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0",
> SYMLINK+="dvdrw", ENV{GENERATED}="1"
> # Mass_Storage (pci-0000:00:1d.0-usb-0:2:1.2-scsi-0:0:0:0)
> SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
> ENV{ID_SERIAL}=="HUAWEI_Mass_Storage-0:0", SYMLINK+="cdrom1",
> ENV{GENERATED}="1"
>
>
>
> See how fantastic this is? See how this conforms to The One True (Unix)
> Way?
>
> See how it looks nothing like XML (invented by a Windows user, obviously),
> and actually looks a lot like perl with regexes?
>
> On second thoughts, it looks nothing like perl. There aren't enough $, @
> and % symbols in it. But the regex bit stands.
>
> :-)
I thind this impossible to understand !
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-17 20:17 ` Stéphane Guedon
@ 2010-07-17 22:38 ` Alan McKinnon
2010-07-17 23:08 ` Dale
0 siblings, 1 reply; 23+ messages in thread
From: Alan McKinnon @ 2010-07-17 22:38 UTC (permalink / raw
To: gentoo-user
On Saturday 17 July 2010 22:17:32 Stéphane Guedon wrote:
> > See how fantastic this is? See how this conforms to The One True (Unix)
> > Way?
> >
> >
> >
> > See how it looks nothing like XML (invented by a Windows user,
> > obviously), and actually looks a lot like perl with regexes?
> >
> >
> >
> > On second thoughts, it looks nothing like perl. There aren't enough $, @
> > and % symbols in it. But the regex bit stands.
> >
> >
> >
> > :-)
>
> Thind this un-understandable !
It's a joke, and it's been going on for a *very* long time :-)
Every time someone mentions hal, and it doesn't matter what it's about, either
me or Neil will usually post and and tell Dale now is his chance to tell us
about hal. We've done this about 100 times by now so nothing Dale says
is new :-) And everyone else usually joins in the fun.
Sometimes, just for fun, we'll turn the hal joke into something against perl,
or python or anything else really.
If you don't get the joke, you can ignore everything that happened after the
first person mentioned "Dale"
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-17 22:38 ` Alan McKinnon
@ 2010-07-17 23:08 ` Dale
2010-07-18 6:59 ` Stéphane Guedon
2010-07-18 22:34 ` Neil Bothwick
0 siblings, 2 replies; 23+ messages in thread
From: Dale @ 2010-07-17 23:08 UTC (permalink / raw
To: gentoo-user
Alan McKinnon wrote:
> On Saturday 17 July 2010 22:17:32 Stéphane Guedon wrote:
>
>>> See how fantastic this is? See how this conforms to The One True (Unix)
>>> Way?
>>>
>>>
>>>
>>> See how it looks nothing like XML (invented by a Windows user,
>>> obviously), and actually looks a lot like perl with regexes?
>>>
>>>
>>>
>>> On second thoughts, it looks nothing like perl. There aren't enough $, @
>>> and % symbols in it. But the regex bit stands.
>>>
>>>
>>>
>>> :-)
>>>
>> Thind this un-understandable !
>>
> It's a joke, and it's been going on for a *very* long time :-)
>
> Every time someone mentions hal, and it doesn't matter what it's about, either
> me or Neil will usually post and and tell Dale now is his chance to tell us
> about hal. We've done this about 100 times by now so nothing Dale says
> is new :-) And everyone else usually joins in the fun.
>
> Sometimes, just for fun, we'll turn the hal joke into something against perl,
> or python or anything else really.
>
> If you don't get the joke, you can ignore everything that happened after the
> first person mentioned "Dale"
>
>
Yea, everybody likes to pick on me. LOL
People seem to forget tho that I have told people to try to use hal,
even with xorg. Sometimes it just works. When it doesn't, remove the
hal USE flag for xorg and life goes on.
I also think sometimes the joke is on everyone else. Even the guy that
wrote hal has given up on that monster. That says a LOT to me.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-17 23:08 ` Dale
@ 2010-07-18 6:59 ` Stéphane Guedon
2010-07-18 22:34 ` Neil Bothwick
1 sibling, 0 replies; 23+ messages in thread
From: Stéphane Guedon @ 2010-07-18 6:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2004 bytes --]
Le Sunday 18 July 2010 01:08:30, Dale a écrit :
> Alan McKinnon wrote:
> > On Saturday 17 July 2010 22:17:32 Stéphane Guedon wrote:
> >>> See how fantastic this is? See how this conforms to The One True (Unix)
> >>> Way?
> >>>
> >>>
> >>>
> >>> See how it looks nothing like XML (invented by a Windows user,
> >>> obviously), and actually looks a lot like perl with regexes?
> >>>
> >>>
> >>>
> >>> On second thoughts, it looks nothing like perl. There aren't enough $,
> >>> @ and % symbols in it. But the regex bit stands.
> >>>
> >>> :-)
> >>
> >> Thind this un-understandable !
> >
> > It's a joke, and it's been going on for a *very* long time :-)
> >
> > Every time someone mentions hal, and it doesn't matter what it's about,
> > either me or Neil will usually post and and tell Dale now is his chance
> > to tell us about hal. We've done this about 100 times by now so nothing
> > Dale says is new :-) And everyone else usually joins in the fun.
> >
> > Sometimes, just for fun, we'll turn the hal joke into something against
> > perl, or python or anything else really.
> >
> > If you don't get the joke, you can ignore everything that happened after
> > the first person mentioned "Dale"
>
> Yea, everybody likes to pick on me. LOL
>
> People seem to forget tho that I have told people to try to use hal,
> even with xorg. Sometimes it just works. When it doesn't, remove the
> hal USE flag for xorg and life goes on.
>
> I also think sometimes the joke is on everyone else. Even the guy that
> wrote hal has given up on that monster. That says a LOT to me.
>
> Dale
>
> :-) :-)
Thank you, it's cool... I have sent three email not because I am angry, but it
seemed not to work !
You're cool guys, and fun !
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-17 23:08 ` Dale
2010-07-18 6:59 ` Stéphane Guedon
@ 2010-07-18 22:34 ` Neil Bothwick
2010-07-18 23:14 ` Dale
1 sibling, 1 reply; 23+ messages in thread
From: Neil Bothwick @ 2010-07-18 22:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
On Sat, 17 Jul 2010 18:08:30 -0500, Dale wrote:
> People seem to forget tho that I have told people to try to use hal,
Yes, but only people you dislike :P
--
Neil Bothwick
If at first you don't succeed, skydiving is not for you.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] kdm & french keyboard
2010-07-18 22:34 ` Neil Bothwick
@ 2010-07-18 23:14 ` Dale
0 siblings, 0 replies; 23+ messages in thread
From: Dale @ 2010-07-18 23:14 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Sat, 17 Jul 2010 18:08:30 -0500, Dale wrote:
>
>
>> People seem to forget tho that I have told people to try to use hal,
>>
> Yes, but only people you dislike :P
>
>
I don't dislike anybody tho. Hal does work for quite a few people. It
just doesn't work for some and can produce some horrible results when it
doesn't work. For those that can't get it to work, like me, disable it
and move on. Since it is dying anyway, no need putting in a lot of
effort just to switch again later on.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2010-07-19 0:03 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 14:56 [gentoo-user] kdm & french keyboard alain.didierjean
2010-07-07 15:03 ` Neil Bothwick
2010-07-07 15:23 ` alain.didierjean
2010-07-07 15:58 ` Neil Bothwick
2010-07-07 17:19 ` Stéphane Guedon
2010-07-07 23:13 ` Neil Bothwick
2010-07-11 17:19 ` Stéphane Guedon
2010-07-12 8:31 ` Neil Bothwick
2010-07-14 7:58 ` Stéphane Guedon
2010-07-14 14:44 ` Alan McKinnon
2010-07-14 20:12 ` Dale
2010-07-14 20:29 ` Alan McKinnon
2010-07-14 20:46 ` Dale
2010-07-17 20:17 ` Stéphane Guedon
2010-07-17 22:38 ` Alan McKinnon
2010-07-17 23:08 ` Dale
2010-07-18 6:59 ` Stéphane Guedon
2010-07-18 22:34 ` Neil Bothwick
2010-07-18 23:14 ` Dale
2010-07-17 20:18 ` Stéphane Guedon
2010-07-17 20:16 ` Stéphane Guedon
2010-07-08 6:50 ` alain.didierjean
2010-07-11 8:06 ` Ronan Mainbourg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox