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

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

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


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 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:


XTerm*background: black
XTerm*foreground: white

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


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

General :: Setting Up An OS For Custom In Car PC?

Oct 24, 2009

Basically the computer will have to do nothing other than run some custom software that interfaces with the vehicle's systems via a USB FDTI board and render to an 8" touch screen via OpenGL. User input will be via the said touchscreen, and audio output will eventually come into the equation. The target vehicle(s) will be extensively modified for the project, and I'm hoping the software will eventually override features such as the immobiliser, so an extremely fast boot time will be essential.

I have one of those Via C7 fully integrated mini ITX motherboards, much of the onboard hardware will be useless besides two USB ports and a SATA port, so could be completely removed from the kernel if necessary to achieve a fast boot. If some BIOS hacking is required I'd happily look at that too. I'm a recently graduated software engineer, and can comfortably use Linux (I'm using openSUSE for developing the software) but don't have a clue where to start with the OS; if I should be downloading and modifying an existing distro or trying to build one from scratch somehow?

View 4 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

Ubuntu :: Unable To Select OS After Setting Colors In Grub 2?

Apr 25, 2010

I'm using Karmic with Grub 2 (1.97b4) I have this strange problem going on and believe it might be a bug so if no resolution will file it on Launchpad. Whats happening is this:when I installed Karmic fresh a couple of months ago I never did anything with customising the Grub splash screen. I just stuck with the boring black/white and if I wanted to got to Memtest or my little used Win XP partition would just hit the down arrow when the Grub Splash appeared and go there.A couple of days ago I decided to add some custom colors to the splash screen as outlined in the Grub 2 documentation. I did this to both my desktop (Acer Aspire L100) and my laptop (Compaq) Everything looks fine except for one thing. On the desktop if I hit the down arrow (or any other key) it immediately boots the first option which of course is Karmic. It should have paused the timer and allowed me to scroll down. What this means is I can only boot Karmic at this time. This is only happening on the desktop!

View 1 Replies View Related

Red Hat :: Setting A Custom PS1 For Users?

Sep 7, 2010

I have a custom PS1 that I would like to use for my user account however when I view my users .bashrc file, there is no line entry there for 'PS1='. Can someone please tell me if I have my own custom user PS1 line entry, where do I place it so I can have some extra function and colors in my RHEL 5 system.

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

Ubuntu :: Setting Up CUSTOM Screen Resolution?

Mar 18, 2011

I have ubuntu 10.10 installed on my computer in dual boot with windows 7, but i am using a 27-inches Samsung screen through an hdmi cable to connect my computer. whenever i try getting on ubuntu, i cannot see the top and bottom of the desktop (so i cant access the menu bar or anything!)(while using my spare vga cable) i tried downloading the nvidia driver & utility for my video card (gtx 460), but even using that, i could not setup my screen resolution manually. When i setup my windows, i was able to manually setup a custom resolution (i.e. 1842x1026) through the nvidia utility to be able to get the screen the fit properly.

I was wondering if there is any way i could do the same for ubuntu, perhaps through terminal.

View 6 Replies View Related

Ubuntu :: Setting Custom Default Applications In 11.04?

Apr 30, 2011

I'm trying to set the default apps using gnome-default-applications-properties. In previous versions I was able to set custom apps for everything. Looks like Gnome3/Ubuntu 11.04 doesn't let me do that for, say, the mail reader. I'm one of those people who still use Alpine, and in previous versions I was able to set the default to run an xterm (well, aterm) which auto-ran alpine.

This version, looks like that's not there. I'm wondering if there's a way to set that anyway. like registering a script I write as a "mail client" so it's available in the chooser. Second... and almost MORE annoying... the "Terminal Emulator" default app DOES have a custom option. But it also recognises that I have aterm installed, which I want to use as the default app... however, since it has an aterm option, it won't let me enter aterm as a default command. Which I want to do because I want to modify the commandline options. But if you choose "Custom" and type "aterm" into the Command field... it ERASES your commandline options and puts it's default sterm options in!

View 6 Replies View Related

Ubuntu :: Elementary GTK Theme - Setting Custom Background

Jul 29, 2011

I am using the elementary gtk theme, but I wanted to have my gnome-panel have a set custom background, so I went into the 'gtkrc' and commented out "#include "Apps/panel.rc"". This worked perfectly but, the right click menus and drop down menus changed color which conflict with the icons that I am using.

View 1 Replies View Related

Fedora Installation :: Didn't Make Custom Setting Changes To Partitions

Sep 23, 2009

I installed Fedora 11 on a server with 2 equal sized disks. I used the gui installer and didn't make custom setting changes to the partitions. One of the steps asked for me to choose the disks i wanted to use for this installation. I selected both disks and after the installation Fedora only sees one volume the size of both disks combined.Do I now have software raid0 or do I have something else?

View 3 Replies View Related

OpenSUSE Network :: Setting Up Custom FTP Servers - Access To The Cstrike Folde Via A Ftp Login

Apr 2, 2010

I dont know were to begin to solve my problem and I have been googling for hours to get a hint without any success. I'm runnning a Counterstrike Server on my virtual openSuse server - I'm exploring so don't justify what I am hosting at the moment

I want to make it possible to gain access to the cstrike folde via a ftp login. But I really have no idea were to start. The server is also a webserver, where I can ass FTP accounts for my apache vhosts via plesk - but I dont think this is the solution of my problem, isn't it?

View 2 Replies View Related

OpenSUSE Hardware :: Custom Resolution Setting With NVidia Graphic Hardware?

Jun 8, 2011

Whenever I login or restart the computer, my resolution gets reset. I think it may have to do with my setup being connected to a 18.5" HDTV. Is there a way to set custom resolutions in the OS, so that Nvidia and OpenSUSE can recognize them?

03:00.0 VGA compatible controller [0300]: nVidia Corporation ION LE VGA [10de:087e] (rev b1)
Subsystem: Acer Incorporated [ALI] Device [1025:0222]
Kernel driver in use: nvidia

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

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

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?

[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


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

General :: Get Colors In Terminal?

Mar 8, 2010

I am connecting to a remote suse 10.0 machine, and I do not get colors on the terminal, while I get them when I connect to a remote Ubuntu machine.

How can I do to get colors on the suse terminal?

View 4 Replies View Related

General :: Get Colors In 'less'' Command?

Mar 9, 2010

when I read a file in Linux with the command 'less' or 'more', how can I get the content in colors?

View 5 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 :: 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

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

Oct 25, 2010

i am trying to run xterm command in 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

General :: Monitor Colors Too Bright

Oct 13, 2010

I installed memory card now monitor colors has been adjused to light blue and white. Tried control panel in personification to chg color but I think the color is off due to ATI graphic card radeon xpress 200.

View 2 Replies View Related

General :: VNC Viewer Screen Colors Are Off?

Jun 27, 2011

I'm running a VNC server along with a local VNC viewer on the same RHEL5 box. The colors for my GUI components look O.K. in the VNC viewer, but a map that the viewer displays is messed up. The color of the map is too blue. My system is using X11 protocol. I'm a newbie when it comes to Linux.

View 2 Replies View Related

General :: Add Keyboard Shortcuts For OSX Terminal / Xterm?

Jul 5, 2011

Is there a way to add a keyboard shortcut for a terminal command in OSX. Basically most of the times i open the terminal app in MAC in order to ssh into a certain server foo. What I want to do is add a keyboard shortcut (say ^k) so that on a terminal when I do that, it runs "ssh foo" in the terminal.

View 4 Replies View Related

General :: List Of Fonts Xterm Supports?

Jan 22, 2010

Which fonts dows xterm support?Is there any command to know the list of those fonts?

View 1 Replies View Related

General :: Error Opening Terminal - Xterm ?

Jul 15, 2010

Error opening terminal : xterm

While start nano editor in terminal

View 2 Replies View Related

Copyrights 2005-15, All rights reserved