You are not logged in.
I am trying to create a urxvt window on my desktop that runs a script on startup.
I have already set the position and no borders options. I would like to set it so that
it can not be closed by keyboard input? Prefer to do it with commandline options,
not in my Xdefaults. Can anyone help?
I have looked at man page and googled it, with no luck.
Also, while I am at it.
how do I display eth0 traffic in a bash script? Hopefully using existing core
utils?
abandoned this project
Last edited by orphius1970 (2010-04-10 07:33:48)
AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64
Offline
That depends on what you mean by "keyboard input". Something like Alt-F4 is a window manager/de thing.
Urxvt will terminate when the program it runs terminates (unless you tell it to -hold). If you want to prevent the user from typing "exit", overwrite exit with a bash function. If you want to prevent "Ctrl-c" or "Ctrl-d", look at man stty (intr and eof)
Offline
sorry I wasn't more specific. I know that urxvt can be told to remap keys from command line when opening it.
Just like you can tell it no scrollbar with the +sb option. I am opening the particular urxvt window with:
"urxvt -name sysmon +sb +bc -cr black -e ssm"
I would like to add keysym (keymap) options to that, so I can override Ctrl-C, Alt-F4, etc..
DISREGARD! dumped this project
Last edited by orphius1970 (2010-04-10 07:33:10)
AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64
Offline