| Prev |   1     2   3   4     5   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Customize X-term? (https://talk.maemo.org/showthread.php?t=13405)

pycage 2008-01-03 23:14

Re: Customize X-term?
 
Quote:

Originally Posted by qole (Post 120044)
This file doesn't work for all of the 1200+ listed characters. One of the characters listed is GDK_Home but putting Home into the value field of the shortcut doesn't send the cursor to the beginning of the line.

This is because Home doesn't work like this in the shell. What you want would be <ctrl>a.

Lupin3d 2008-01-03 23:19

Re: Customize X-term?
 
here some my shorcuts:
"Escape colon w,q KP_Enter" (when u are in VI this command write the file and quit VI)
"Escape colon q exclam KP_Enter" (when u are in VI this command quit VI whitout saving the file)
"<ctrl>c" (this command stop the current executing shell command).

ChodaBoy 2008-01-08 07:42

Re: Customize X-term?
 
Quote:

Originally Posted by Lupin3d (Post 120331)
here some my shorcuts:
"Escape colon w,q KP_Enter" (when u are in VI this command write the file and quit VI)
"Escape color q exclam KP_Enter" (when u are in VI this command quit VI whitout saving the file)
"<ctrl>c" (this command stop the current executing shell command).

I know it is just a typo, but "color" should also be "colon" in your quit vi without saving macro.

BTW, there is a rarely documented shortcut for ":wq" in vi. You can just use ":x".

:)

jimhoy 2008-09-04 04:21

Re: Customize X-term?
 
Here are some toolbar shortcuts I find useful on a daily basis:

| (pipe) = bar
^] (escape character) = <ctrl>,braceright
> (redirect stdout) = greater

tso 2008-10-19 20:48

Re: Customize X-term?
 
was playing around with this to ease some apt abuse and i found that rootsh dont like to be used this way. all i get is "file or dir not found".

could be that my hyphen is wrong tho as it does not match the one in the wiki. it seems to require lower case...

it seems indeed like the hyphen is at fault. it looks right, but isnt soo apparently...

ah, minus, not hyphen ;)

now i have my most common apt-get commands as shortcuts :D

Sevanteri 2008-10-20 07:57

Re: Customize X-term?
 
Is it possible to make a shortcut to type something into the commandline?

Nah... found it..

adityasa 2008-11-10 01:55

Re: Customize X-term?
 
sure,
it's easy
say you want to execute vi command, then type this shortcut:
"v,i,KP_Enter"

adityasa 2008-11-10 01:56

Re: Customize X-term?
 
Is anybody knows how to automatically execute command when starting xterm? I mean, when I start Xterm or new Xterm tab, can I get "sudo gainroot" command automatically executed without my intervention?

TIA.

silvermountain 2010-05-16 08:43

Re: Customize X-term?
 
I would settle for learning how to paste copied text into x-terminal :)

zombiegavins 2010-05-16 08:55

Re: Customize X-term?
 
if you are using an n900 just use the vkb and select the paste option when you have the input box open


| Prev |   1     2   3   4     5   | Next
All times are GMT. The time now is 00:56.

vBulletin® Version 3.8.8