Useful commandsCreated: around 2018
Website maintenance
Xubuntu highlight the window title of active windowXfce uses two separte themes to control window appearances. One is done using Gtk (Settings->Appearance) and one is done using Xfwm (Settings->Window Manager). The "Default" Xfwm theme overides the Gtk theme which prevents the changes made in Gtk taking effect.I use the Kokodi Xfwm theme (Settings->Window Manager) which highlights the currently active window title in blue while keeping the other windows title gray. For more details see here. Add Google Drive to file managerGNOME already has a good integration between the local File Managers and Google Drive through "Gnome Online Accounts". For Xfce (Xubuntu) or other desktop environments install gnome center as follows:sudo apt install gnome-control-center gnome-online-accounts To start the "Gnome Online Accounts run:XDG_CURRENT_DESKTOP=GNOME gnome-control-center And then select "Online Accounts", click Google and add your account credentials.Once this is done a "Google Drive" folder will appear in the File Manager you use. Configure terminal promptSet terminal prompt to show date and timestamp so that I can easily tell when a command finished.Modify ~.bashrc by adding the following to the PS1 variables: PS1='[\u@\h \W] \D{%F %T}\n\$ ' and the terminal prompt will look like:
[joe@my_rig ~] 2018-04-11 23:12:10 Display Logs on TTY9 - TTY10On Ubuntu distros to display logs on tty9-10 add the following to /etc/rc.local
tail -f /var/log/syslog > /dev/tty9 & Mounting files from SynologyNeed to mount it as vers 1.0 otherwise it doesn't work.sudo mount -t cifs -o vers=1.0,user=USER_NAME //REMOTE/FOLDER /LOCAL/FOLDER Once mounted all the folders and files are set to read only for non-root user. Run:sudo chmod * 666 in a folder of interest to make the files read and write available.Windows Linux Subsystemmount -t drvfs P: /mnt/p |