Software :: Configure Xterm Colors If Xterm Can Support 256 Colors?

Jul 3, 2009

I have a xterm which can have 256 colors. How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?

View 4 Replies


ADVERTISEMENT

General :: Setting Custom LS Colors In Xterm?

Jul 17, 2011

I'm having difficulty setting custom ls colors in xterm. If I understand it right one can edit the system-wide file located in /etc/DIR_COLORS to modify every terminal or customize xterm; I chose xterm mostly because the other terminals I never use. Here is my .bash_profile and .bashrc respectively:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

if [ -f /etc/bashrc ]; then
source /etc/bashrc
fi

alias ls='ls --color -F'
PS1='[e[1;32m][u@h:w]$[e[0m] '

When I use the login shell, the colors are different than xterm in that they are not as bright; furthermore, I marked out bold fonts in .Xresources:
!xterm colors
xterm*foreground: #d3d3d3
xterm*background: #000000
xterm*boldColors: false
xterm*cursorBlink: true
xterm*cursorColor: white
xterm*loginShell: false
xterm*faceName: Liberation Mono
xterm*faceSize: 10

So, there must be a file around somewhere that is changing the colors between the interactive and login shells. Also,
man xterm:
color6 (class Color6)
color7 (class Color7)

These specify the colors for the ISO-6429 extension. The defaults are, respectively, black, red3, green3, yellow3, a customizable dark blue, magenta3, cyan3 and gray90. The default shades of color are chosen to allow the colors 8-15 to be used as brighter versions. How does that get anyone anywhere with setting the color? It doesn't say what color (class) is assigned to which file specifically, thus adhering to the distribution-wide color codes. Perhaps I am making this more difficult than it should be.

View 4 Replies View Related

Software :: Can't Set Xterm Background/foreground Colors Properly Using Slackware?

Aug 19, 2009

I've read about this. Everyone says to use ~/.Xresources or ~/.Xdefaults, and it doesn't work for me. It doesn't do anything at all, in fact. I'm trying to use this:

Code:

XTerm*background: black
XTerm*foreground: white

In the ~/.X* files, it won't work. I read that another way of doing it is using

Code:

xrdb -merge .x_settings_file

This will work for me. It's the only thing I can get to work. But when I restart, it will have to be done again. I'm using Slackware 12.2.

View 1 Replies View Related

Ubuntu :: Make The Xterm Fullscreen And Have The Same White/purple Colors As Gnome-terminal In 10.04?

Jun 6, 2010

I wondered if whether there is any way to make the xterm fullscreen and have the same white/purple colors as gnome-terminal in 10.04.I already know how to modify the command for the xterm session, but I want to know what options to give xterm to get the fullscreen white/purple look.

View 4 Replies View Related

Slackware :: Intel Graphics / Vertical Lines From Xpdf/gv Under Xterm Stick To Xterm Window Making It Unreadable?

Jun 13, 2011

Start xpdf or gv. Click an xterm to be active and slide it over xpdf/gv. Vertical lines from xpdf/gv under the xterm stick to the xterm window above and make it unreadable.

The problem does NOT show with KDE default settings with display effects on but does show in fvwm, xfce etc, and in KDE without effects.

On a system with a Sandy Bridge integrated graphics (i5-2400) the problem went away by downgrading to xf86-video-intel-2.13.0. But it was not enough for another system with 945G which needed downgrading to xf86-video-intel-2.12.0.

View 3 Replies View Related

General :: How To Copy Things In Xterm And Paste Them Outside Of Xterm

May 2, 2011

i have fluxbox and i need to know how to copy things in xterm and paste them outside of xterm.

View 2 Replies View Related

General :: Configure Files For Xterm?

May 4, 2010

Is there any config files for xterm for default settings? For example, on my system, xterm start with black text on white background, and I want it the other way around. I can do it by starting it with:

xterm -bg black -fg white.

I want to set in a config file that if I run it without arguments, it will start with these options.

View 1 Replies View Related

General :: Get Putty To Support 256 Colors In Emacs On CentOS?

Jan 21, 2011

As far as I can tell from browsing around, I should be getting 256 colors in my Emacs, but I'm not. I'm running CentOS 5.4 on an ec2 instance. I'm running Putty 0.60 on Windows 7. Putty is set to send xterm-256color for its terminal string. Putty is set to allow 256 colors. On CentOS, my $TERM is set to xterm-256color.

tput colors shows 256. I recompiled Emacs to 23.2, making sure to install libtermcap-devel beforehand, because someone claimed they needed that. But still, when I M-x list-colors-display in Emacs, it only shows 8 colors.

View 1 Replies View Related

Ubuntu :: Xterm XT Error: Can't Open Display: Xterm: Display Is Not Set

Aug 20, 2010

