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
Thanks Ahmed,
The following is the changed .bashrc file
And it did not solve the problem# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
alias c="/sbin/ifup ppp0"
alias s="/sbin/adsl-status"
alias d="/sbin/ifdown ppp0"
.
So any more suggestions please!
- 11-02-2006 #12
type keyword 'export' before variable assignment.
save it in .kde/env/<file.sh>Code:export c="/sbin/ifup ppp0" export d="/sbin/ifdown ppp0" export s="/sbin/adsl-status"
logout and login again.......
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-02-2006 #13
Hi casper,
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.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 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.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-03-2006 #17
Thanky You

I'll wait for your reply.
- 11-05-2006 #18
Hi casper,
Just to let you know- bashrc editing has made the comands permanent
.
Oh BTW, cool new Avatar
- 11-05-2006 #19gooood ! but you have to open shell/konsole first. right?Just 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.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 11-05-2006 #20Just Joined!
- Join Date
- Nov 2006
- Posts
- 4
Originally Posted by src2206
go to your profile folder and edit the file .bash_rc with what ever you want


Reply With Quote
