Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-10-2006, 05:12 PM
|
#1
|
Member
Registered: Mar 2006
Location: currently in Warsaw, Poland
Distribution: Slackware 10.2 & XP
Posts: 62
Rep:
|
no fonts under non-root user
hi!
i've reinstalled slack today, configured it and after that created user account.
i need cyrillic for my everyday work so i configured it under root (and it works... under root). when i log in as user all the changes are present in configuration files (xorg.conf), but i can't see webpages in cyrillic (i talk here only about webpages - i can't check anywhere else). everything looks like the changes haven't been made.
thanks in advance
|
|
|
04-10-2006, 05:18 PM
|
#2
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
How did you configure the font? Did you add it to the fonts served by xfs? I think xfs is part of the main X server these days.
Peace...
|
|
|
04-10-2006, 05:40 PM
|
#3
|
Member
Registered: Mar 2006
Location: currently in Warsaw, Poland
Distribution: Slackware 10.2 & XP
Posts: 62
Original Poster
Rep:
|
i copied mustdie fonts to /usr/X11R6/lib/X11/fonts/TTF
added: "XkbLayout" "us,ru"
"XkbVariant" ",winkeys"
"XkbOptions" "grp:alt_shift_toggle, grp_led:scroll" (it had to change language switching to alt+shift, i guess, but it didn't work)
to xorg.conf
deleted fonts.cache-1 in /usr/X11R6/lib/X11/fonts/TTF and /usr/X11R6/lib/X11/fonts/Type1
and ran /usr/X11R6/bin/fc-cache
plus REBOOT
P.S. under root everything works perfectly (without including language change)
Last edited by deggial; 04-10-2006 at 05:42 PM.
|
|
|
04-10-2006, 06:19 PM
|
#4
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Looks like you got the font installed ok. Bizarre.
Do you have your system set to bot into runlevel 4 or 5 (a X runlevel) or do you start X manually vai startx?
Peace...
|
|
|
04-10-2006, 06:27 PM
|
#5
|
Member
Registered: Mar 2006
Location: currently in Warsaw, Poland
Distribution: Slackware 10.2 & XP
Posts: 62
Original Poster
Rep:
|
i always boot into 3 level, and only then i startx
P.S. do you have any ideas how to switch languages by alt shift (the method i presented above doesn't work)
|
|
|
04-10-2006, 07:00 PM
|
#6
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
Originally Posted by deggial
i always boot into 3 level, and only then i startx
|
Ok. When you run "startx" as a regular user, X starts but you don't get all your fonts.
What happens if you login as a regular user, su to root and issue "init 4" (I believe runlevel 4 is still the runlevel for X in Slack)?
Quote:
P.S. do you have any ideas how to switch languages by alt shift (the method i presented above doesn't work)
|
Sorry, I don't switch languages.
Peace...
|
|
|
04-11-2006, 12:31 AM
|
#7
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Firstly, do you have X11-fonts-cyrillic installed? They should be necessary for you.
Check permissions of TTF folder and its contents.
"XkbVariant" ",winkeys" - what's that for? Try commenting them out and check if it helps.
BTW, your language could be changed by issuing setxkbmap lng.
|
|
|
04-11-2006, 09:13 AM
|
#8
|
Member
Registered: Mar 2006
Location: currently in Warsaw, Poland
Distribution: Slackware 10.2 & XP
Posts: 62
Original Poster
Rep:
|
thanks!
i had to change file permissions in order to be able to see all my fonts under user...
"XkbVariant" ",winkeys" - this option i found in one HOWTO dedicated fonts installation and it is part of it.
setxkbmap lng - how do you use it? what is it? i don't have it in xorg.conf
|
|
|
04-11-2006, 11:30 AM
|
#9
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
That's a program. When you run it in console, it changes language. Example, & setxkbmap lt - now my language becomes Lithuanian (I can write in it). I asked about xkbvariant because I am not sure whether it doesn't affect xkbotptions work. It may be why alt+shift do not work.
Last edited by Alien_Hominid; 04-11-2006 at 11:31 AM.
|
|
|
All times are GMT -5. The time now is 07:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|