I've just installed xterm, ant trying to run it from my windows machine using ssh. I have X11Forwarding yes on /etc/ssh/sshd_config when I use, MobaXterm, np, I can use xterm after I log ssh -X xxx

but when I use Cygwin, and do ssh -X xxx, and then xterm, I have: xterm XT error : Can't open display: xterm: Display is not set

View 3 Replies View Related

Software :: Configure The Display Monitor To Set 256 Colors In Linux Fedora?

Mar 30, 2010

I'm using Fedora 12 on a Virtual Machine (VM Player).

How do I configure the display monitor to set 256 Colors in Linux Fedora?

View 1 Replies View Related

General :: What Is Xterm And How To Use It

May 14, 2010

I am beginner for linux. I wanted to ask something about xterm.
1. what is xterm?
2. what is the use of xterm and how can we use it.

View 2 Replies View Related

Fedora :: No Sound With Xterm

Apr 28, 2011

I have a normal computer installed (F14, 32 bits) with a sound card correctly installed. In a normal configuration into runlevel 5, I can play sound and the sound card is visible from the gnome-volume-control window.
I should modify the computer running a naked X server (without window manager and other stuff) and two applications (an xterm and a special application managing sounds). The last application is a text based application and could run on a text console. I have the X server running because I display picture sent from another computer. Currently the computer boots on runlevel 3 and logs in automatically. If I start manually my special application, it runs fine. I create a .xinitrc script with the xterm command and I change the .bashrc calling xinit. Each application runs well independently. My problem is when I try running my special sound application from the xterm window. I have no sound. If a run the gnome-volume-control command, the program shows that no sound card is available.

I suppose the X server removes the original sound configuration of the text mode during its initialization and could not initialize correctly after that the sound card.

how it is possible to initialize the sound card manually into the X server? Do I need running some gnome command before I can call my application?

View 3 Replies View Related

Fedora :: Cant Run As Root From Xterm

May 14, 2011

I am running Fedora 14 and have run into a new problem. If I do either "su -" and enter password, or, "sudo su -" the terminal stops. I put a set -x in roots .bashrc and nothing. Login from a vt works and loging in as root from gdm produces nothing.

View 6 Replies View Related

OpenSUSE :: Xterm: DISPLAY Is Not Set

Mar 25, 2010

I use Putty from my machine (named host1) to ssh into an OpenSUSE box (named box1) and would like to have a gui to use. I am trying to issue xterm and am getting the following error:

xterm Xt error: Can't open display:
xterm: DISPLAY is not set

View 5 Replies View Related

Ubuntu :: Need Alternative For Xterm

Nov 10, 2010

I'm using Lucid 10.04 and usually ssh to many unix server. I have created aliases with server name, that executes xterm command as below.

I'm getting frustrated by inability to copy and paste using keyboard shortcuts, always have to use middle button. Is there any alternative out there?

View 5 Replies View Related

Ubuntu :: Xterm Not Refreshing ?

May 17, 2011

