Active Topics

 


Reply
Thread Tools
Posts: 74 | Thanked: 5 times | Joined on Mar 2010 @ torino - italia
#11
Originally Posted by matthew maude View Post
or you could make an alias....
don't overwrite root/.profile tho....
I don't understand why you say "don't overwrite". How can I save made change if I don't overvrite the file? You mean I can make a new file like profile.my?
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#12
Originally Posted by davide View Post
I don't understand why you say "don't overwrite". How can I save made change if I don't overvrite the file? You mean I can make a new file like profile.my?
I think he means keep the info that is in .profile and append this without destroying the info already there.
__________________
All I want is 40 acres, a mule, and Xterm.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#13
Originally Posted by matthew maude View Post
or you could make an alias

alias t='/usr/bin/osso-xterm ""'

the end is " " ' with no spaces tho
save it in .profile and root/.profile
don't overwrite root/.profile tho, use vi or leafpad to edit it
Even better would be to install bash3 and then run bash-setup. Which is a will you a "normal" linux shell. Then edit the "/root/.bashrc" and "/user/.bashrc" files for alias. One of the best thing though is that it got a lot more history and the ctrl+r to search in history.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 74 | Thanked: 5 times | Joined on Mar 2010 @ torino - italia
#14
yesss... I would like install bash3 but i'm afraid to loose all my personal changes done until now. I've got personalized some things about remember important dates jus using a file.txt database or color shell output.
I try to spend less as possible of my nigths on solve trouble on my n900!!!
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#15
Originally Posted by davide View Post
yesss... I would like install bash3 but i'm afraid to loose all my personal changes done until now. I've got personalized some things about remember important dates jus using a file.txt database or color shell output.
I try to spend less as possible of my nigths on solve trouble on my n900!!!
Installing bash wouldnŽt make you loose any changes you may have made to your xterm. just use apt-get to install and youŽll have just another shell next to your xterm. There have been some threads on the maemo4 pat of this forum, about setting up bash as your default shell but I am not sure how safe that is on maemo5 for AFAIK the bootup procedure looks for xterm at some tty levels. If you want to change your default shell youŽll probably need to look at some bootscripts too.
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#16
Originally Posted by anthonie View Post
Installing bash wouldnŽt make you loose any changes you may have made to your xterm. just use apt-get to install and youŽll have just another shell next to your xterm. There have been some threads on the maemo4 pat of this forum, about setting up bash as your default shell but I am not sure how safe that is on maemo5 for AFAIK the bootup procedure looks for xterm at some tty levels. If you want to change your default shell youŽll probably need to look at some bootscripts too.
By changing in /etc/passwd you can choose your default shell. But it is easier to just use bash-setup after install to set it up. Then edit bashrc with aliases and PS1. No problems at all.

If you want to use ash or sh.. just begin the command with it. Like "sh ls /path/" would be using the sh-shell.
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums
 
Posts: 74 | Thanked: 5 times | Joined on Mar 2010 @ torino - italia
#17
it wuold be easy mantaining all boot procedure between maemo and linux. I mean why have I to use \etc\.profile in maemo and \...\bashrc in linux. just make confusion to beginner????

@AlMehdi
Please let me know if you got the "calendar" command in bash3... thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:53.