LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-02-2004, 05:37 PM   #1
binboy35
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Distribution: Debian Sarge (kernel 2.4), Slackware 10.0
Posts: 20

Rep: Reputation: 0
modifying character fonts


Can someone help me on this one? When running Slackware, I have the console bash shell pre-configured and the character set is small, neat and color coded. It's set up this way during the installation process where you can choose an ordinary plain console or one configured based on your hardware. In my Debian setup, the letters are biggish and not clean looking and I have not seen such option to change this in the installation. In addition, the characters are all white and not colour coded like the're supposed to be for different types of directories. I'd like a similar sort of setup in my Debian system that I have in Slackware but not exactly sure what needs to be done to accomplish this. Any comment?
 
Old 11-02-2004, 05:59 PM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
Copy the ones you got in Slack and put in your ~/.Xresources.

Here are mine:

xterm*background: black
xterm*foreground: wheat
xterm*font: 10x20
xterm*scrollBar: true
xterm*leftScrollBar: true
xterm*saveLines: 20000
xterm*cursorColor: yellow

save/exit

as user:

$ xrdb -merge /home/username/.Xresources

or logout/login

if you want a different font, paste it at the bottom, post it, i'm looking for a different font, to use with Mutt.

Last edited by macondo; 11-02-2004 at 06:01 PM.
 
Old 11-02-2004, 06:10 PM   #3
binboy35
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Distribution: Debian Sarge (kernel 2.4), Slackware 10.0
Posts: 20

Original Poster
Rep: Reputation: 0
I'm not referring to X. Actually, I don't even have X installed in Slack. Press Ctrl-Alt-F1 and you get out of X. That's the environment I want to change. The raw bash console. Sorry, I should have been more specific.
 
Old 11-02-2004, 06:50 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The color support for the "ls" command is set in ~/.bashrc, which is read only by non-login shells (such as xterm). Login shells read ~/.bash_profile, where you should find lines for enabling ~/.bashrc also for login shells. If these lines are commented out, just uncomment them.

The easiest way to get smaller console fonts is to enable framebuffer console in the kernel line of /boot/grub/menu.lst. For my laptop's display "vga=791" works well but your monitor may work better with some other vga value.
 
Old 11-02-2004, 07:24 PM   #5
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
"I'm not referring to X. Actually, I don't even have X installed in Slack. Press Ctrl-Alt-F1 and you get out of X. That's the environment I want to change. The raw bash console. Sorry, I should have been more specific."

Sorry, my bad.
 
Old 11-02-2004, 09:38 PM   #6
binboy35
LQ Newbie
 
Registered: Sep 2004
Location: Canada
Distribution: Debian Sarge (kernel 2.4), Slackware 10.0
Posts: 20

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks for your help. I appreciate it.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
modifying the installer soybean pete Slackware - Installation 2 06-15-2005 04:30 PM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 11:11 AM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 05:02 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 06:41 AM
Modifying afterstep naima Programming 0 11-02-2001 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:50 PM.

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