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.
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.
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.
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?
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!
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.
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.
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.
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!
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.
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?
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?
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
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
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?
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.
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
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?
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.
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.
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.