Active Topics

 


Reply
Thread Tools
Posts: 74 | Thanked: 5 times | Joined on Mar 2010 @ torino - italia
#1
Once you know, you can't avoid using this function that let you open multiple x-terminal...
but how difficult is to type this sequence!

Any idea on how to reassign it to another key sequence??
ciao!
 

The Following User Says Thank You to davide For This Useful Post:
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#2
You could also click program menu and "New" for multiple terminals.
__________________
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
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Posts: 74 | Thanked: 5 times | Joined on Mar 2010 @ torino - italia
#3
so little to be happy!!!
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#4
I use shortcutd and set long-half-press of the camera button to run shell command
Code:
/usr/bin/osso-xterm ""
I find that it loads faster if I specify an empty command with the "" than if I omit that. Alternatively, you can put in an actual command in that instead of make x-term launch executing that command. So /usr/bin/osso-xterm "sudo gainroot" to launch it with root access, etc. I think you may be able to get two x-term windows at once by putting one /usr/bin/osso-xterm command inside the quotes of the other one, actually.
 
Posts: 74 | Thanked: 5 times | Joined on Mar 2010 @ torino - italia
#5
Originally Posted by Mentalist Traceur View Post
I use shortcutd and set long-half-press of the camera button to run shell command
Code:
/usr/bin/osso-xterm ""
I find that it loads faster if I specify an empty command with the "" than if I omit that. Alternatively, you can put in an actual command in that instead of make x-term launch executing that command. So /usr/bin/osso-xterm "sudo gainroot" to launch it with root access, etc. I think you may be able to get two x-term windows at once by putting one /usr/bin/osso-xterm command inside the quotes of the other one, actually.
interesting! but how to set the button?
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#6
To set the button you install "shortcutd". I'm not sure what repository it's in, though. It's in one of the maemo.org ones. I'm not sure if it's made it's way to extras already, or if it's still in testing or devel.

I think "camkeyd" does the same thing, but shortcutd also lets you set what the proximity sensor does. (You can leave that part off though if you don't want to set the proximity sensor as anything.)
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
Posts: 166 | Thanked: 30 times | Joined on Apr 2010 @ Halifax, UK
#7
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
 

The Following 2 Users Say Thank You to matthew maude For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#8
How exactly does this work? What does the alias do? I figured there was some system-file editing way to do it - there usually is in Linux - but I didn't know of any.

So what's an alias, and why is it alias t='...' ? Are you attaching it to the T key, or something else?
 
Posts: 166 | Thanked: 30 times | Joined on Apr 2010 @ Halifax, UK
#9
yea it means that pressing t then enter you get a new window
you can use these for everything tho e.g.
ud for apt-get update
ug for apt-get upgrade -y
ai for apt-get install -y
ls for ls -a
u for cd ..
and so on...

to add them all it goes like this

alias r='root' sr='sudo gainroot' ls='ls -a'

just keep going in that format, and be aware that alias saved in .profile won't work as root so don't put the apt-get ones there.
anything that needs to be root needs to go into /root/.profile or /root/.bashrc
make sure you don't overwrite those files tho
if you use 'sudo gainroot' none of them will work so its best sticking to 'root'
 

The Following User Says Thank You to matthew maude For This Useful Post:
Posts: 48 | Thanked: 26 times | Joined on Feb 2010 @ UT@NL
#10
alias allows you to define macros in shell
 

The Following User Says Thank You to hsmade For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:58.