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


Programming :: Printf() In C Being Able To Specify Foreground / Background Colors?

Nov 21, 2010

I got curious during the construction of my program to search for blocks of text that contain certain words, and wanted to print out blocks of text with the words I was searching for, initially, in ALL CAPS and seperated by tabs for easy identification. That got boring, though, so I thought, "Can printf do colors, too?" Yes it can.... Who knew?


View 8 Replies View Related

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

Fedora :: Possible To Set Background/foreground Opacity Seperately?

Dec 30, 2009

I want to set my top gnome-panel's background opacity to about 80, while having foreground opacity (fonts and images) set to 100.

View 1 Replies View Related

General :: Process In Background Hogs 96% CPU But When Ran In Foreground Its Almost Zero

May 17, 2010

I am trying to solve one problem: When i run my process in background it hogs around 96% of CPU. But when ran in foreground, CPU utilization is almost zero. Is there any difference b/n a background and a foreground process wrto CPU utilization?

View 8 Replies View Related

Server :: Move Background Process To Foreground?

Mar 5, 2010

is it possible in bash to run one command in background and after it's done show output with less? While background process is running I should be able enter another commands.What I have is this (sleep is only for simulation):

{({ ( tree / > tree.txt && sleep 2) & } && wait && less tree.txt) &} && wait fg &
Problem is that I don't know and I can't find how to move it to the foreground after completion.

View 14 Replies View Related

Ubuntu :: Place A Process In The Background, Bring To Foreground?

May 18, 2011

q)how can i bring the backgroud process to foreground i tried like below1]hp-linux@hp-linux-desktop:/usr/share$ top

top - 11:28:24 up 1:57, 2 users, load average: 0.55, 0.65, 0.62
Tasks: 158 total, 3 running, 155 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.1%us, 2.9%sy, 0.7%ni, 87.1%id, 3.0%wa, 0.2%hi, 0.1%si, 0.0%st


View 4 Replies View Related

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

Fedora :: Background And Text Colors Of Terminal In F13?

Sep 28, 2010

I've just entered the world of linux and the first thing that I find is the terminal. Can anyone teach me how to change the background and text colors in terminal

View 2 Replies View Related

Ubuntu :: Background Colors In Panel Apps?

Jul 23, 2010

Alright, this has been driving me bonkers for months now and I can't find the answer anywhere. I like the custom theme options with standard gnome just fine, plenty of adjustments that can be made, with only one adjustment missing which would create perfection (at least in my opinion).

How on earth is it possible to change the backgrounds of the "mini-panels" which are always grey by default? No matter which Theme I choose and customize, I can never get the background color of the time/date applet, monitors, evolution, garbage can, and so on to change. I'd like to make all of the backgrounds transparent, not just the main panels that contain the other stuff. Is this even possible, and if so, how?I'm assuming since all of those apps have the same default color that an adjustment "wherever" would then change those default colors on all of the applets (hopefully).

View 9 Replies View Related

Ubuntu :: Missing Background Colors / Get Those Back?

Nov 29, 2010

I have version 10.10 installed on both a desktop and a laptop. They are both close in how I setup the themes etc. However on the desktop I notice that I am missing some of the background colors on windows and in some websites. It seems to be anything using a blue/gray color. And it is White. It is noticeable on my Firefox on the laptop the borders around everything is gray, but on the desktop these are white. This seems to be not limited to the browser, as I investigated it is on all apps. I have googled this but cannot find a similar situation. I am also new to Ubuntu/Linux, which adds to my dilemma.

View 2 Replies View Related

Ubuntu :: Screen And Vim (256 Colors) Background Color Rendering?

Feb 18, 2010

I'm using xterm/screen/vim, and set them up to 256 color mode. Everything went well, except when background color for the theme I choose is not black.

Here's the theme I use in this example:[URL].. Here's the situation: as long as I only use vim, the background is well rendered, meaning everything is grey in vim background. But when I try this with screen, the background is back to black, and only the text get some kind of highlight with the background color.Here are the magical lines I added to screenrc:

term screen-256color
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=E[48;5;%dm:AF=E[38;5;%dm'
# Erase background with current bg color. Not needed if TERM=screen-256color
defbce "on"

Colors are well rendered in 256 color, I only have a problem with this background. Anyone knows how to 'fix' this?

View 1 Replies View Related

Debian :: Background - Xterm Or Conky - Put Instance In From Openbox

Feb 4, 2011

I want to put some info on my all black background, for instance i do a lot of vpn connections, so it would be cool that i do startx and a xterm console was on the background (without the window ofcourse) with the tail -f /var/log/messages or my dropbox status and so on Like tilling....but on background...i hate wallpapers


now a problem to do the command line above and put it for instance in from openbox i need to do it as sudo and give the will not work

View 8 Replies View Related

General :: In Xterm The Numpad 1 And 7 Buttons Does Not Work Properly

Feb 17, 2011

I use VNC, open an xterm, and for example when I press "NumPad7", it completes "Home" command. Also "NumPad1" is mapped to "End". In fact there is a code for .cshrc that does the work required. But unfortunately I can't translate it into a bash code. Please help me to translate. Here is the code:

if ($?TERM) then
# fix the home, end, ins and del keys
if ($TERM == "xterm" || $TERM == "vt100" ||
$TERM == "vt102" || $TERM !~ "con*") then


View 1 Replies View Related

Ubuntu :: Folders Not Appearing Properly (Without Colors - Like Windows 98)

Jun 13, 2010

I did a partial update and since then the Folders (Nautilus) is looking weird without many colors reminding of Windows 98/95.

View 1 Replies View Related

Ubuntu :: Graphics - Change To A Warped Mix Of Colors And Pixels When Change The Background Image

May 19, 2010

I recently installed Ubuntu 10.04 Netbook Remix on my Gateway LT3103u. I noticed shortly into using it that it has a graphics bug every so often. Especially when I change the background image. Everything will change to a warped mix of colors and pixels. Everything is affected. My mouse, the bar at the top of the screen, text and all. My netbook runs on an AMD Athlon 64-bit processor with ATI Radeon X1270 HyperMemory up to 256MB graphics.

So far I have tried reinstalling, and even the 64bit desktop edition which had the same problem. Ive noticed that it freaks out when i scroll too quick, when changing background images, and on certain websites. Then other times its completely random. When it happens it looks similar to these: [URL]

View 4 Replies View Related

Ubuntu :: "Background & Text" Colors For Windows, Input Boxes, Selected Items?

Mar 6, 2010

I was recently using Xubuntu for awhile, and I really enjoyed the default color scheme it had, I was wondering if anyone had the colors in HTML that Xubuntu uses?

I'm looking for the "Background & Text" colors for Windows, Input Boxes, Selected Items, & Tooltips and then I was just going to input them under "Customize Themes"

View 1 Replies View Related

Slackware :: No Colors In Ls Output

Apr 15, 2011

Using Slackware 13.1 and rxvt-unicode as terminal emulator. There is no colors in ls output under user but running ls as root gives color output.

I check that /etc/profile.d/ has executable bit, and LS_OPTIONS environment variable is correct

bash-4.1$ echo $LS_OPTIONS
-F -b -T 0 --color=auto

Running ls with --color option gives me color output. As I can see /etc/profile.d/ should set up aliases for ls, dir and vdir commands but why this aliases don't work under user?

View 7 Replies View Related

Slackware :: Cyrillic Fonts In Xterm?

Apr 1, 2011

I have RAR archive including some files using Russian file names and I?m unable to display them properly in xterm window in my Slackware 13.1. Instead of the Cyrillic letters I see questions marks, for example ??.txt?.I tried four methods:

xterm -en iso-8859-5 -fn -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-5
xterm -en koi8-r -fn -misc-fixed-medium-r-normal--15-140-75-75-c-90-koi8-r


View 2 Replies View Related

Slackware :: 12.2 - Firefox 3.5.6 - Go Into A KDE Konsole Xterm

Jan 1, 2010

I'd try here first, since I am running slackware, though it's a firefox problem ... To verify bug, just go into a KDE konsole xterm, and do

[13:35 ~]$ mkdir ~/ffbug
[13:35 ~]$ touch ~/ffbug/_$'31'_
[13:35 ~]$ firefox file://$(echo ~)/ffbug &

(This assumes you didn't already have a ~/ffbug directory, and you have firefox 3.5.6 installed -- the prior firefox id not have this problem) What you will probably see is firefox trying to display a listing of the ~/ffbug directory, but instead showing an error message: XML Parsing Error: not well-formed. I posted this in the mozillazine forum, where it got read 20 times, but no response.

View 5 Replies View Related

Slackware :: Get Jump And Scan Option For Xterm?

Jan 21, 2010

xterm is scanning lines one by one.It takes time.I did jumpScroll: true ,but it results same. But rxvt is better comparing this. Where would i get the global configuration file for rxvt and xterm?

View 1 Replies View Related

Slackware :: Resize The Windows Such As Xterm And Firefox?

Jan 11, 2011

Just can't resize xterm or any windows such as firefox. In xterm it seems using the button in the up-right corner could resize the window's width, not height.

View 4 Replies View Related

Slackware :: How To Turn On System Bell In XTerm

Apr 11, 2010

I'm trying to turn on the system bell (pc speaker) in xterm. I have the bell working in console (text mode, not under X), and with X running, even firefox can use the pc speaker (it beeps, when I enter a search term which is not found). Only xterm doesn't seem to work.

Here is my xterm config, and the xset command I'm trying to use to turn the bell on:
xterm*renderFont: true
xterm*faceName: Terminus
xterm*faceSize: 12

xterm*loginShell: true
!xterm*Geometry: 102x48+0+0
xterm*Geometry: 102x48
xterm*scrollBar: false

xterm*background: black
xterm*foreground: white
!xterm*highlightColor: red
xterm*charClass: 46-47:48

xterm*visualBell: false
xset b on
xset bell 100 1000 1000

If I run xterm with the +vb option, it doesn't help either (I'm testing it with printf "a"). What am I missing? How can I make xterm use my pc speaker as bell?

View 4 Replies View Related

Slackware :: Xterm Variants - Configuring Widgets

Apr 10, 2010

Just upgrading to 13.0, and one thing I had in KDE 3.5 was a larger (normal) sized xterm, and a smaller sized one. The small sized ones are handy for CL scripts and don't chew up as much screen-estate.

I know I can change defaults in .xinitrc, but I don't know how to make a widget for the small xterm.

View 2 Replies View Related

Slackware :: Specials Characters Don't Appear And Terminal Have No Colors

Sep 10, 2010

I use slackware64 13.1. In my root account the terminal have colors for folders, files, etc and characters like appear correct.I create a normal account for me, but specials characters don't appear and terminal have no colors.I read in a lot that I need to configure a .bashrc and a .bash_profile but I don't found this files in my root account to get some guide lines.

View 5 Replies View Related

Slackware :: Vim Colours Change Slightly In Xterm When A Key Is Pressed?

May 4, 2011

I'm having a problem with vim and xterm. When I open a file and press any key, the colour scheme changes slightly. This doesn't happen if I run a 256-colour xterm (export TERM='xterm-256color') but if TERM is set to 'xterm' (the default) I see the colour change. Setting TERM='xterm-256color' in my ~/.bashrc is a "solution", but I'd rather not have to do that since it's never been necessary in the past (e.g., on 13.1) and I don't use any 256-color schemes for vim (usually just the default or possibly "delek"). It doesn't happen with rxvt or with Xfce's terminal. I've tried compiling some other versions of xterm but they either exhibit the same behaviour or don't build. I have tried running without any ~/.vimrc file just to be sure it wasn't one of my settings and I've also tried the sample file at /usr/share/vim/vimrc; the effect is the same.

View 10 Replies View Related

Slackware :: XTerm*reverseVideo: True Doesn't Work In KDE?

May 18, 2011

I have the following line in my .Xresources, and it only works when I'm not running KDE:

XTerm*reverseVideo: true When I start up XTerm in Xfce, TWM, or any other window manager, I get the expected black background. When I launch XTerm in KDE, I get a white background, meaning that the reverseVideo setting is not taking effect. When I'm in KDE, launching XTerm with -rv does give me an XTerm with a black background. Obviously, having to add this switch every time I launch an XTerm in KDE is suboptimal, no matter how you try to automate it. Manually running xrdb -merge ~/.Xresources and then launching XTerm immediately afterwards does not make a difference.

If you're wondering why this is a concern, it's because all 256-color vim color schemes (xoria256, desert256, inkpot) require reverseVideo to be set so that XTerm launches with a black background. You get a black-on-black cursor otherwise.

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

Copyrights 2005-15, All rights reserved