[XFree86] Re: X->console switch

2004-02-02 Thread Hanspeter Roth
  On Jan 27 at 13:32, John spoke:

> Hello all,
> i configure my xserver version 4.3.0 in openbsd 3.4 i386 to have support
> with bulgarian keyboard. I added in XF86Config file:
> Section "InputDevice"
> Identifier  "Keyboard1"
> Driver  "Keyboard"
> Option "AutoRepeat" "500 30"
> Option "XkbRules"   "xfree86"
> Option "XkbModel"   "compaqeak8"
> Option "XkbLayout"  "us,bg"
> Option "XkbVariant" "basic,phonetic"
> Option "XkbOptions" "grp:menu_toggle"
>  Option "XkbCompat"  "group_led"
> EndSection
> 
> and now is work fine, but i unable to change console from
> X to console mode with CTRL+ALT+F1, F2 ... F4

Hello John,

I've been playing a little with these options. To me it seems that
it depends on the XkbCompat option. If it is commented out switching
of console works.

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: X->console switch

2004-01-27 Thread Hanspeter Roth
  On Jan 27 at 13:32, John spoke:

> Hello all,
> i configure my xserver version 4.3.0 in openbsd 3.4 i386 to have support
> with bulgarian keyboard. I added in XF86Config file:
> Section "InputDevice"
> Identifier  "Keyboard1"
> Driver  "Keyboard"
> Option "AutoRepeat" "500 30"
> Option "XkbRules"   "xfree86"
> Option "XkbModel"   "compaqeak8"
> Option "XkbLayout"  "us,bg"
> Option "XkbVariant" "basic,phonetic"
> Option "XkbOptions" "grp:menu_toggle"
>  Option "XkbCompat"  "group_led"
> EndSection
> 
> and now is work fine, but i unable to change console from
> X to console mode with CTRL+ALT+F1, F2 ... F4

Hello Condor,

I have Openbsd 3.3 with XFree86 4.2.1 and none of the XkbXX options
and console switching works for me.
Have you tried disabling all or some of the XkbXX options?

> In linux this work fine, but in linux switch mode is with CTRL+F1..
> and in openbsd is with CTRL+ALT+F1 ...

Does the XF86Config file in Linux have the same XkbXX options as in
the Openbsd one?

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: question on xinit

2004-01-27 Thread Hanspeter Roth
  On Jan 27 at 12:41, Marek Jerczynski spoke:

> Dear Colleagues,
> 
>   I would like to ask you for help. Here is my problem:
> My crontab launches twice a day a script which starts several times second X 
> server and vis5d ( which uses this second X server ) to produce a set of maps.  
> It is very annoying when I work on 1st graphic screen during work of the script
> because on monitor I can see by turns 1st screen and 2nd screen. I prefer
> to see only 1st screen because I am working on it interactively. Is it possible
> to achieve it in any way?

Hello Marek,

do you need this cronjob or can you disable it?
Does it allocate a new display?
What happens if you already start a second X session on display :1 ?

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] xdm with different X configs

2004-01-26 Thread Hanspeter Roth
Hello,

in /usr/X11R6/lib/X11/xdm/Xservers there may be entered servers for
different displays. 
Can the X servers for each display have a different X configuration
with different screen resolution and different keyboard layout?

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: sending ctl-alt-del to the window manager

2003-08-30 Thread Hanspeter Roth
  On Aug 30 at 22:20, Måns Rullgård spoke:

> Hanspeter Roth <[EMAIL PROTECTED]> writes:
> 
> >> xtrapin can do it.  From a script you could do it like this:
> >> 
> >> xtrapin < >> Event: KeyPress(2):det=109 scr=0 (0,0) root=32768 Msk=0 TS=5621
> >> Event: KeyPress(2):det=117 scr=0 (0,0) root=32768 Msk=0 TS=209
> >> Event: KeyPress(2):det=107 scr=0 (0,0) root=32768 Msk=0 TS=260
> >> Event: KeyRelease  (3):det=107 scr=0 (0,0) root=32768 Msk=0 TS=143
> >> Event: KeyRelease  (3):det=117 scr=0 (0,0) root=32768 Msk=0 TS=2892
> >> Event: KeyRelease  (3):det=109 scr=0 (0,0) root=32768 Msk=0 TS=244
> >> EOF
> >> 
> >> This was cut from the output of "xtrapout -e" while I pressed the keys
> >> in question.
> >> 
> >> You could also store those lines in file and use "xtrapin -f file".
> >> Read man xtrap for more information.
> >
> >
> > Thank you very much!
> > On my keyboard the key events look a little different. But it works.
> 
> The only value that matters is the det=*, and the event name, of
> course.  The TS=* is totally arbitrary.

Yes, but I also have different values for det=* and also for root=*
and the ones in perentheses:

Event: KeyPress(2):det=64 scr=0 (32207,113) root=47 Msk=63028 TS=0
Event: KeyPress(2):det=37 scr=0 (32207,113) root=47 Msk=63028 TS=2
Event: KeyPress(2):det=107 scr=0 (-31265,113) root=47 Msk=63028 TS=195
Event: KeyRelease  (3):det=107 scr=0 (-31138,113) root=47 Msk=63028 TS=69
Event: KeyRelease  (3):det=64 scr=0 (-31259,113) root=47 Msk=63028 TS=213
Event: KeyRelease  (3):det=37 scr=0 (-31259,113) root=47 Msk=63028 TS=3


-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: Re: sending ctl-alt-del to the window manager

2003-08-30 Thread Hanspeter Roth
  On Aug 29 at 10:21, Måns Rullgård spoke:

> xtrapin can do it.  From a script you could do it like this:
> 
> xtrapin < Event: KeyPress(2):det=109 scr=0 (0,0) root=32768 Msk=0 TS=5621
> Event: KeyPress(2):det=117 scr=0 (0,0) root=32768 Msk=0 TS=209
> Event: KeyPress(2):det=107 scr=0 (0,0) root=32768 Msk=0 TS=260
> Event: KeyRelease  (3):det=107 scr=0 (0,0) root=32768 Msk=0 TS=143
> Event: KeyRelease  (3):det=117 scr=0 (0,0) root=32768 Msk=0 TS=2892
> Event: KeyRelease  (3):det=109 scr=0 (0,0) root=32768 Msk=0 TS=244
> EOF
> 
> This was cut from the output of "xtrapout -e" while I pressed the keys
> in question.
> 
> You could also store those lines in file and use "xtrapin -f file".
> Read man xtrap for more information.


Thank you very much!
On my keyboard the key events look a little different. But it works.
Tanks.

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: sending ctl-alt-del to the window manager

2003-08-29 Thread Hanspeter Roth
  On Aug 29 at 01:16, Måns Rullgård spoke:

> Hanspeter Roth <[EMAIL PROTECTED]> writes:
> 
> > how can one send the key sequence ctl-alt-del to the window manager?
> 
> Configure the window manager to intercept that combination and press
> the keys.  Which window manager are you using?

I'm using icewm.
But I want a program to send the key sequence. Is there a program
capabel doing this?

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Re: problem

2003-08-28 Thread Hanspeter Roth
  On Aug 28 at 17:06, Jim Bromhal spoke:

> Hello,
> 
> I can no longer run startx after upgrading my Kernal.

OS Kernel: Linux version 2.4.20-20.9 ([EMAIL PROTECTED]) (gcc+version 3.2.2 20030222 
(Red Hat Linux 3.2.2-5)) #1 Mon Aug 18 11:45:58 EDT 2003


(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a


Eeach version of the Linux kernel has it's own version of set of
modules. You probably haven't installed the appropreate version of
modules.
Is there an appropreate /lib/modules/2.4-20-20.9?
What does `lsmod` show? Can you `modprobe nvidia'?


-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] sending ctl-alt-del to the window manager

2003-08-28 Thread Hanspeter Roth
Hello,

how can one send the key sequence ctl-alt-del to the window manager?

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Xnest & xauth

2003-08-14 Thread Hanspeter Roth
Hello,

I have difficulty to use Xnest on some systems. It seems to me it
has something to do with the cookies in .Xauthority. On some systems
these cookies seem to remain after X terminates on others they are
removed. On these systems after launching Xnest on an alternate
display I can't connect a single client nor generate a cookie for
this display. On OpenBSD for example host/unix:0 is remained after
terminting X on display :0. So starting X on :1 allows me to run
Xnest on :0 and then connect clients to :0.
Trying to generate a cookie on a display which isn't already served
also fails.
So how can one use Xnest when there is no cookie for the display
before starting Xnest?

Cheers 
Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Xnest & xauth

2003-08-14 Thread Hanspeter Roth
Hello,

I have difficulty to use Xnest on some systems. It seems to me it
has something to do with the cookies in .Xauthority. On some systems
these cookies seem to remain after X terminates on others they are
removed. On these systems after launching Xnest on an alternate
display I can't connect a single client nor generate a cookie for
this display. On OpenBSD for example host/unix:0 is remained after
terminting X on display :0. So starting X on :1 allows me to run
Xnest on :0 and then connect clients to :0.
Trying to generate a cookie on a display which isn't already served
also fails.
So how can one use Xnest when there is no cookie for the display
before starting Xnest?

Cheers 
Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Resetting Screensaver and Dpms

2003-03-04 Thread Hanspeter Roth
Hello,

can the screensaver and DPMS be reset in batch mode by standard X
tool or is there a specific application to achieve this?

-Hanspeter
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86