Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System not localized anymore after upgrade to x server 1.5
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gruszczy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 100

PostPosted: Tue Apr 07, 2009 8:28 pm    Post subject: System not localized anymore after upgrade to x server 1.5 Reply with quote

I have just upgraded to x server 1.5 and suddenly I can't use polish signs. And before the upgrade everything was fine. What could have changed? I checked 02locale and make.conf - I've got pl eveywhere set.
_________________
Filip Gruszczyñski
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Apr 07, 2009 9:15 pm    Post subject: Reply with quote

It's probably cause you didn't read the upgrade guide
(or failed to understand it). Hal settings override your
xorg.conf settings.
Back to top
View user's profile Send private message
gruszczy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 100

PostPosted: Tue Apr 07, 2009 9:42 pm    Post subject: Reply with quote

I checked, if I had event interface compiled into to kernel. I copied policy into etc dir. I didn't know how to check, if I built xorg with INPUT_DEVICES="evdev", so I haven't checked that. Could this be that?
_________________
Filip Gruszczyñski
Back to top
View user's profile Send private message
gruszczy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 100

PostPosted: Tue Apr 07, 2009 10:11 pm    Post subject: Reply with quote

I have noticed some additional odd behaviour: when I hit ctrl+alt+f1 I am not transfered to a console any more.
_________________
Filip Gruszczyñski
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Apr 07, 2009 11:18 pm    Post subject: Reply with quote

How does your xorg.conf look like ?
Do you have anything special in .xinit/.xsession ?
Anything DE specific ?
Back to top
View user's profile Send private message
gruszczy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 100

PostPosted: Wed Apr 08, 2009 7:28 am    Post subject: Reply with quote

Code:
Section "ServerLayout"
   Identifier   "X.Org Configured"
   Screen   0   "Screen0" 0 0
   InputDevice   "Keyboard0" "CoreKeyboard"
   InputDevice   "PS/2 Mouse" "AlwaysCore"
# Serial Mouse not detected
   InputDevice   "USB Mouse" "AlwaysCore"
   # InputDevice   "Synaptics" "AlwaysCore"
EndSection

Section "ServerFlags"
   Option   "AllowMouseOpenFail" "true"
   
EndSection

Section "Files"
   FontPath   "/usr/share/fonts/util"
   FontPath   "/usr/share/fonts/encodings"
   FontPath   "/usr/share/fonts/misc"
   FontPath   "/usr/share/fonts/local"
   FontPath   "/usr/share/fonts/terminus"
   FontPath   "/usr/share/fonts/corefonts"
   FontPath   "/usr/local/share/fonts"
   FontPath   "/usr/share/fonts/default"
   FontPath   "/usr/share/fonts/TTF"
   FontPath   "/usr/share/fonts/type1"
   FontPath   "/usr/share/fonts/100dpi"
   FontPath   "/usr/share/fonts/75dpi"
   FontPath   "/usr/share/fonts/arphicfonts"
   FontPath   "/usr/share/fonts/jisx0213"
   FontPath   "/usr/share/fonts/shinonome"
   FontPath   "/usr/share/fonts/baekmuk-fonts"
   FontPath   "/usr/share/fonts/kacst-fonts"
   FontPath   "/usr/share/fonts/sgi-fonts"
   FontPath   "/usr/share/fonts/unfonts"
   FontPath   "/usr/share/fonts/default/ghostscript"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-cp1251-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-isocyr-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8r-misc"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc:unscaled"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-100dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-75dpi"
   FontPath   "/usr/share/fonts/xfonts-cronyx-koi8u-misc"
EndSection

Section "Module"
   Load   "ddc"
   Load   "vbe"
   Load   "GLcore"
   Load   "dbe"
   Load   "dri"
   Load   "extmod"
   Load   "glx"
   Load   "bitmap"


   Load   "record"
EndSection

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver   "kbd"
   Option   "CoreKeyboard"
   Option   "XkbRules" "xorg"
   Option   "XkbModel" "pc105"
#   Option   "XkbOptions" "grp:toggle,grp_led:scroll"
   Option   "XkbVariant" "nodeadkeys"
   Option  "XkbLayout"  "pl2"
EndSection

Section "InputDevice"
   Identifier   "Serial Mouse"
   Driver   "mouse"
   Option   "Protocol" "Microsoft"
   Option   "Device" "/dev/ttyS0"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
   Identifier   "PS/2 Mouse"
   Driver   "mouse"
   Option   "Protocol" "IMPS/2"
   Option   "Device" "/dev/misc/psaux"
   Option   "Emulate3Buttons" "true"
   Option   "Emulate3Timeout" "70"
   Option   "SendCoreEvents"  "true"
   Option   "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier   "USB Mouse"
   Driver   "mouse"
   Option   "Device" "/dev/input/mice"
   Option   "SendCoreEvents" "true"
   Option   "Protocol" "IMPS/2"
   Option   "ZAxisMapping" "4 5"
   Option   "Buttons" "5"
EndSection

