- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- konsole: How to set background color?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 01:41 AM
тАО01-28-2004 01:41 AM
konsole: How to set background color?
I like to choose background/foreground colors starting the konsole from the shell. 'konsole --help-qt' tells how to do (quite similar to e.g. xterm -bg red -fg green). But 'konsole --bg red --fg green' does not work. I use the color names listed in /usr/lib/X11/rgb.txt. This color list works as 'xcolors' shows them all.
How do I set background/foreground colors starting konsole from the shell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 01:46 AM
тАО01-28-2004 01:46 AM
Re: konsole: How to set background color?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 01:51 AM
тАО01-28-2004 01:51 AM
Re: konsole: How to set background color?
Settings -> schema -> your_choice
personnaly its "green on black" and I use ls colors for more readable listings. Along with a cool $PS1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:03 AM
тАО01-28-2004 02:03 AM
Re: konsole: How to set background color?
You could even have a little script called "mykonsole" which looks a bit like this to get a random schema each time you start konsole
IND=$RANDOM
IND=`echo $RANDOM | cut -c${#IND}`
schema[0]=red
schema[1]=blue
schema[2]=red
schema[3]=green
schama[4]=green
schame[5]=blue
schema[6]=yellow
schama[7]=cyan
schema[8]=red
schema[9]=blue
konsole --schema ${schema[$IND]}"$@"
I think I should have done this in perl :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:09 AM
тАО01-28-2004 02:09 AM
Re: konsole: How to set background color?
right click -> Settings -> Configure Konsole
in the 'Colors' box choose the Shell Color n.1 and the Konsole Color you prefer.
hth!
Ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:12 AM
тАО01-28-2004 02:12 AM
Re: konsole: How to set background color?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:39 AM
тАО01-28-2004 02:39 AM
Re: konsole: How to set background color?
The option '--schema' is not documented and produces the error message "unknown option". I am using SuSE Linux 8.1, KDE 3.0.5, Konsole 1.1.3. Other idea?
Claudio, G. Vrijhoeven:
Thanks. But as I mentioned I like to set colors by calling konsole from the shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 02:47 AM
тАО01-28-2004 02:47 AM
Re: konsole: How to set background color?
Before doing my hack, I had a little script as a wrapper around konsole that just copied random schemas to the default one that I was using and then started the real konsole. This is only practical if you create a few schemas and save them. That way you are copying stuff in "$HOME/.kde/share/apps/konsole" rather than the system wide one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 03:27 AM
тАО01-28-2004 03:27 AM
Re: konsole: How to set background color?
$ konsole --schema
you don't need the full path of the .schema file, just the name of the schema; this works for me (RH9, kde 3.1-10).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 06:59 AM
тАО01-28-2004 06:59 AM
Re: konsole: How to set background color?
this is on SuSE 8.2 with
konsole --version
Qt: 3.1.1
KDE: 3.1.1
Konsole: 1.2.1
To create a new schema, use Setiings->Configure Konsole . Build the schema to your liking, save it with a new name (e.g. i used MPJZ which produced file MPJZ.schema), then invoke a new konsole as konsole --schema
HTH, Martin