Results 11 to 20 of 22
Thanks Ahmed, The following is the changed .bashrc file # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-02-2006 #11
The following is the changed .bashrc file
# Source global definitions
if [ -f /etc/bashrc ]; then
# User specific aliases and functions
alias c="/sbin/ifup ppp0"
alias d="/sbin/ifdown ppp0"
So any more suggestions please!
- 11-02-2006 #12
type keyword 'export' before variable assignment.
export c="/sbin/ifup ppp0" export d="/sbin/ifdown ppp0" export s="/sbin/adsl-status"
logout and login again.......
- 11-02-2006 #13
Well unfortunately the above method did not work .
Though when I addedthe commands to .bashrc it worked !
Thank you for your help
- 11-02-2006 #14
thats strange !
its working for me. i placed all scripts, for bluetooth settings, environment variables and keyboard shorcuts in .kde/env folder. working perfectly.
- 11-02-2006 #15
I'm using GNOME so isn't it supposed to be .gnome?
And I made a mistake I placed it directly in .kde rather than in .kde/env folder.
Sorry for that.
Still the .bashrc worked !
Would you like to give it a try too?
- 11-02-2006 #16
well ! i will look into this. as you know, i prefer KDE only.... i will check in GNOME.
problem with .bashrc is, one has to open shell for setting variables listed in it.
- 11-03-2006 #17
I'll wait for your reply.
- 11-05-2006 #18
Just to let you know- bashrc editing has made the comands permanent .
Oh BTW, cool new Avatar
- 11-05-2006 #19Just to let you know- bashrc editing has made the comands permanent
i mean, .bashrc file get executed only when you open terminal/konsole.
xmodmap -e 'keycode 115=Menu'
this command assigns Windows key to Main Menu ( like windows START button key ).
if i put this command in .bashrc file, windows key wont work on logging in coz .bashrc didn't execute yet.
open terminal/konsole... and lo... .bashrc executed and winkey working.
Avatar ... thanx .. its casper again.
- 11-05-2006 #20
Originally Posted by src2206
- Join Date
- Nov 2006
go to your profile folder and edit the file .bash_rc with what ever you want