Open kaihendry opened 13 years ago
An rc startup script is the wrong place to do that. You want it to startup under your Xwindow session so it will inherit the correct environment. Try adding the following to the beginning of your ~/.xsession file:
# Start TextareaServer Daemon
~/node_modules/.bin/textareaserver --editor-cmd "uxterm -e vim" &
Although, depending on what window manager you are using, there may be a better place to add those lines.
Cheers.
I managed to install the node script with the help npm. What a PITA... ideally I just want to use an Arch package. Pity a Chrome extension can't just invoke an external command!!!
I get running with the cmdline
hendry@x201 ~$ ./node_modules/.bin/textareaserver --editor-cmd "uxterm -e vim"
however I would like to make sure my system runs this at startup. Can someone offer a very simple /etc/rc.d script? Or present some other solution?