General :: "x" Key Does Not Work On Xterm
Jul 4, 2011
It used to work. I had no problem typing the letter "x" on my xterm. But starting yesterday, pressing "x" key does not print anything on xterm. I first thought it was bad keyboard, so I replaced with a new one, but the problem still exists. Strangely, the "x" key works if I am in the vi editor or su to root. So, my guess is I have accidentally set the "x" key to do something in xterm, but I do not know how to reset it. I tried the "reset" command, but that does not work.
View 5 Replies
ADVERTISEMENT
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
[code]....
View 1 Replies
View Related
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
Oct 2, 2009
I have a user A that need to log into a linux box, change to user B, and then fire up a GUI.
I've tried this:
Code:
[userA@server ~]$ sudo su - userB -c "xterm"
X connection to localhost:10.0 broken (explicit kill or server shutdown).
Running "echo $DISPLAY" shows the same value for user A as for user B when I first run "sudo su - userB". I thought that if the $DISPLAY variable is set correctly this would work, but apparently it doesn't. Does anyone else here know how to get this working?
EDIT: I forgot to mention that I'm SSH-ing into the server, and have x-forwading enabled.
View 1 Replies
View Related
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
May 18, 2011
I have the following line in my .Xresources, and it only works when I'm not running KDE:
Code:
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
Feb 16, 2010
When running MC in xterm or gnome-terminal, it doesn't seem to allow the use of Ctrl-enter and Ctr-shift-enter to copy marked files to the command line.
Does anyone know of another way to cause this to happen or a way to enable it under xterm/gnome-term?
View 6 Replies
View Related
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
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
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
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
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
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
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
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
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
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
Jan 22, 2010
Which fonts dows xterm support?Is there any command to know the list of those fonts?
View 1 Replies
View Related
Jul 15, 2010
Error opening terminal : xterm
While start nano editor in terminal
View 2 Replies
View Related
Dec 18, 2009
Another basic question, as I am still new to Linux.I have a new machine loaded with RHEL 5.2 and when I try to connect into it using EXCEED XDMCP-Broadcast mode from my PC, it never comes up as a selection in the select-list. What rpms, procs, etc. am I missing on my RHEL 5.2 system???
View 10 Replies
View Related
Oct 7, 2010
I'm using Xterm. While running a prog/command if I scroll up and reading something on the screen, the xterm view resets to bottom if there is some output from the running command.
I tried enabling/disabling jump scroll, asynchronous scroll, scroll to bottom on tty output options of Xterm with no avail. In one way or the other way, the screen is scrolling or resetting to bottom if there is some output to screen.
I want to stop this behavior and the scroll should work as if it is in Konsole. The new output to screen should simply add at the bottom and the current viewing point should remain unscrolled. pls let me know if there is any working solution for this xterm problem.
View 13 Replies
View Related
Nov 17, 2010
I was wondering how to change the xterm font size and may be the font itself. Also we go to tty1 when we press Ctrl+Alt+f1 , f3 and so on. Is there any way I can change that too and maybe change the colour of the font and the size of it. I did change the resolution once in ubuntu with startup manager. I'm using fedora 14.
View 13 Replies
View Related
Mar 20, 2010
I use xterm with a particular font size and type. But every time I start xterm I have to give them in arguments
Code:
xterm -fa terminus -fs 12
Is there some configuration file where I can out the above parameters and xterm will pick them itself. But I don't want these properties to be set globally. Every user should be able to set it for himself. I have searched all the hidden folders and rc files in my home folder, but didn't find anyone related to xterm. What should I do? Similarly every time I start screen, I have to issue
Quote:
:caption always
:caption string %w
Can I make it automatic by editing some configuration file? Is there any way through which every xterm I start will have a screen session already open in it?
View 2 Replies
View Related
Oct 25, 2010
/usr/bin/xterm Xt error: Can't open display: %s
I tried to connect to remote server ,which is installed Centos 5.4 x86, through Xmanager on windows 7, and got this error.
Quote:
/usr/bin/xterm Xt error: Can't open display: %s
At the remote server, I turned on firewall and after this I got the above-mentioned error message.
I do this accrding to instruction on remote server.
Quote:
2. Firewall (TCP/UDP Ports) Configuration
Open UDP port 177 from the PC to the remote host direction.
Open incoming TCP ports 6000~6010 from the remote host to your PC.
After adding these ports "/etc/sysconfig/iptable" as the enoder mentioned, /etc/init.d/iptables restart
3. Reboot the remote host and start Xmanager <- I could not restart remote server.
View 14 Replies
View Related
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
Jan 12, 2011
What should I put in my .twmrc, so that an xterm window is brought to front (raised) when I click anywhere in the window. Currently, I have to click on the title bar to bring it to front. Presently, I don't have any .twmrc in my Home folder.
View 1 Replies
View Related
Jan 17, 2010
I'd like to make an indirect control for Emacs (in Ubuntu Linux) so that I can swipe some text in an xterm with the cursor, cutting it into the X cut buffer, then run a macro in Emacs to parse the cut buffer text to look for text saying "line XXXX" where X is all digits, then go to that line in the current Emacs buffer. I think this is possible by using emacsclient to get emacs to run a macro, then the macro parsing the cut buffer, then issuing a goto-line command to the number that's been parsed. My problem is I don't know how to write the emacs script to read the X cut buffer and parse it.. I've been going through cookbook examples but none seem to fit.
My goal is to ease development. When I have an error/information/status message printed in an xterm, I want to swipe the error message which says something like "syntax error on line 2776" then press a keyboard shortcut which Ubuntu will interpret to launch emacsclient, which causes my already-open Emacs to grab that text, parse it, and go to the line number I just swiped. Only this last step of parsing is the hard part. (Yes, I know you can run a shell INSIDE of emacs, but this is doesn't fit my workflow). How would I make emacs look at that X cut buffer and parse out the line number and issue the "goto-line" command to the current buffer?
View 2 Replies
View Related
Jun 8, 2011
I wanted to launch sqlite3 with the command:
xterm -e sqlite3 /path/to/database "SELECT * FROM TABLE;" &
The xterm window flashes for a moment and then terminates. Exactly the same result is encountered with:
a) xterm -e /bin/bash -l -c "sqlite3 /path/to/database "SELECT * FROM TABLE;"" (as suggested in man xterm)
b)giving an alias in .bashrc to:
sqlite3 /path/to/database "SELECT * FROM TABLE;"
and running: xterm -e alias
c)giving: xterm -e echo "something"
d)using: konsole -e sqlite3 /path/to/database "SELECT * FROM TABLE;" &
If a launch sqlite3 with:
xterm -e sqlite3 /path/to/database &
The xterm window launches with no problem and sqlite3 opens the database as expected. If I enter "SELECT * FROM TABLE;" every thing works as expected and I get the correct result.
The same applies if I launch xterm with: xterm & and then: sqlite3 /path/to/database "SELECT *FROM TABLE;" to the command line.I sometimes use xterm -e to launch applications to a separate window and never had the slightest problem. I suspect it might be a bash thing (konsole and echo not working as well as above stated) and not an xterm thing. I made a search in man bash for quoting and backslashing but it didn't bright up things.
View 2 Replies
View Related
Jul 27, 2010
If I do setenv DISPLAY other_machine:0 and launch a gui application I can send this application to my other_machine Is there any mean (utility or whatever) to send an OPEN application to another machine (by its pid eventually) So if I have an nedit open, and its pid is 13245, I could do something like send_to_display pid=13245 machine=other_machine:0
View 1 Replies
View Related
Jul 16, 2010
I am new in Linux,i build nano editor on Linux,it compile successfully but when i open in terminal then error displays "Error opening terminal : Xterm" while nano help is running successfully.
View 14 Replies
View Related