Re: problems with system-config-display and crtl-alt-backspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-12-28 at 03:04 -0800, Suvayu Ali wrote: 
> Hi Paul,
> 
> On Sunday 27 December 2009 10:52 PM, Paul Allen Newell wrote:
> > Suvayu Ali wrote:
> >>
> >> If the OP is interested, the command line way to do this would be to
> >> have one of your login scripts like ~/.bash_profile say,
> >>
> >> setxkbmap -option terminate:ctrl_alt_bksp
> >>
> >> ;)
> > Suvayu:
> >
> > Thanks, this is interesting. So it is in .bash_profile and not .bashrc?
> > Is there a similar way to do in either cshrc or, preferably, tcshrc?
> >
> 
> ~/.bash_profile gets sourced by any "well behaved" desktop environment 
> when ever you login. In my experience XFCE and WindowMaker does this. (I 
> don't use Gnome/KDE as often, so can't comment on them).
> 
> ~/.bashrc gets sourced when ever you open an interactive shell, maybe by 
> opening a terminal emulator or login in remotely.
> 
> This means whenever you login remotely both ~/.bash_profile & ~/.bashrc 
> gets sourced. However if you open a terminal emulator like 
> gnome-terminal or xterm only your ~/.bashrc gets sourced.
It is my impression that.bashrc is souurced whenever any program is run
in a bash environment. I am willing to be corrected. 
> 
> So ideally, (As Tim said in a later post) your environment variables 
> should be defined in your ~/.bash_profile where as your aliases and 
> functions should be defined in ~/.bashrc.
> 
> What I say is true assuming your login shell is bash. Since you asked 
> about csh or tcsh, as far as I understood from a quick look at the 
> respective manpages (section: startup and shutdown) they behave 
> differently. There is no file corresponding to ~/.bash_profile for 
> either of them. (maybe this is how C-shells behave?) However ~/.tcshrc 
> or ~/.cshrc does get sourced (in that order). So you can define this in 
> one of those files and see whether this works.
> 
> > Paul
> >
> 
> GL
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.
> 


--
=======================================================================
The problem with any unwritten law is that you don't know where to go to
erase it. -- Glaser and Way
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux