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
ADVERTISEMENT
Jun 14, 2011
When I add some path in .bashrc by commenting out old path and adding new one like this:
#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY
After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.
View 10 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 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
Jan 17, 2010
I am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?
View 6 Replies
View Related
Feb 9, 2011
I have a script that I run using ./dom example.com.
I want to add an alias to .bashrc so that I can run it using "d example.com".
I have tried adding each of the lines below in turn but I still receive the error:
-bash: d: command not found
alias d="/bin/bash /home/user/dom"
alias d="./home/user/dom"
alias d="sh /home/user/dom"
View 3 Replies
View Related
Nov 15, 2010
I am trying to install Network simulator 2.34 on fedora 13..my installation was successful. but I am unable edit my bashrc file...All I had to do was
"
Add all these lines into your ~/.bashrc file:
export PATH=$PATH:/opt/ns-allinone-2.34/bin:/opt/ns-allinone-2.34/tcl8.4.18/unix:/opt/ns-allinone-
[code]....
View 4 Replies
View Related
Aug 25, 2011
I've set up an alias in .bashrc (let's call it alias1), and am trying to set up a sudo NOPASSWD rule for that particular command. So far, I've attempted:
user ALL = NOPASSWD: alias1
user ALL=(ALL) NOPASSWD: alias1
But keep getting told I have a syntax error - presumably this is because visudo doesn't recognise alias1? I've already checked that alias1 works correctly, so I assume I'm just referring to it incorrectly.
View 6 Replies
View Related
May 30, 2011
recently I did some changes to my bashrc file the changes are as follows
export JAVA_HOME=/usr/java/jre<version>/bin/
export PATH=$PATH:/usr/java/jre<version>/bin
now I'm unable even login to the OS.
View 9 Replies
View Related
Mar 6, 2011
I erasing default text in fedora 13 root bashrc and when I want to swich user ( with su command ) to root , icant,and i see bash-4.1????
View 1 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
Oct 6, 2010
how come I can create a shell script file with two functions, I can execute the file, but when running declare -f, the functions are not on memory, and when invoking the function bash returns invalid. In the other hand, I can copy & paste the two functions at the end of my /etc/bashrc file.... then I can called the function by name.... and the commands within that function run on my session. here is a print of all my bash packets:
[Code]....
Does Fedora has restrictions on shell scripting? I haven't touch bash in seven years, so if things have change on it I'm behind on it, and sorry for my ignorance.
View 1 Replies
View Related
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
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
Jan 17, 2010
When I install the FC11 by using"Install or upgrade an existing system"or"Install system with basic video driver"mode...Point 1, I can't config the network config ( IP Address ), due to theerror of network manager...Point 2, I can't enter into the text mode to do the installation steps.Remark:The machine is provide Web,DNS, and Mail Server on the NET ( Internet )
View 1 Replies
View Related
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
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
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
Feb 2, 2010
When I run xterm from the command line, there seems to be some errors:
Code:
$ xterm &
$ Warning: Cannot convert string "nil2" to type FontStruct
xterm: cannot load font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
Then I press both the Ctrl and right mouse key, options are popup with font sizes of 'Default',
[Code]....
View 2 Replies
View Related
Sep 2, 2011
Ho can I set XTERM as Defaut Terminal Emulator on F15 running Gnome 3?
View 8 Replies
View Related
Apr 15, 2009
Recently,i'm studying around X server and client. when i was logining on and typing "init 3" on gnome-terminal in order to terminate x server.my purpose is x server starting through the command "xinit" only.and xterm to be first client for x server may be terminal.i'try typing "a bunch of commands" on tty1 (Ctrl + ALT + F1) to get through my testing .when a short command "xinit" of those without any agruments was executing, xterm was just staying instantly and disappearing soon. others i try commands,alway coming up with errors:Xterm Xt error: can't open display :%sXterm: Display is not set
View 9 Replies
View Related
Aug 31, 2009
Using the following command:
xterm -e tail -f stdout.log
I can see the log of an applications and it's update in realtime. I want to uninstall the gnome and I'm looking for the equivalent command for the terminal. I want on startup tty4 for example to show me the log.
View 3 Replies
View Related
Sep 8, 2011
Our Fedora 15 linux box have the following requirements:
1. Runlevel 3
1. Autologin as root for convenience
2. Run Xorg
3. Run xterm on display :0.0
4. Lauch our program on display :0.0
So we simply put step 2 ~ step 4 in the .bash_profile of root user:
# .bash_profile
if [ -f "/.bahsrc ]; then
.~/.bashrc
fi
export DISPLAY=:0.0
Xorg &
sleep 3 # for some reason, we need this three seconds to make sure that xterm start up successfully
xterm &
The problem is, if I issue "kill xterm", it flashes out some messages disappearing so quick that I can't even read, and then leave me with a black screen with a cross cursor at the center. The system seems to be crashed, even the numlock doesn't work. Since we execute xterm & during logging in, now I can crash my system simply by pressing ctrl + C ! That's disaster!
View 1 Replies
View Related
Jun 17, 2011
I am quite new to Linux and fedora. I am trying to run some molecular simulation software whose shell scripts create X windows with the xterm command. How do I get xterm on Fedora 14?
View 4 Replies
View Related
Sep 7, 2009
I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config
[Code]...
View 1 Replies
View Related
Jul 10, 2011
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
View 3 Replies
View Related
Apr 9, 2011
I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.
My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)
View 5 Replies
View Related
Oct 12, 2009
I have a problem that I'm not sure how best to debug. About every other time when I boot my system, I get a condition where listing the files in /root locks up that xterm session.This can be cleared by opening another xterm window and killing the listing command. This happens on "ls -a", "find", "tar" and I think "stat" also. The locked up xterm echo's chararcters but does not respond to any control sequences. This is new with FC11.This has only been seen to happen for root. And once a system is booted with this problem it seems to persist until you get it booted without the problem.
View 8 Replies
View Related
May 7, 2011
I currently can run an old swf on my Chumby 8 device by storing and using these three files on a USB plugged into the device
config
<?xml version="1.0" encoding="utf-8" ?>
- <config>
[code]...
View 1 Replies
View Related