DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th July 2010
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default How to change terminal color (Openbox)?

Hello. I'm trying to find some info on how to change the terminal background and fonts color in Openbox. I found some useful guides but they don't explain why someone's taking those steps.

I'm just looking for a black background with green default fonts.

Can someone provide me with some info? Thank you.

[edit]: I'm using OpenBSD 4.7 w/ Openbox 3.4
Reply With Quote
  #2   (View Single Post)  
Old 13th July 2010
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Openbox has nothing to do here (its only a window manager), check configuration of Your terminal, what terminal You use? (xterm/urxvt/rxvt/mrxvt/...)
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #3   (View Single Post)  
Old 13th July 2010
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

I'm using xterm. I can do it with
Code:
xterm -fg green  -bg black +sb
but I don't know how to make this work from boot.
Reply With Quote
  #4   (View Single Post)  
Old 13th July 2010
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,052
Thanked 118 Times in 93 Posts
Default

Use ~/.Xdefaults file mate, here You have (mine) example:
http://strony.toya.net.pl/~vermaden/text/dot.Xdefaults
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #5   (View Single Post)  
Old 13th July 2010
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

Thank you for your help! Off to experiment then.
Reply With Quote
  #6   (View Single Post)  
Old 13th July 2010
klanger klanger is offline
Port Guard
 
Join Date: May 2010
Posts: 29
Thanked 1 Time in 1 Post
Default

You can also add
Code:
xterm -fg green  -bg black +sb
with obmenu to your openbox menu config file (or your keybindings), if you want xterm with those options only in OpenBox. It is a small "workaround" for sure vermaden's way is more "clean".
Reply With Quote
  #7   (View Single Post)  
Old 14th July 2010
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by klanger View Post
You can also add
Code:
xterm -fg green  -bg black +sb
with obmenu to your openbox menu config file (or your keybindings), if you want xterm with those options only in OpenBox. It is a small "workaround" for sure vermaden's way is more "clean".
Thank you. I figured that. But the thing is that I'm using openbox only. So I went with Vermaden's approach.

I used many combinations but I think I'll stay with just green on black background. Even more minimal.
Reply With Quote
Reply

Tags
4.7, openbox, openbsd

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default terminal color disappearedng FreeBSD General 5 21st February 2012 01:28 AM
HOWTO: Encoding // Pure Terminal // Virtual Terminal vermaden Guides 1 25th June 2010 08:02 AM
DE Forging (Openbox) greencross FreeBSD Ports and Packages 2 25th September 2008 07:02 AM
Color shell? giga FreeBSD General 3 14th August 2008 12:07 AM
How to change Fluxbox menu text color rex FreeBSD General 1 11th May 2008 02:40 AM


All times are GMT. The time now is 12:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick