Computer setup: == DONE WIN10 Downloads/capsctrl.reg - caps lock -> ctrl notepad++, edit keymap(Scintilla redo=^R, cut line=^Y) install firefox, login to sync bookmarks, ublock origin extension install thunderbird, copy profile file, tweak gow - unix utils add /etc for bash, setup .bashrc etc. /bin/sh.bat http://gnuwin32.sourceforge.net/packages.html - unzip UnxUtils.zip sourceforge date, faster ls strings.exe - MS version? OLD BASH SHORTCUT, using GIT instead now %windir%\system32\cmd.exe /c bash --init-file .bashrc fwish, other /bin imdisk ramdisk 512MB - auto startup copy /doc, /src mouse focus HKEY_CURRENT_USER\Control Panel\Desktop UserPreferenceMask 9e 1e 07 80 12 0 0 0 -> 9F 3E ActiveWndTrkTimeout, 200 decimal (was 0) (not Track) logout/back in python 2.7 +help https://wwwFF.python.org/ftp/python/2.7.13/python2713.chm vmware: enable virtualization in bios mouse driver win10 activestate perl /c/Perl64/bin MS office (key in doc/software) motiv VPN (SonicWall extender), jpl VPN (pulse) irfanview Fkeys - disable auto in bios fixed IP addr on hotspot set wifi as metered avast startup task: /c/bin/startup.bat as admin kill itype imdisk -a -s 512M -m T: -p "/fs:ntfs /q /y" java (for e.g. sdedit) control panel /java disable updates mingw compiler g++ -print-search-dirs /c/mingw/include vi ignoring .exrc -> _exrc xming, rchart picoscope visual c++ (2010) cobian backup epson driver com0com - COM8, COM9 teraterm - set max ports in ini file == Linux (ubuntu 16.04 64 bit on VMWare) tcl readline (rs/cpu/readline.txt) shared folders, after vmware tools install, show in /mnt/hgfs ethercat (no modules) gnome-terminal fails if LANG=C in .profile sudo apt-get remove command-not-found command-not-found-data ===================================================================== bios: hold esc key during powerup R-click Windows menu for control panel, dev mgr, etc. WIN-X key for old menu? control panel/ease of access bash: cd $foo webex - use IE startup task = task scheduler run at priv cmd : R click to copy, R click to paste RCS files: need to be NL-term, fix with d2u wish dll not loading - use 32bit wish! ============================================================ linux launcher: ~/.local/share/applications/foo.desktop /ptmp = t: /psrc = c:/src gazebo vmware error: export SVGA_VGPU10=0 before launch alt-middle button to resize window ============================================================ ****************************************** Linux setup 2/14/19 (vmware install from iso) # display settings - resolution, scale # no password on sudo ctrl/alt-T for terminal visudo: %sudo ALL=(ALL:ALL) NOPASSWD: ALL # ssh server (then can do stuff from ssh) apt-get install openssh-server etc/ssh/sshd_config: UseDNS no ClientAliveInterval 60 ClientAliveCountMax 15 Ciphers +aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,arcfour KexAlgorithms +diffie-hellman-group1-sha1 /etc/init.d/ssh restart # focus mode gsettings set org.gnome.desktop.wm.preferences focus-mode 'sloppy' gsettings set org.gnome.desktop.wm.preferences auto-raise false # tmpfs, disable swap (SSD opt) -- maybe not? need > 3GB for uwsim build? # (http://bernaerts.dyndns.org/linux/74-ubuntu/250-ubuntu-tweaks-ssd) /etc/fstab: discard,noatime for /, /home/logs tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,mode=1777,size=512M 0 0 comment out swap line (also see swapoff/swapon) /etc/sysctl.conf vm.swappiness=”10" sysctl vm.swappiness=10; cat /proc/sys/vm/swappiness # updates sudo bash apt-get update (install vmware tools, reboot to get clipboard share, file share) (open-vm-tools??) # home configs, also /root .bashrc .bc .exrc .git* .profile .ssh .tclshrc .xinputrc # stuff in ~/bin # hostname /etc/hosts; /etc/hostname # Stupid "did you mean" on shell typo: apt-get remove command-not-found command-not-found-data # disable printer check /etc/cups/cups-browsed.conf -- BrowseRemoteProtocols none # disable "system program problem" popup remove stuff from /var/crash set "enabled=0" in /etc/default/apport # system settings brightness & lock - turn off, no password software and updates - disable appearance: look = solid bg, behavior menus in title bar, always displayed # no desktop icons: gsettings set org.gnome.desktop.background show-desktop-icons false gsettings set org.gnome.settings-daemon.plugins.background active true -- allow gdb /etc/sysctl.d/10-ptrace.conf: ptrace_scope=0 # get core dumps ~/.profile: ulimit -c unlimited 2> /dev/null /proc/sys/kernel/core_pattern (man core) # more SSD? - add /etc/udev/rules.d/60-schedulers.rules: # Handle the scheduler choice according to the type of disk detected # system default : set cfq scheduler for rotating disks ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="cfq" # SSD specific : set deadline scheduler for non-rotating disks ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="deadline" add --no-model-check to /etc/cron.weekly/fstrim # VM Settings options: shared folders /ptmp -> t: rw, /psrc -> c:/src/ro set links /ptmp->/mnt/hgfs/ptmp etc. hw: 3072 mb, 2 cpus, max 64GB NAT connected Net 2 = bridged (ethercat) not connected, replicate physical # fixed ethernet address - update IPV4 network settings, disconnect, connect subnet 24, gateway 192.168.95.2, dns same or ,8.8.8.8 # installs apt-get install tcl-tclreadline # install ros properly /opt/etherlab? # reduce grub boot delay?