LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2004, 08:26 AM   #1
rbp51
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
hello, can you help me?


i am a newbie using linux, and ive been having some problems in these first days
-my keyboard is set to be a us keyboard, i want it to be a pt keyboard, and i cant manage to change its settings
-I keep downloading and installing a plug in, but the sites that need that plug in keep asking me for it again and again..
-What program do i need to work with a file .bz2?
thank you for reading this post, if u can help, please do.
My linux version is Red Hat 7.2

Rui Pinheiro
 
Old 08-08-2004, 09:09 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
1. setxkbmap pt

2. What plugin?

3. bzip2/bunzip2
 
Old 08-08-2004, 09:42 AM   #3
Tamsco
Member
 
Registered: Jul 2004
Location: 1st Brillouin Zone
Distribution: Gentoo (not ricer Gentoo)
Posts: 165

Rep: Reputation: 30
To clarify on #3. those are commands you type in from terminal, not external programs to download. Unlike windows, linux has compression support built in.
 
Old 08-08-2004, 10:17 AM   #4
valencequark
Member
 
Registered: Aug 2004
Location: greater dc metro area
Distribution: various, mostly fedora
Posts: 79

Rep: Reputation: 16
Re: hello, can you help me?

Quote:
Originally posted by rbp51
i am a newbie using linux, and ive been having some problems in these first days
-my keyboard is set to be a us keyboard, i want it to be a pt keyboard, and i cant manage to change its settings
-I keep downloading and installing a plug in, but the sites that need that plug in keep asking me for it again and again..
-What program do i need to work with a file .bz2?
thank you for reading this post, if u can help, please do.
My linux version is Red Hat 7.2

Rui Pinheiro

also regarding point three: if you have a bzipped tarball on your hands, then you can use the tar command to take care of the unzip. the flag for a bzipped file is a j. an example of this:
tar -xjf filename.tar.bz2 (f for filename, j for bunzip, x for extract)

good luck

--vq
 
Old 08-09-2004, 07:19 AM   #5
rbp51
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hi, tks for your help! still some doubts remain:
-my keyboard is set to be a us keyboard, i want it to be a pt keyboard, and i cant manage to change its settingssetxkbmap pt
.. ok done! but when i rebooted the machine this morning i had to do it again, is there any way to make it permanent?

2. What plugin?
Java 2 Plug-in Version 1.3

-What program do i need to work with a file .bz2?
ok, got it!

Another doubt:
my screen resolution is very low by now, i want to change it but i dont know why.. can u help?
 
Old 08-09-2004, 09:11 AM   #6
valencequark
Member
 
Registered: Aug 2004
Location: greater dc metro area
Distribution: various, mostly fedora
Posts: 79

Rep: Reputation: 16
Quote:
Originally posted by rbp51
Hi, tks for your help! still some doubts remain:
-my keyboard is set to be a us keyboard, i want it to be a pt keyboard, and i cant manage to change its settingssetxkbmap pt
.. ok done! but when i rebooted the machine this morning i had to do it again, is there any way to make it permanent?

2. What plugin?
Java 2 Plug-in Version 1.3

-What program do i need to work with a file .bz2?
ok, got it!

Another doubt:
my screen resolution is very low by now, i want to change it but i dont know why.. can u help?
you can make the keyboard (semi-)permanent by adding the command to your .bashrc file (assuming that bash is your default shell).

as for the screen resolution, you can use the xconfigurator tool (somewhere in the gui menu) or i think you can check your xfree86 config file.

g'day
--vq
 
Old 08-09-2004, 02:00 PM   #7
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
1.

There is probably some graphical tool to modify your X configuration in your distribution, but effectively what needs to be done (either with a graphical tool, or manually) is that file /etc/X11/XF86Config-4 has to be edited.

There is something like
Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection
Replace from the XkbLayout line the "us" to "pt" and that should be it.

What comes to the display settings, there should be a Section "screen" in the same file and there should be lines like
Code:
        SubSection "Display"
                Depth           16
                Modes           "1600x1200" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
        EndSubSection
to have resolutions ranging from 1600x1200 to 640x480.
Again, there is probably a graphical tool for doing this (the same tool that sets your keyboard layout).

2.
I recommend finding a java runtime environment (nicest if it is available in rpm format) and install it instead. You will get the plugin support as a byproduct.
 
Old 08-10-2004, 07:42 AM   #8
rbp51
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Hello, once again, thanks for all your help, still some doubts remain:
1 how do i edit that file? /etc/X11/XF86Config-4
I have found the file, i managed to see the text i need to change, but i cant edit it

2 i think i have the java environment installed, how can i check if it really is?
Only my navigator is responding to the changes, not mozilla, is there something i need to do?

A new one:
Installing a program by ./configure, it asks me for a C compiler, can you tell me the best one to get?
 
Old 08-10-2004, 08:57 AM   #9
valencequark
Member
 
Registered: Aug 2004
Location: greater dc metro area
Distribution: various, mostly fedora
Posts: 79

Rep: Reputation: 16
Quote:
Originally posted by rbp51
Hello, once again, thanks for all your help, still some doubts remain:
1 how do i edit that file? /etc/X11/XF86Config-4
I have found the file, i managed to see the text i need to change, but i cant edit it

2 i think i have the java environment installed, how can i check if it really is?
Only my navigator is responding to the changes, not mozilla, is there something i need to do?

A new one:
Installing a program by ./configure, it asks me for a C compiler, can you tell me the best one to get?

*->you need to be root to edit the xf86config file.

*-> not sure about the java. did you check mozilla.org? i know you can get flash player, quicktime codecs, windoze media codecs and other stuff for mozilla there.

*-> you should have a c compiler on your system (the gnu c compiler), as that is how the kernel is compiled so far as i know. if you go to gnu.org you can get the latest version of gcc.

--vq
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration