! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Command-line options to change foreground/background colours
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-terminal
Component:
General

Comments

Description Robert Rothenberg 2009-02-01 20:23:11 CET
It would be nice to have a means of changing the colours using the command-line (either explicitly specifying the colours, as with xterm, or specifying a profile, as with roxterm or gnome-terminal).

I use a script to open different terminals in different colours, based on how many existing terminal windows are open on the desktop. I've gotten this idea from colleagues who do something similar.  For some of us who work with multiple terminals on a desktop, this is a helpful way of quickly identifying which terminal is connected to which server.
Comment 1 Srdjan 2011-05-18 13:54:23 CEST
Also, it would be great to have means of changing the colours dynamically from the terminal itself. Utilities that do that for other terminals:
xtermcontrol
dbus-send (roxterm)
Comment 2 Igor editbugs 2018-04-13 20:47:22 CEST
*** Bug 14328 has been marked as a duplicate of this bug. ***
Comment 3 Git Bot editbugs 2018-04-15 03:57:28 CEST
Igor referenced this bugreport in commit ea503ad545b815f8f9642f53d404cf082c3ed55d

Add command line options for setting text (foreground) and backround colors

https://git.xfce.org/apps/xfce4-terminal/commit?id=ea503ad545b815f8f9642f53d404cf082c3ed55d
Comment 4 Igor editbugs 2018-04-15 03:58:24 CEST
Added options --color-text and --color-bg.
The options parameters should describe a color per the following specification: https://developer.gnome.org/gdk3/stable/gdk3-RGBA-Colors.html#gdk-rgba-parse

Bug #4887

Reported by:
Robert Rothenberg
Reported on: 2009-02-01
Last modified on: 2018-04-15
Duplicates (1):
  • 14328 Add a command line option to set a background color [Feature Request]

People

Assignee:
Nick Schermer
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information