Skocz do zawartości

Brak Odpowiedzi Klawiatury I Myszki Fedora 10


ledbacker

Rekomendowane odpowiedzi

Witam.

Wiem ze temat zawieszania sie fedory i blokowania urzadzen byl wielokrotnie przytaczany ale staralem sie przejrzec wszystkie podobne tematy (nie chce zeby ktos zarzucil mi ze nawet nie uzylem wyszukiwarki ! ) i niestety nie znalazlem odpowiedzi na problem ktory dotyczy mnie :/

 

mianowicie ...

zainstalowalem sobei fedore 10 ( jestem zupelnie poczatkujacy wiec prosze o prosty jezyk :/ ) i jedyny problem jaki na razie sie pojawil to brak odpowiedzi ze strony myszki i klawiatury. Problem pojawil sie kiedy zakonczyla sie instalacja (podczas instalacji wszystko bylo ok myszka i klawiatura dzialala) ... uruchomilem ponownie komputer zgodnie z poleceniem instalatora i gdy system sie juz wczytal chcialem przejsc do wypelniania ostatnich krokow instalacji i tam juz ani myszka ani klawiatura nie dzialaja. podpialem zwykla klawiature pod usb i myszke pod usb ... wtedzy dziala. Dopisalem do pliku etc/grub.conf linijke acpi=off ... uruchomilem ponownie komputer odpialem myszke i klawiature od usb i dzialy urzadzenia z mojego laptopa ... natomiast kiedy wzialem uruchom ponownie by zobaczyc czy juz bedzie ok ... po wczytaniu sie systemu znowu nie reaguje na myszke i klawiature ... zatem system wlacza sie jedynie do momentu logowania bo do tego procesu juz nie moge przystapic bez zewnetrznej klawiatury i myszki :/

 

Prosze o pomoc ( wszelkie podpowiedzi prosze pisac prostym jezykiem bo jestem zupelne poczatkujacy) ... z gory dziekuje :)

 

Posiadam laptopa o parametrach :

 

procesor: Intel pentium 4 HT 2800

ram: 1024 DDR

dysk: 80 giga ale to chyba tu nie jest istotne.

karta graficzna : Ati Radeon 9700 mobility

 

Fedory pobralem plytke DVD i386. Niby calosc instaluje sie jak obserwuje instalacje na i.386 to na koniec instalacji wykrywa mi ze architektura mojeprocesora to i 686. ale to mnie w sumie nie dziwi bo czytalem na jakims forum ze pentium 4 obsluguje arch od i386 przez 486 586 do 686 chyba ze tamte informacje byly nieprawdziwe :/

Odnośnik do komentarza
Udostępnij na innych stronach

Hmm w fedora 10 nie ma konkretnie takiego pliku ...

w folderze X11 mam takie drzewo katalogow :

 

applnk(folder), fonthpath.d(folder),xdm(folder),xinit(folder), prefdm(plik),Xmodmap(plik),Xresources(plik)

w folderze applnk : nie ma nic

w folderze fontpath.d : sa pliki ale one raczej dotycza czcionek wiec nie podaje.

w folderze xdm: GiveConsole, TakeConsole, Xaccess ,xdm-config, Xreset,Xresources, Xservers,Xsession,Xsetup_0,Xstartup,Xwilling (wszystkie to pliki)

w folderze xinit : xinitrc.d(folder),Xclients.d(folder), xinput.d(folder),Xclients(plik), xinitrc(plik),xinitrc-common(plik), xinputrc(plik), Xsession(plik).

nastepnie w folderze xinitrc.d : 00-start-message-bus(plik), 50-xinput(plik),localuser(plik),xdg-user-dirs(plik).

w podfolderze kolejnym czyli xinput.d : none.conf(plik);scim.conf(plik); xim.conf(plik);

folder Xclients.d jest pusty.

 

Przepraszam za to ze zamieszczam tutaj tyle tekstu ale bylo tam az tyle plikow a plik ktory mi polecono bym tu pokazal nie zostal przeze mnie odnalziony ;/

wrzucam rowniez link z calym folderem etc/X11 gdyby ktos wolal to zobaczyc u siebie na komputerze :

Kliknij by pobrac caly katalo etc/X11 wraz z plikami!
Jest to caly katalog X11 dla fedora 10


zamieszczam pelne tresci tych plikow: zaczynam od glownego katalogu X11:

prefdm
[code]#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin

# We need to source this so that the login screens get translated
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n

# Run preferred X display manager
quit_arg=
preferred=
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DISPLAYMANAGER" = GNOME ]; then
        preferred=/usr/sbin/gdm
        quit_arg="--retain-splash"
    elif [ "$DISPLAYMANAGER" = KDE ]; then
        preferred=/usr/bin/kdm
    elif [ "$DISPLAYMANAGER" = WDM ]; then
        preferred=/usr/bin/wdm
    elif [ "$DISPLAYMANAGER" = XDM ]; then
            preferred=/usr/bin/xdm
        elif [ -n "$DISPLAYMANAGER" ]; then
        preferred=$DISPLAYMANAGER
    fi
else
    quit_arg="--retain-splash"
fi

# shut down boot splash
/usr/bin/plymouth quit $quit_arg

shopt -s execfail

[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1 </dev/null

# Fallbacks, in order
exec gdm "$@" >/dev/null 2>&1 </dev/null
exec kdm "$@" >/dev/null 2>&1 </dev/null
exec wdm "$@" >/dev/null 2>&1 </dev/null
exec xdm "$@" >/dev/null 2>&1 </dev/null
# catch all exit error
exit 1

 

Xmodmap

! /etc/X11/Xmodmap
!
! global Xmodmap file -- used by both xdm and xinit (startx)

! keycode and keysym remapping should generally be used only if the X
! server config file has been configured to disable the XKEYBOARD
! extension

! i386 and alpha
! keycode 22 = BackSpace
! keycode 107 = Delete           

! powerpc
! keycode 59 = BackSpace
! keycode 125 = Delete

! sparc
! keycode 50 = BackSpace
! keycode 73 = Delete

! Euro sign support
! keycode 26 = e E currency
! keycode 54 = c C cent
! keycode 113 = Mode_switch Mode_switch Multi_key

 

Xresources

 

! This is the global resources file that is loaded when
! all users log in, as well as for the login screen

! Fix the Xft dpi to 96; this prevents tiny fonts
! or HUGE fonts depending on the screen size.
Xft.dpi: 96

! hintstyle: medium means that (for Postscript fonts) we
! position the stems for maximum constrast and consistency
! but do not force the stems to integral widths. hintnone,
! hintslight, and hintfull are the other possibilities.
Xft.hintstyle: hintmedium
Xft.hinting: true

 

Podfolder "xdm"

 

GiveConsole

 

#!/bin/sh
# Assign ownership of the console to the invoking user
# $Xorg: GiveConsole,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output.  This way a random user can invoke xterm -C without
# causing serious grief.
#
chown $USER /dev/console
exec /usr/bin/sessreg  -a -w "/var/log/wtmp" -u "/var/run/utmp" 
        -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER

 

TakeConsole

 

#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
# $Xorg: TakeConsole,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
#
chmod 622 /dev/console
chown root /dev/console

 

XAccess

 

# $XdotOrg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
# $Xorg: Xaccess,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
# $XFree86: xc/programs/xdm/config/Xaccess,v 1.4 2003/07/09 15:27:40 tsi Exp $
#
# Access control file for XDMCP connections
#
# To control Direct and Broadcast access:
#
#    pattern
#
# To control Indirect queries:
#
#     pattern        list of hostnames and/or macros ...
#
# To use the chooser:
#
#    pattern        CHOOSER BROADCAST
#
# or
#
#    pattern        CHOOSER list of hostnames and/or macros ...
#
# To define macros:
#
#       %name        list of hosts ...
#
# To control which addresses xdm listens for requests on:
#
#    LISTEN        address [list of multicast groups ... ]
#
# The first form tells xdm which displays to respond to itself.
# The second form tells xdm to forward indirect queries from hosts matching
# the specified pattern to the indicated list of hosts.
# The third form tells xdm to handle indirect queries using the chooser;
# the chooser is directed to send its own queries out via the broadcast
# address and display the results on the terminal.
# The fourth form is similar to the third, except instead of using the
# broadcast address, it sends DirectQuerys to each of the hosts in the list
# The fifth form tells xdm which addresses to listen for incoming connections
# on.  If present, xdm will only listen for connections on the specified 
# interfaces and/or multicast groups.
#
# In all cases, xdm uses the first entry which matches the terminal;
# for IndirectQuery messages only entries with right hand sides can
# match, for Direct and Broadcast Query messages, only entries without
# right hand sides can match.
#

#*                    #any host can get a login window

#
# To hardwire a specific terminal to a specific host, you can
# leave the terminal sending indirect queries to this host, and
# use an entry of the form:
#

#terminal-a    host-a


#
# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#

#*        CHOOSER BROADCAST    #any indirect host can get a chooser

#
# If you'd prefer to configure the set of hosts each terminal sees,
# then just uncomment these lines (and comment the CHOOSER line above)
# and edit the %hostlist line as appropriate
#

#%hostlist    host-a host-b

#*        CHOOSER %hostlist    #

#
# If you have a machine with multiple network interfaces or IP addresses
# you can control which interfaces accept XDMCP packets by listing a LISTEN
# line for each interface you want to listen on.  You can additionally list
# one or more multicast groups after each address to listen on those groups
# on that address.
#
# If no LISTEN is specified, the default is the same as "LISTEN *" - listen on
# all unicast interfaces, but not for multicast packets.  If any LISTEN lines
# are specified, then only the listed interfaces will be listened on.
#
# IANA has assigned FF0X:0:0:0:0:0:0:12B as the permanently assigned 
# multicast addresses for XDMCP, where X in the prefix may be replaced
# by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local,
# 5 for Site-Local, and so on.  The default is equivalent to the example shown
# here using the Link-Local version to most closely match the old IPv4 subnet
# broadcast behavior.
#
# LISTEN        * ff02:0:0:0:0:0:0:12b

# This example shows listening for multicast on all scopes up to site-local
#
# LISTEN    * ff01:0:0:0:0:0:0:12b ff02:0:0:0:0:0:0:12b ff03:0:0:0:0:0:0:12b ff04:0:0:0:0:0:0:12b ff05:0:0:0:0:0:0:12b

 

xdm-config:

 

! $Xorg: xdm-conf.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
! $XdotOrg: $    
!
!
!
!
! $XFree86: xc/programs/xdm/config/xdm-conf.cpp,v 1.10 2002/11/30 19:11:32 herrb Exp $
!






DisplayManager.errorLogFile:    /var/log/xdm.log
DisplayManager.pidFile:        /var/run/xdm.pid
DisplayManager.keyFile:        /etc/X11/xdm/xdm-keys
DisplayManager.servers:        /etc/X11/xdm/Xservers
DisplayManager.accessFile:    /etc/X11/xdm/Xaccess
DisplayManager*resources:    /etc/X11/xdm/Xresources
DisplayManager.willing:        su nobody -s /bin/bash /etc/X11/xdm/Xwilling
! All displays should use authorization, but we cannot be sure
! X terminals may not be configured that way, so they will require
! individual resource settings.
DisplayManager*authorize:    true
!
DisplayManager*chooser:        /usr/lib/X11/xdm/chooser
DisplayManager*startup:        /etc/X11/xdm/Xstartup
DisplayManager*session:        /etc/X11/xdm/Xsession
DisplayManager*reset:        /etc/X11/xdm/Xreset
DisplayManager*authComplain:    true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup:    /etc/X11/xdm/Xsetup_0
DisplayManager._0.startup:    /etc/X11/xdm/GiveConsole
DisplayManager._0.reset:    /etc/X11/xdm/TakeConsole

DisplayManager*loginmoveInterval:    10

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
DisplayManager.requestPort:    0

 

Xreset

 

#!/bin/sh
# Deregister a login. (Derived from TakeConsole as follows:)
#
/usr/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp"     -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER

 

 

Xresources

 

! $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
!
!
!
!
! $XFree86: xc/programs/xdm/config/Xres.cpp,v 1.6 2003/01/04 03:11:31 dawes Exp $
!

Xcursor.theme: whiteglass



xlogin*login.translations: #override 
    Ctrl<Key>R: abort-display()n
    <Key>F1: set-session-argument(failsafe) finish-field()n
    <Key>Delete: delete-character()n
    <Key>Left: move-backward-character()n
    <Key>Right: move-forward-character()n
    <Key>Home: move-to-begining()n
    <Key>End: move-to-end()n
    Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()n
    <Key>KP_Enter: set-session-argument() finish-field()n
    Ctrl<Key>Return: set-session-argument(failsafe) finish-field()n
    <Key>Return: set-session-argument() finish-field()

xlogin*greeting: Welcome to CLIENTHOST
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect

#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace:    Serif-24:bold:italic
xlogin*face:         Helvetica-18
xlogin*promptFace:     Helvetica-18:bold
xlogin*failFace:     Helvetica-18:bold

#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 2
xlogin*shdColor: grey30
xlogin*hiColor: grey90
xlogin*background: grey
!xlogin*foreground: darkgreen
xlogin*greetColor: Blue3
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif

#if PLANES >= 8
xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg.xpm
#else
xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10


XConsole.text.geometry:    480x130
XConsole.verbose:    true
XConsole*iconic:    true
XConsole*font:        fixed

Chooser*geometry:        700x500+300+200
Chooser*allowShellResize:    false
Chooser*viewport.forceBars:    true
Chooser*label.font:        *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label:        XDMCP Host Menu from CLIENTHOST
Chooser*list.font:        -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font:        *-new century schoolbook-bold-r-normal-*-180-*

 

Xservers

 

# $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
#
# Xservers file, workstation prototype
#
# This file should contain an entry to start the server on the
# local display; if you have more than one display (not screen),
# you can add entries to the list (one per line).  If you also
# have some X terminals connected which do not support XDMCP,
# you can add them here as well.  Each X terminal line should
# look like:
#    XTerminalName:0 foreign
#
:0 local /usr/bin/X :0

 

 

Xsession

jest zaszyfrowany ale sklada sie tlyko moze z 50 znakow . nie moge dokladnie odczytac bo jestem na windowsie ... na (_linuxie_ → Linuksie) ORT nie mam skonfigurowanego jeszcze internetu zeby tu pisac.

 

 

Xsetup_0

 

#!/bin/sh
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

sysresources=/etc/X11/Xresources

# merge in defaults
if [ -f "$sysresources" ]; then
    xrdb -merge "$sysresources"
fi

#/usr/X11R6/bin/xsetroot -solid "#222E45"

if [ -z "$RUNNING_UNDER_GDM" ]; then
  /sbin/pidof -s kdm &> /dev/null && [ $? -eq 0 -a -x /usr/bin/kdmdesktop ] && /usr/bin/kdmdesktop && sleep 1s

  # only set the background if the xsri program is installed
#  if [ -x /usr/bin/xsri -a -r /etc/X11/xsrirc ]; then
#      /usr/bin/xsri --redhat-login --set
#  fi
fi

 

Xstartup

 

#!/bin/sh
# Register a login (derived from GiveConsole as follows:)
#
/usr/bin/sessreg  -a -w "/var/log/wtmp" -u "/var/run/utmp"     -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER

 

Pliki z folderu "xinit"

 

 

Xclients

 

#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

GSESSION="$(which gnome-session 2>/dev/null)"
STARTKDE="$(which startkde 2>/dev/null)"

# check to see if the user has a preferred desktop
PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = "GNOME" ]; then
    PREFERRED="$GSESSION"
    elif [ "$DESKTOP" = "KDE" ]; then
    PREFERRED="$STARTKDE"
    fi