I recently upgraded from xubuntu 9.04 to 11.04, and it seems xterm is either incorrectly configured for the new desktop or not working right. After a bit of typing, xterm stops refreshing, and only the first few chars or words are shown until I manually refresh xterm (then, whatever I'd written shows up correctly).

Steps to reproduce
1. Open xterm, basic command prompt shows up
2. Type "hello, this is a test", xterm only shows "hello, th"
3. Press 'ctrl-l' or click outside the xterm window, xterm updates with full "hello, this is a test"

Already tried dpkg-reconfigure with no success.

Attached is the output from "appres XTerm" and "infocmp"

View 4 Replies View Related

General :: Cannot Get Rid Of Xterm Processes

Jul 26, 2010

I had this error when installing and running a vncserver before, which I have now removed. However, the xterm's seem to remain in the system and are regenerating themselves. Should the pid IDs stay the same each time I run this?

Code:
[root nxserver]# pidof xterm
15034 15033 15032 15031 15030 15029 15028 15027 15026
[root nxserver]# pidof xterm
15044 15043 15042 15041 15040 15039 15038 15037 15036

[Code].....

View 10 Replies View Related

General :: How To Find Out What Xterm Is In Use

Jul 28, 2010

Is there a command to find out on what xterm I am (gnome, kdm, etc)? I currently have Ubuntu 10.04 LTS.

View 2 Replies View Related

Programming :: Using Subshell In Another Xterm

Sep 8, 2010

I want to run some parts of a script in different terminals. I already found about subshell, () using parenthesis to group commands and using xterm -e (function), problem is I cannot get pid for the function running in the other terminal. And if I use & to set the job in background the terminal goes away as soon as it ends the job. I am using log files, and then send it them using built in mail. After all the parts finish I have to run the "main" script which needs the data from all the pieces. Also other question, i usually use bash, but to load a tool i need csh, the tool is not mine so i can not change the csh usage. There is anyway of passing bash scripts/commands at the moment of changing/invoking to csh shell in the same console?

View 14 Replies View Related

Fedora :: Unable To Set Title On Xterm?

Dec 30, 2009

The usual operations in starting the xterm app don't seem to apply in Fedora 12. I usually prefer to put my own title and other attributes when starting an xterm. But the operation: xterm -T 'Some Title' does not do anything. Instead, the current directory is always displayed in the title bar of the window (on kde). Where is the resource file to disable this default behavior?

View 6 Replies View Related

Fedora :: Error While Launching Xterm?

Feb 21, 2011

On FC14, launching xterm gives log:[b16394@udp158975uds ~]$ xterm Warning: Cannot convert string "nil2" to type FontStructxterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

View 2 Replies View Related

OpenSUSE :: Improve XTerm On XFCE?

Jan 9, 2011

on OpenSuse 11.3 installed first KDE Desktop but my desktop Pentium 4 2.2Ghz is really slow... with XFCE work perfectly but XTerm is very poor. Cut and Paste text selection don't wok, like Mouse selection and font.

How improve features of XTerm XFCE?

View 8 Replies View Related

General :: Alt-d Alt-f Etc. Stops Working In Xterm?

May 18, 2011

Something weird sometimes happens on my Debian system. Typically at the prompt line I can use combo like alt-d to delete a word, alt-f to go to the next word, etc. But quite regularly something happens in my xterm that makes alt-d and alt-f not work anymore: suddenly they print 'ä' (alt-d) and 'æ' (alt-f).

Note that this happens in a terminal that was acting like I wanted to at first. But then somehow must send a code or something that changes the behavior of the terminal. It happens in xterm because that's where I always work. If I go to a console by doing ctrl+alt+f1 then by default alt-d does what I want (delete word) and so does alt-f. Maybe that I could screw that one too by doing some bad manipulation: I just don't know because I don't work in text mode.

Also note that if I spawn an xterm from the "broken" xterm, then the new xterm work as I expect. What is going on? What am I turning on that was off previously? My .Xresources says that and, once again, when I open an xterm it behaves as I expect it, it's only later on that "something" makes that it goes back to broken "I-print-characters-with-diacritics-and-other-nonsense" mode:

$ more .Xresources
XTerm.vt100.eightBitInput: false
XTerm*eightBitInput: False

View 2 Replies View Related

Ubuntu :: Aterm And Xterm Freezes With C-x C-s?

Aug 3, 2010

When I press Control-x Control-s in an open aterm or xterm emulator, it freezes and I have to kill the process in order to exit/close the window.

View 2 Replies View Related

Ubuntu :: Unable To Log On To Xterm Session

Apr 22, 2011

running Xubuntu 10.04 here. After installing and removing some packages in package manager I'm finding after reboot I cannot logon to the computer. When the correct password is entered the screen goes to black briefly then returns to the logon screen. It appears I can only logon to an xterm session. how to proceed next?

View 1 Replies View Related

Red Hat / Fedora :: Xterm Config In /etc/bashrc?

Oct 18, 2010

The following line is in the /etc/bashrc file. I was trying to decipher it but no google results explain it in detail.PROMPT_COMMAND='echo -ne 33]0;${USER}${HOSTNAME%%.*}:${PWD/#$HOME/~}07"'I understand that 33 is the ASCII character for ESC but not sure what ]0 does or anything after the HOSTNAME variable.

View 1 Replies View Related

Red Hat / Fedora :: Remove Xterm From Startup?

Feb 19, 2011

when I start my redhat 4, there are always two xterm prompts. i just want to see a clean desktop when I start up. I checked my rc.local and .cshrc file. there is no clue on it. remove these two xterm?

View 9 Replies View Related

Debian :: Xterm Vim All Vanilla In New Install?

Jul 7, 2009

I've newly installed Lenny and I find that xterm doesn't have tabs or pretty colours. Vim is also colourless. Is this a conscious effort by Debian to strip back the install to it's most utilitarian? Or am I using the wrong versions of each app?

View 3 Replies View Related

General :: Check The O/p Of Xterm Logfile?

Oct 25, 2010

i am trying to run xterm command in linux.it opens one pop-up window and closes when we close that terminal.I want to store it like a file.

$ xterm -l -lf "test"

but test is not storing any where? how to configure this?

View 2 Replies View Related

General :: Launching Applications In Xterm?

Jul 19, 2011

I've search around and looked at the man page but can't seem to figure this out.. using fluxbox one can click an application in the menu and it opens without a supporting terminal. However, if I open xpdf in the terminal, xpdf launches and the terminal waits for it to exit... my question is, what is the command to hide the terminal and just launch the application?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved