Collection of startup scripts for headless OpenOffice/LibreOffice soffice listener server
For SysV Generic Startup Script
$ sudo -s
The primary goal is to swap command and option. | |
The secondary goal is to remap Caps Lock to Control. | |
The tertiary goal is to share modifier keys across keyboards, so you can emacs with two keyboards. | |
The following instructions are good as of 2016-08-24, for OS X El Capitan 10.11.6. | |
Mac OS Sierra broke Seil support; Seil instructs us to consider Karabiner Elements. | |
But when Karabiner Elements swaps command and option, it does it for all keyboards; | |
meaning the native keyboard also gets its command and option swapped, which is bad! |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.npmjs.mehserve</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>sh</string> | |
<string>-i</string> |
server { | |
#listen 80; | |
#listen [::]:80; | |
server_name sub.domain.tld; | |
access_log /var/log/sendy/nginx.access.log; | |
error_log /var/log/sendy/nginx.error.log; |
# Adding a User and Assign a System Level Privileges | |
sudo adduser ubuntu | |
sudo adduser ubuntu sudo | |
sudo nano /etc/sudoers | |
# or | |
sudo /usr/sbin/visudo | |
# Then change the following | |
# %sudo ALL=(ALL:ALL) NOPASSWD: ALL |