Section "InputDevice"
   Identifier   "Synaptics"
   Driver   "synaptics"
   Option   "Protocol" "event"
   Option   "Device" "/dev/input/event1"
   Option   "LeftEdge" "1900"
   Option   "RightEdge" "5400"
   Option   "TopEdge" "1900"
   Option   "BottomEdge" "4000"
   Option   "FingerLow" "25"
   Option   "FingerHigh" "30"
   Option   "MaxTapTime" "180"
   Option   "MaxTapMove" "220"
   Option   "VertScrollDelta" "100"
   Option   "MinSpeed" "0.02"
   Option   "MaxSpeed" "0.10"
   Option   "AccelFactor" "0.0010"
   Option   "SHMConfig" "on"
EndSection

# Auto-generated by mkxf86config

Section "Monitor"
   Identifier   "Monitor0"
   HorizSync    28.0 - 96.0
   VertRefresh  50.0 - 75.0
EndSection

Section "Device"
   ### Available Driver options are:-
   # sw_cursor is needed for some ati and radeon cards
   #Option     "sw_cursor"
   #Option     "hw_cursor"
   #Option     "NoAccel"
   #Option     "ShowCache"
   #Option     "ShadowFB"
   #Option     "UseFBDev"
   #Option     "Rotate"
   Identifier  "Card0"
   # The following line is auto-generated by x11-misc/mkxf86config
   # Driver      "i810"
   VendorName  "All"
   BoardName   "All"
   # BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Card0"
   Monitor   "Monitor0"
   DefaultColorDepth 24
   SubSection "Display"
      Depth   8
      Modes "1280x960" "1024x768" "800x600"
   EndSubSection
   SubSection "Display"
      Depth   16
      Modes "1280x960" "1024x768" "800x600"
   EndSubSection
   SubSection "Display"
      Depth   24
      Modes "1280x1024"
   EndSubSection
   SubSection "Display"
      Depth   32
      Modes "1280x1024"
   EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection


xsession-errors - nothing seems relevant

Code:

/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
SESSION_MANAGER=local/localhost:/tmp/.ICE-unix/5973
** Message: another SSH agent is running at: /tmp/ssh-ZjHvPz5973/agent.5973
1239175055.768603 Session manager: disconnected...
Ostrzeżenie menedżera okien: Nie można odczytać zapisanego pliku sesji "/home/gruszczy/.config/metacity/sessions/default0.ms": Nie można otworzyć pliku "/home/gruszczy/.config/metacity/sessions/default0.ms": Nie ma takiego pliku ani katalogu
Failed to play sound: Sound disabled

** (nautilus:6098): WARNING **: Unable to add monitor: Nieobsługiwane


Quote:
Anything DE specific ?


I really have no idea. Could you give some example of what could that be?

I'd really appreciate help on this. I am in the middle of wrtinig my thesis, and since it's written in polish, it's pretty inconvenient. I remember, there special ASCII codes for getting polish signs in LaTeX, but I remember that using it instead on natural typing is a great pain.
_________________
Filip Gruszczyñski
Back to top
View user's profile Send private message
g-user
n00b
n00b


Joined: 06 Apr 2009
Posts: 42
Location: United States of Russia

PostPosted: Wed Apr 08, 2009 8:22 am    Post subject: Reply with quote

personally i little confused with you
Quote:
Option "XkbLayout" "pl2"

How you switch to English? 8O Using DE-specific tools?
I use something like
Quote:
Option "XkbOptions" "grp_led:caps,grp:alt_shift_toggle,grp:lwin_toggle,menu_toggle:super_win"
Option "XkbLayout" "us,ru(winkeys)"

Quote:
I can't use polish signs

maybe it's not keyboard layout but font problem? hope this help
http://www.gentoo.org/doc/en/guide-localization.xml
http://www.gentoo-wiki.info/TIP_Speak_Your_Language
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Apr 08, 2009 12:01 pm    Post subject: Reply with quote

OK, at least you told, that you are using Gnome.
Actually, there no 'pl2' layout, it's 'pl',
'pl2' is a mapping for the console.
You've probably failed to follow the guide
and setup things correctly in hal.
As such, xorg sets your layout to us.
Setting it up is nearly trivial.
My file looks like this:
Code:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.keys">
          <merge key="input.x11_options.XkbRules" type="string">evdev</merge>
          <merge key="input.x11_options.XkbModel" type="string">evdev</merge>
          <merge key="input.x11_options.XkbLayout" type="string">pl</merge>
          <merge key="input.x11_options.XkbOptions" type="string">altwin:menu</merge>
    </match>
  </device>
</deviceinfo>


@g-user: what are you talking about ?
Polish is not Russian, no Cyrillic - no need to switch layouts.
Back to top
View user's profile Send private message
gruszczy
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2005
Posts: 100

PostPosted: Wed Apr 08, 2009 7:31 pm    Post subject: Reply with quote

It worked. Thanks a lot, I really appreciate that. I can get back to my thesis..
_________________
Filip Gruszczyñski
Back to top
View user's profile Send private message
g-user
n00b
n00b


Joined: 06 Apr 2009
Posts: 42
Location: United States of Russia

PostPosted: Wed Apr 08, 2009 7:57 pm    Post subject: Reply with quote

VoidMage No, it's just example changing keyboard layouts .. of course it must be "pl" in this case. Strange, i always think polish alphabet letters little different from us layout, so why no need to switch layouts while changing typing language? Maybe i'm don't understand something, still learning Linux. :)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Apr 08, 2009 10:19 pm    Post subject: Reply with quote

Well, as nearly everybody uses standard qwerty keyboards,
RightAlt+<some of the letters> is what pl layout provides.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum