indestructible browser2

sitar_vim at procaut.sk sitar_vim at procaut.sk
Fri Sep 16 20:11:07 CEST 2005


On 9/16/2005, "Stano Sitar" <sitar_vim at procaut.sk> wrote:

>
>> Ale este je tu jeden problem:
>> Uzivatel moze zhodit Xorg skratkou: ctrl+alt+backspace, tak isto ctrl+alt+F1 atd. Mohli by ste mi len naznacit ako a kde sa to da zakazat?
>
>Nastavuje sa to v /etc/X11/Xorg.conf
Opravujem sa je to subor /etc/X11/xorg.conf ;-)
>Existuje nastavenie ktore zakaze ctrl+alt+backspace
>Predpokladam ze sa da zakazat aj ctrl+alt+FX

Odpovedam podrobnejsie, teraz ked som sa dostal k domacemu
PC a mam viac casu ako v praci

priklad
/etc/X11/xorg.conf
....

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

#....

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

Option "DontVTSwitch"

#....

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

Option "DontZap"
....

hotovo
Su tam aj ine zaujimave moznosti, ktore su default odkomentovane.
Neviem uz presne odkial presne mam moj xorg.conf
Ja si ho totiz vzdy prenesiem, aspon teda ciastocne, ked si konfigurujem
novy system. Niektore casti, tykajuce sa videokarty som napriklad
"ukradol" zo suboru ktory si vygeneroval Knoppix pusteny na mojom
stroji.

Moja najobluenejsia cast je:
...
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
#....

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us,sk_qwerty"
    Option "XkbOptions"
"grp:alt_shift_toggle,lv3:switch,grp_led:scroll,altwin:menu"

EndSection
....
Pozor, moj mailovy program to asi zalomil.

Prepinanie medzi US a Slovenskou QWERTY cez Alt+Shift.
Slovenska klavesnica je signalizovana ledkou ScrollLock.

Stano




More information about the Users-l mailing list