fi

if [ -n "$PREFERRED" ]; then
    exec "$PREFERRED"
fi

# now if we can reach here, either no desktop file was present,
# or the desktop requested is not installed.

if [ -n "$GSESSION" ]; then
    # by default, we run GNOME.
    exec "$GSESSION"
elif [ -n "$STARTKDE" ]; then
    # if GNOME isn't installed, try KDE.
    exec "$STARTKDE"
fi

# Failsafe.

# these files are left sitting around by TheNextLevel.
rm -f $HOME/Xrootenv.0

# Argh! Nothing good is installed. Fall back to twm
{
    # gosh, neither fvwm95 nor fvwm2 is available; 
    # fall back to failsafe settings
    [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'

    if [ -x /usr/bin/xclock ]; then
    /usr/bin/xclock -geometry 100x100-5+5 &
    elif [ -x /usr/bin/xclock ]; then
    /usr/bin/xclock -geometry 100x100-5+5 &
    fi
    if [ -x /usr/bin/xterm ]; then
        /usr/bin/xterm -geometry 80x50-50+150 &
    fi
    if [ -x /usr/bin/firefox -a -f /usr/share/doc/HTML/index.html ]; then
    /usr/bin/firefox /usr/share/doc/HTML/index.html &
    fi
    if [ -x /usr/bin/twm ]; then
    exec /usr/bin/twm
    fi
}

 

 

xinitrc

 

#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

GSESSION="$(which gnome-session 2>/dev/null)"
STARTKDE="$(which startkde 2>/dev/null)"

# check to see if the user has a preferred desktop
PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DESKTOP" = "GNOME" ]; then
    PREFERRED="$GSESSION"
    elif [ "$DESKTOP" = "KDE" ]; then
    PREFERRED="$STARTKDE"
    fi
fi

if [ -n "$PREFERRED" ]; then
    exec "$PREFERRED"
fi

# now if we can reach here, either no desktop file was present,
# or the desktop requested is not installed.

if [ -n "$GSESSION" ]; then
    # by default, we run GNOME.
    exec "$GSESSION"
elif [ -n "$STARTKDE" ]; then
    # if GNOME isn't installed, try KDE.
    exec "$STARTKDE"
fi

# Failsafe.

# these files are left sitting around by TheNextLevel.
rm -f $HOME/Xrootenv.0

# Argh! Nothing good is installed. Fall back to twm
{
    # gosh, neither fvwm95 nor fvwm2 is available; 
    # fall back to failsafe settings
    [ -x /usr/bin/xsetroot ] && /usr/bin/xsetroot -solid '#222E45'

    if [ -x /usr/bin/xclock ]; then
    /usr/bin/xclock -geometry 100x100-5+5 &
    elif [ -x /usr/bin/xclock ]; then
    /usr/bin/xclock -geometry 100x100-5+5 &
    fi
    if [ -x /usr/bin/xterm ]; then
        /usr/bin/xterm -geometry 80x50-50+150 &
    fi
    if [ -x /usr/bin/firefox -a -f /usr/share/doc/HTML/index.html ]; then
    /usr/bin/firefox /usr/share/doc/HTML/index.html &
    fi
    if [ -x /usr/bin/twm ]; then
    exec /usr/bin/twm
    fi
}

 

xinitrc - common

 

#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# xinitrc-common
#
# This is common code shared by both Xsession and xinitrc scripts.  Be sure
# to take this into account when fixing bugs or adding new functionality.

# Set up i18n environment
if [ -r /etc/profile.d/lang.sh ]; then
  . /etc/profile.d/lang.sh
fi

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
userxkbmap=$HOME/.Xkbmap

sysresources=/etc/X11/Xresources
sysmodmap=/etc/X11/Xmodmap
sysxkbmap=/etc/X11/Xkbmap

# merge in defaults
[ -r "$sysresources" ] && xrdb -merge "$sysresources"
[ -r "$userresources" ] && xrdb -merge "$userresources"

# merge in keymaps
if [ -r "$sysxkbmap" ]; then
    setxkbmap $(cat "$sysxkbmap")
    XKB_IN_USE=yes
fi

if [ -r "$userxkbmap" ]; then
    setxkbmap $(cat "$userxkbmap")
    XKB_IN_USE=yes
fi

# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
    [ -r "$sysmodmap" ] && xmodmap "$sysmodmap"
    [ -r "$usermodmap" ] && xmodmap "$usermodmap"
fi

unset XKB_IN_USE

# run all system xinitrc shell scripts.
for file in /etc/X11/xinit/xinitrc.d/*; do
        . $file
done

# Prefix launch of session with ssh-agent if available and not already running.
SSH_AGENT=
if [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ]; then
    if [ "x$TMPDIR" != "x" ]; then
        SSH_AGENT="/usr/bin/ssh-agent /bin/env TMPDIR=$TMPDIR"
    else
        SSH_AGENT="/usr/bin/ssh-agent"
  fi
fi

CK_XINIT_SESSION=
[ -x /usr/bin/ck-xinit-session ] && CK_XINIT_SESSION="/usr/bin/ck-xinit-session"

 

xinputrc

 

plik rowniez jest zaszyfrowany ale jest tak z tego co widze tlyko pare znakow.

 

 

Xsession

 

#!/bin/bash
# Copyright (C) 1999 - 2004 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

# xinitrc-common
#
# This is common code shared by both Xsession and xinitrc scripts.  Be sure
# to take this into account when fixing bugs or adding new functionality.

# Set up i18n environment
if [ -r /etc/profile.d/lang.sh ]; then
  . /etc/profile.d/lang.sh
fi

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
userxkbmap=$HOME/.Xkbmap

sysresources=/etc/X11/Xresources
sysmodmap=/etc/X11/Xmodmap
sysxkbmap=/etc/X11/Xkbmap

# merge in defaults
[ -r "$sysresources" ] && xrdb -merge "$sysresources"
[ -r "$userresources" ] && xrdb -merge "$userresources"

# merge in keymaps
if [ -r "$sysxkbmap" ]; then
    setxkbmap $(cat "$sysxkbmap")
    XKB_IN_USE=yes
fi

if [ -r "$userxkbmap" ]; then
    setxkbmap $(cat "$userxkbmap")
    XKB_IN_USE=yes
fi

# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
    [ -r "$sysmodmap" ] && xmodmap "$sysmodmap"
    [ -r "$usermodmap" ] && xmodmap "$usermodmap"
fi

unset XKB_IN_USE

# run all system xinitrc shell scripts.
for file in /etc/X11/xinit/xinitrc.d/*; do
        . $file
done

# Prefix launch of session with ssh-agent if available and not already running.
SSH_AGENT=
if [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ]; then
    if [ "x$TMPDIR" != "x" ]; then
        SSH_AGENT="/usr/bin/ssh-agent /bin/env TMPDIR=$TMPDIR"
    else
        SSH_AGENT="/usr/bin/ssh-agent"
  fi
fi

CK_XINIT_SESSION=
[ -x /usr/bin/ck-xinit-session ] && CK_XINIT_SESSION="/usr/bin/ck-xinit-session"

 

 

pliki z podfolderu "xinitrc.d"

 

00-start-message-bus

 

#!/bin/sh
# Copyright (C) 2008 Red Hat, Inc.
#
# All rights reserved. This copyrighted material is made available to anyone
# wishing to use, modify, copy, or redistribute it subject to the terms and
# conditions of the GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
        eval `dbus-launch --sh-syntax --exit-with-session`
fi

 

50-xinput

 

#!/bin/bash
# Copyright (C) 1999-2004,2007-2008 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# X Input method setup script

function is_dbus_enabled() {
    [ -n "$DBUS_SESSION_BUS_ADDRESS" ]
}

function is_imsettings_enabled() {
    [ -z "$DISABLE_IMSETTINGS" ] && is_dbus_enabled
}

function is_gtk_supported() {
    [ -n "$IMSETTINGS_DISABLE_DESKTOP_CHECK" ] && return 0
    case "$DESKTOP_SESSION" in
    *gnome|*kde|openbox|xfce4)
        return 0
    ;;
    *)
        return 1
    ;;
    esac
}

function is_qt_supported() {
    [ -n "$IMSETTINGS_DISABLE_DESKTOP_CHECK" ] && return 0
    case "$DESKTOP_SESSION" in
    *)
        return 1
    ;;
    esac
}

function setup_gtk_immodule() {
    if is_imsettings_enabled && is_gtk_supported; then
    # Ensure GTK_IM_MODULE is empty. otherwise GTK+ doesn't pick up immodule through XSETTINGS
    unset GTK_IM_MODULE
    export GTK_IM_MODULE
    else
    [ -n "$GTK_IM_MODULE" ] && export GTK_IM_MODULE
    fi
}

function setup_qt_immodule() {
    if is_imsettings_enabled && is_qt_supported; then
    # FIXME: Qt doesn't support XSETTINGS for immodule yet.
    #        We still need to go with the older way.
    [ -n "$QT_IM_MODULE" ] && export QT_IM_MODULE
    else
    [ -n "$QT_IM_MODULE" ] && export QT_IM_MODULE
    fi
}

function setup_xim() {
    if is_imsettings_enabled; then
    # setup XMODIFIERS
    XMODIFIERS="@im=imsettings"
    export XMODIFIERS
    else
    [ -z "$XMODIFIERS" -a -n "$XIM" ] && XMODIFIERS="@im=$XIM"
    [ -n "$XMODIFIERS" ] && export XMODIFIERS
    fi
}

function run_imsettings() {
    print_info
    if [ -n "$DRY_RUN" ]; then
    echo "*** DRY RUN MODE: running IM through imsettings"
    else
    which imsettings-start > /dev/null 2>&1 && LANG="$tmplang" imsettings-start -n "$IMSETTINGS_MODULE" || :
    which imsettings-xim > /dev/null 2>&1 && imsettings-xim &
    fi
}

function run_xim() {
    print_info
    if [ -n "$DRY_RUN" ]; then
    echo "*** DRY RUN MODE: running IM without imsettings"
    else
    DISABLE_IMSETTINGS=true
    export DISABLE_IMSETTINGS

    # execute XIM_PROGRAM
    [ -n "$XIM_PROGRAM" ] && which "$XIM_PROGRAM" > /dev/null 2>&1 && LANG="$tmplang" "$XIM_PROGRAM" $XIM_ARGS &
    fi
}

function print_result() {
    $1
    if [ $? -eq 0 ]; then
    echo yes
    else
    echo no
    fi
}

function print_info() {
    echo "imsettings information"
    echo "=========================="
    echo -n "Is DBus enabled: "
    print_result is_dbus_enabled
    echo -n "Is imsettings enabled: "
    print_result is_imsettings_enabled
    echo -n "Is GTK+ supported: "
    print_result is_gtk_supported
    echo -n "Is Qt supported: "
    print_result is_qt_supported
    echo "DESKTOP_SESSION: $DESKTOP_SESSION"
    echo "DISABLE_IMSETTINGS: $DISABLE_IMSETTINGS"
    echo "IMSETTINGS_DISABLE_DESKTOP_CHECK: $IMSETTINGS_DISABLE_DESKTOP_CHECK"
    echo "DBUS_SESSION_BUS_ADDRESS: $DBUS_SESSION_BUS_ADDRESS"
    echo "GTK_IM_MODULE: $GTK_IM_MODULE"
    echo "QT_IM_MODULE: $QT_IM_MODULE"
    echo "XMODIFIERS: $XMODIFIERS"
    echo "IMSETTINGS_MODULE: $IMSETTINGS_MODULE"
    echo ""
}

USER_XINPUTRC="$HOME/.xinputrc"
SYS_XINPUTRC="/etc/X11/xinit//xinputrc"

# Load up the user and system locale settings
oldterm=$TERM
unset TERM
if [ -r /etc/profile.d/lang.sh ]; then
    # for Fedora etc
    source /etc/profile.d/lang.sh
elif [ -r /etc/default/locale ]; then
    # for Debian
    source /etc/default/locale
fi
[ -n "$oldterm" ] && export TERM=$oldterm

tmplang=${LC_CTYPE:-${LANG:-"en_US.UTF-8"}}

# unset env vars to be safe
unset AUXILIARY_PROGRAM AUXILIARY_ARGS GTK_IM_MODULE ICON IMSETTINGS_IGNORE_ME LONG_DESC PREFERENCE_PROGRAM PREFERENCE_ARGS QT_IM_MODULE SHORT_DESC XIM XIM_PROGRAM XIM_ARGS XMODIFIERS

[ -z "$IMSETTINGS_DISABLE_USER_XINPUTRC" ] && IMSETTINGS_DISABLE_USER_XINPUTRC=no

if [ -r "$USER_XINPUTRC" -a "x$IMSETTINGS_DISABLE_USER_XINPUTRC" = "xno" ]; then
    source "$USER_XINPUTRC"
    if [ ! -h "$USER_XINPUTRC" ]; then
    SHORT_DESC="User Specific"
    fi
elif [ -r "$SYS_XINPUTRC" ]; then
    # FIXME: This hardcoded list has to be gone in the future.
    _language_list="as bn gu hi ja kn ko ml mr ne or pa si ta te th ur vi zh"
    _sourced_xinputrc=0
    for i in $_language_list; do
        if echo $tmplang | grep -q -E "^$i"; then
            source "$SYS_XINPUTRC"
            _sourced_xinputrc=1
            break
        fi
    done
    if [ $_sourced_xinputrc -eq 0 ]; then
        # Read none.conf to set up properly for locales not listed the above.
        source /etc/X11/xinit/xinput.d//none.conf
    fi
fi

[ -z "$XIM" ] && XIM=none

# start IM via imsettings
IMSETTINGS_MODULE=${SHORT_DESC:-${XIM}}
[ -z "$IMSETTINGS_MODULE" ] && IMSETTINGS_MODULE="none"

# NOTE: Please make sure the session bus is established before running this script.
if ! is_dbus_enabled; then
    echo "***"
    echo "*** No DBus session hasn't been established yet. giving up to deal with Input Method with imsettings."
    echo "***"

    setup_gtk_immodule
    setup_qt_immodule
    setup_xim

    run_xim
elif ! is_imsettings_enabled; then
    echo "***"
    echo "*** imsettings is explicitly disabled."
    echo "***"

    setup_gtk_immodule
    setup_qt_immodule
    setup_xim

    run_xim
else
    # Yes, we are in the dbus session
    setup_gtk_immodule
    setup_qt_immodule
    setup_xim

    run_imsettings
fi

 

localuser

 

#!/bin/sh
# Copyright (C) 2006 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
[ -x /usr/bin/xhost ] && [ -x /usr/bin/id ] &&
    xhost +si:localuser:`id -un` >& /dev/null

 

xdg-user-dirs

 

#!/bin/sh
# Copyright (C) 2007 Red Hat, Inc. All rights reserved. This
# copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the
# GNU General Public License version 2.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
if [ -x /usr/bin/xdg-user-dirs-update ]; then
    /usr/bin/xdg-user-dirs-update
fi

 

Pliki z podfolderu " xinput.d

 

none.conf

 

XIM=none
XIM_PROGRAM=
XIM_ARGS=
GTK_IM_MODULE=gtk-im-context-simple
QT_IM_MODULE=
IMSETTINGS_IGNORE_ME=yes

 

scim

 

XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS=""
ICON="/usr/share/scim/icons/trademark.png"
PREFERENCE_PROGRAM=/usr/bin/scim-setup
SHORT_DESC="SCIM"

gtkimm_exists () {
    # check if any immodules installed
    for dir in /usr/lib*/gtk-2.0/immodules; do
        [ -x ${dir}/im-$1.so ] && return 0
    done
    return 1
    }

