FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 02-16-2010, 03:40 PM
Thomas Janssen
 
Default Heads up: X server configuration changes

2010/2/16 Chuck Anderson <cra@wpi.edu>:
> On Tue, Feb 16, 2010 at 03:25:24PM +0100, Thomas Janssen wrote:
>> 2010/2/16 Chuck Anderson <cra@wpi.edu>:
>> > On Tue, Feb 16, 2010 at 09:26:54PM +1000, Peter Hutterer wrote:
>> >> On Tue, Feb 16, 2010 at 12:16:42PM +0100, Michal Hlavinka wrote:
>> >> configuration can be in xorg.conf or in /etc/xorg.conf.d/.
>> >
>> > Can it be /etc/X11/xorg.conf.d/ instead please? *It would suck to have
>> > to look in two different places, /etc/X11/xorg.conf vs.
>> > /etc/xorg.conf.d/ instead of having everything under one parent
>> > directory. *Thanks.
>>
>> I hope not. It's pretty fine to have a foo.d folder in /etc and not in
>> /etc/foo/.
>
> Except I didn't recommend /etc/xorg.conf and /etc/xorg.
>
> /etc/X11 is where the X11 config bits live. *All I'm saying, is make
> the new xorg.conf.d live where all the other X11 config lives.
>
> Why would you want to have the new config:
>
> /etc/xorg.conf.d/*
>
> when the existing config files are:
>
> /etc/X11/xorg.conf
> /etc/X11/fontpath.d/*
> /etc/X11/xinit/*
>
> Unless you are going to move everything:
>
> /etc/xorg.conf.d/xorg.conf
> /etc/xorg.conf.d/fontpath.d/*
> /etc/xorg.conf.d/xinit/*

That's how i understand the change. Like do it right and move
everything to /etc/xorg.conf.d/*
Maybe i could have said that in the first place. My bad.

--
LG Thomas

Dubium sapientiae initium
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-16-2010, 07:32 PM
Muayyad AlSadi
 
Default Heads up: X server configuration changes

how about keyboard layout ?
f-s-keyboard (now system-setup-keyboard) used to send
/etc/sysconfig/keyboard
conf through hal to X

please consider the following points:
we need to specify two layouts with functional switching
(in previous releases we in ojuba.org were forced to hack and patch
many packages like gdm to get switching, for example gdm does this:
"system-wide conf should be ignored to let the user have a fancy menu
having all layout", then it fail to activate switching)

we need to specify xim as default input method because it's the only
input method that supports two-letters per key (needed for the two
letters لا in Arabic layout located on key "b")

BTW: how hard does it take to make the default input method support this ?
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-16-2010, 07:38 PM
Muayyad AlSadi
 
Default Heads up: X server configuration changes

the package description need to be changed

https://admin.fedoraproject.org/pkgdb/packages/name/system-setup-keyboard

"Hal keyboard layout callout"
it should be something like
"track system-wide keyboard layout configuration"
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-16-2010, 10:20 PM
Matthias Clasen
 
Default Heads up: X server configuration changes

On Tue, 2010-02-16 at 17:40 +0100, Thomas Janssen wrote:

>
> That's how i understand the change. Like do it right and move
> everything to /etc/xorg.conf.d/*
> Maybe i could have said that in the first place. My bad.

The main reason for continuing to read the monolithic xorg.conf file is
for backwards compatibility. That doesn't square with moving it
someplace else.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-16-2010, 10:38 PM
Kevin Kofler
 
Default Heads up: X server configuration changes

Peter Hutterer wrote:
> evdev and synaptics are updated, so those two are converted. I know fpit
> has an fdi file and there's some exceptions in x11-input.fdi that need to
> be added too. I need to do this tomorrow unless you want to beat me to it
>

It's funny how short-lived the "no default xorg.conf" idea was, now we get
default xorg.conf.d snippets. :-)

Kevin Kofler

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-17-2010, 01:15 AM
Peter Hutterer
 
Default Heads up: X server configuration changes

On Tue, Feb 16, 2010 at 10:32:19PM +0200, Muayyad AlSadi wrote:
> how about keyboard layout ?
> f-s-keyboard (now system-setup-keyboard) used to send
> /etc/sysconfig/keyboard
> conf through hal to X

the package is already updated to create
/etc/xorg.conf.d/00-system-setup-keyboard.conf (instead of merging into
HAL).

> please consider the following points:
> we need to specify two layouts with functional switching
> (in previous releases we in ojuba.org were forced to hack and patch
> many packages like gdm to get switching, for example gdm does this:
> "system-wide conf should be ignored to let the user have a fancy menu
> having all layout", then it fail to activate switching)

I'm not sure I understand exactly what you need here, but AIUI you just need this:

Section "InputClass"
Identifier "custom layout"
MatchIsKeyboard "on"
Option "XkbLayout" "foo,bar"
...
EndSection

save this as /etc/xorg.conf.d/99-custom-layout.conf and that should then
overwrite the config by system-setup-keyboard.

> we need to specify xim as default input method because it's the only
> input method that supports two-letters per key (needed for the two
> letters لا in Arabic layout located on key "b")
>
> BTW: how hard does it take to make the default input method support this ?

I cannot answer this, I've only had high-level interaction with input
methods so far.

Cheers,
Peter
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-17-2010, 01:18 AM
Peter Hutterer
 
Default Heads up: X server configuration changes

On Wed, Feb 17, 2010 at 12:38:37AM +0100, Kevin Kofler wrote:
> Peter Hutterer wrote:
> > evdev and synaptics are updated, so those two are converted. I know fpit
> > has an fdi file and there's some exceptions in x11-input.fdi that need to
> > be added too. I need to do this tomorrow unless you want to beat me to it
> >
>
> It's funny how short-lived the "no default xorg.conf" idea was, now we get
> default xorg.conf.d snippets. :-)

yep. the more things change, the more they stay the same.

note that we (well, Dan, mostly) put some effort into having the new
InputClass section work with this approach and it works distinctively
different to the old InputDevice section. So the snippets aren't quite the
same as the old xorg.conf, it's more hal's fdi files in xorg.conf syntax.

Cheers,
Peter
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-17-2010, 05:13 AM
Petrus de Calguarium
 
Default Heads up: X server configuration changes

Peter Hutterer wrote:

> ...

Thanks for the 'Heads Up'. As I had said so long ago, I couldn't possibly read every
developer's blog to find out what I must do to avoid inevitable doom after updating
my system and not taking the required configuration measures -- that I would only
know about, had I read the blog.

Since most of us have no xorg.conf anymore, we likely don't have to do anything.

Excellent work !! ;-)

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-17-2010, 11:36 AM
Rajeesh K Nambiar
 
Default Heads up: X server configuration changes

On Tue, Feb 16, 2010 at 11:31 AM, Peter Hutterer
<peter.hutterer@who-t.net> wrote:
> options as specified. That's just one example, I've tried to detail the new
> configurations on our wiki.
> https://fedoraproject.org/wiki/Input_device_configuration
> If you think there's anything missing, please let me know or add it
> yourself.
>

Any pointers on how to migrate the 'enable touchpad tap-to-click'
feature from the existing .fdi file(s)?

>
> Cheers,
> *Peter


--
Cheers,
Rajeesh
http://rajeeshknambiar.wordpress.com
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 02-17-2010, 02:11 PM
Adam Jackson
 
Default Heads up: X server configuration changes

On Wed, 2010-02-17 at 00:38 +0100, Kevin Kofler wrote:
> Peter Hutterer wrote:
> > evdev and synaptics are updated, so those two are converted. I know fpit
> > has an fdi file and there's some exceptions in x11-input.fdi that need to
> > be added too. I need to do this tomorrow unless you want to beat me to it
> >
>
> It's funny how short-lived the "no default xorg.conf" idea was, now we get
> default xorg.conf.d snippets. :-)

You can have the defaults in the X server, or you can have them
somewhere else on the filesystem...

- ajax
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 07:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org