if gtkimm_exists scim-bridge; then
  GTK_IM_MODULE=scim-bridge
elif gtkimm_exists scim; then
  GTK_IM_MODULE=scim
else
  GTK_IM_MODULE=xim
fi

qtimm_exists () {
    # check if any immodule installed
    for dir in /usr/lib*/qt4/plugins/inputmethods; do
        [ -x ${dir}/$1.so ] && return 0
    done
    return 1
    }

if qtimm_exists im-scim-bridge; then
  QT_IM_MODULE=scim-bridge
elif qtimm_exists libqscim; then
  QT_IM_MODULE=scim
else
  QT_IM_MODULE=xim
fi

 

xim

 

# -*- mode: shell-script -*-
# xim - xinput script to choose the better XIM server against current locale.
#
# Copyright (C) 2006-2008 Red Hat, Inc. All rights reserved.
#
# This script is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

xim_tmplang=${LC_CTYPE:-${LANG:-"en_US.UTF-8"}}
xim_lang_region=$(echo $xim_tmplang | sed -e 's/..*//')
[ -r /etc/X11/xinit/xinput.d//${xim_lang_region} ] && source /etc/X11/xinit/xinput.d//${xim_lang_region} || source /etc/X11/xinit/xinput.d//none.conf

unset xim_tmplang xim_lang_region

[/code]

hmm znalazlem w necie ze musze recznie utworzyc ten plik przez instalacje z yum ... tak tez zrobie i dopiero potem napisz w tm samym poscie postac i stres tego pliku (pisze jednego posta pod drugim bo nie chce mieszac w jednym poscie )

 

pozdrawiam ...

Odnośnik do komentarza
Udostępnij na innych stronach

ledbacker nie wiem jak się czujesz. Mam nadzieję, że wszystko w porządku...

Na przyszłość proszę:

1. korzystać ze znaczników [codebox][/codebox] a nie [code][/code] przy wklejkach dłuższych niż 15 linijek

2. nie pisanie postów pod własnymi postami - korzystaj z przycisku "EDYTUJ"

3. umieszczanie wyłącznie istotnych informacji - takie wyskoki jak powyżej będę traktował jako spamowanie forum.

 

Nieprzestrzeganie powyższych punktów jest łamaniem regulaminu forum. Jest to jedyne ostrzeżenie bez komsekwencji. Kolejne będa skutkowały podniesieniem poziomu ostrzeżenia.

 

Długie listingi ująłem w znaczniki codebox bez szczególnego podziału, bo w śmietniku który zrobiłeś i tak niewiele osób będzie chciało się grzebać.

Odnośnik do komentarza
Udostępnij na innych stronach

Jak użyjesz Xorg --configure to będziesz miał xorg.conf. Potem wystarczy go skopiować do folderu /etc/X11/

 

 

Witam ... uzylem polecenia ... Xorg --configure oczywiscie jako root i chyba w fedora 10 uzywa sie tylko jednego myslnika bo otrzymalem ... ze nie ma takiego polecenia i dostalem liste chyba wszystkich inntch polecen :

 

 Unrecognized option: --configure           
use: X [:<display>] [option]               
-a #                   mouse acceleration (pixels)
-ac                    disable access control restrictions
-audit int             set audit trail level              
-auth file             select authorization file          
-br                    create root window with black background
+bs                    enable any backing store support        
-bs                    disable any backing store support       
-c                     turns off key-click                     
c #                    key-click volume (0-100)                
-cc int                default color visual class              
-core                  generate core dump on fatal error       
-dpi int               screen resolution in dots per inch      
dpms                   enables VESA DPMS monitor control       
-dpms                  disables VESA DPMS monitor control      
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f #                   bell base (0-100)                          
-fc string             cursor font                                
-fn string             default font name                          
-fp string             default font path                          
-help                  prints message with these options          
-I                     ignore all remaining arguments             
-ld int                limit data space to N Kb                   
-lf int                limit number of open files to N            
-ls int                limit stack space to N Kb                  
-nolock                disable the locking mechanism              
-logo                  enable logo in screen saver                
nologo                 disable logo in screen saver               
-nolisten string       don't listen on protocol                   
-noreset               don't reset after last client exists       
-nr                    create root window with no background      
-reset                 reset after last client exists             
-p #                   screen-saver pattern duration (minutes)    
-pn                    accept failure to listen on all ports      
-nopn                  reject failure to listen on all ports      
-r                     turns off auto-repeat                      
r                      turns on auto-repeat                       
-render [default|mono|gray|color] set render color alloc policy   
-s #                   screen-saver timeout (minutes)             
-su                    disable any save under support             
-t #                   mouse threshold (pixels)                   
-terminate             terminate at server reset                  
-to #                  connection time out                        
-tst                   disable testing extensions                 
ttyxx                  server started from init on /dev/ttyxx     
v                      video blanking for screen-saver            
-v                     screen-saver without video blanking        
-wm                    WhenMapped default backing-store           
-wr                    create root window with white background   
-x string              loads named extension at init time         
-maxbigreqsize         set maximal bigrequest size                
+xinerama              Enable XINERAMA extension                  
-xinerama              Disable XINERAMA extension                 
-dumbSched             Disable smart scheduling, enable old behavior
-schedInterval int     Set scheduler interval in msec               
+extension name        Enable extension                             
-extension name        Disable extension                            
-query host-name       contact named host for XDMCP                 
-broadcast             broadcast for XDMCP                          
-multicast [addr [hops]] IPv6 multicast for XDMCP                   
-indirect host-name    contact named host for indirect XDMCP        
-port port-num         UDP port number to send messages to          
-from local-address    specify the local address to connect from    
-once                  Terminate server after one session           
-class display-class   specify display class to send in manage      
-cookie xdm-auth-bits  specify the magic cookie for XDMCP           
-displayID display-id  manufacturer display ID for request          
-kb                    disable the X Keyboard Extension             
+kb                    enable the X Keyboard Extension              
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
                      enable/disable accessx key sequences          
-ardelay               set XKB autorepeat delay                      
-arinterval            set XKB autorepeat interval                   


Device Dependent Usage
-modulepath paths      specify the module search path
-logfile file          specify a log file name       
-configure             probe for devices and write an xorg.conf
-modalias              output a modalias-style filter for each driver installed
-config file           specify a configuration file, relative to the           
                      xorg.conf search path, only root can use absolute       
-probeonly             probe for devices, then exit                            
-verbose [n]           verbose startup messages                                
-logverbose [n]        verbose log messages                                    
-quiet                 minimal startup messages                                
-pixmap24              use 24bpp pixmaps for depth 24
-pixmap32              use 32bpp pixmaps for depth 24
-fbbpp n               set bpp for the framebuffer. Default: 8
-depth n               set colour depth. Default: 8
-gamma f               set gamma value (0.1 < f < 10.0) Default: 1.0
-rgamma f              set gamma value for red phase
-ggamma f              set gamma value for green phase
-bgamma f              set gamma value for blue phase
-weight nnn            set RGB weighting at 16 bpp.  Default: 565
-layout name           specify the ServerLayout section name
-screen name           specify the Screen section name
-keyboard name         specify the core keyboard InputDevice name
-pointer name          specify the core pointer InputDevice name
-nosilk                disable Silken Mouse
-flipPixels            swap default black/white Pixel values
-disableVidMode        disable mode adjustments with xvidtune
-allowNonLocalXvidtune allow xvidtune to be run as a non-local client
-disableModInDev       disable dynamic modification of input device settings
-allowNonLocalModInDev allow changes to keyboard and mouse settings
                      from non-local clients
-allowMouseOpenFail    start server even if the mouse can't be initialized
-bestRefresh           choose modes with the best refresh rate
-ignoreABI             make module ABI mismatches non-fatal
-isolateDevice bus_id  restrict device resets to bus_id (PCI only)
-version               show the server version
-showDefaultModulePath show the server default module path
-showDefaultLibPath    show the server default library path
vtXX                   use the specified VT number
-keeptty               don't detach controlling tty (for debugging only)
-novtswitch            don't immediately switch to new VT
-sharevts              share VTs with another X server


Fatal server error:
Unrecognized option: --configure

 

 

Dlatego uzylem polecenia Xorg -configure

 

i otrzymalem ...:

 

Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.

 

w sumie niewazne jakiej innej opcji uzyje do tego polecenia i tak otrzymuje ten komunikat.

Wlaczylem ctrl+alt+f2 wykonalem to samo i tez nic (pomyslalem zeby wyjsc z trybu graficznego ale i to nie przynioslo zadnego efektu )

 

 

Takze dalej jestem w kropce :/

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...