Monday, November 14, 2016

xfce4 background, and linux command line xml parse example





http://unix.stackexchange.com/questions/131238/where-is-the-current-wallpaper-stored


xml script example

#!/bin/bash -
# taken from
#  http://unix.stackexchange.com/questions/131238/where-is-the-current-wallpaper-stored
# must install xmllint
# /usr/bin/xmllint      libxml2-utils
#
# define xfce4 xml file that holds info about desktops 
# 
DESKTOP="/home/$(id -un)/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml"
#
# define xpath that will extract current desktop background file name
# (NB I am no expert in xpaths and there is probably a much more elegant way
#  to do this but this works for me)
#
XPATH='(//property[@name="workspace0"]/property[@name="last-image"])[last()]/@value'
#
# use xmllint utility to apply xpath to file and extract file path and name
#
IMAGE=$(xmllint --xpath "string(${XPATH})" "${DESKTOP}")
#
# display the file info extracted
#
echo Current Wallpaper File = ${IMAGE}
#
# rest of script........
#

xx

Friday, November 11, 2016

windows 10 miracast remote display on other device


maybe able to use the laptop as a remote display for the compute stick.  Not much different than using RDP, but it would remote the actual desktop if it works, not the remote connect, which would allow a reboot rather than a disconnect on the power button.


http://www.laptopmag.com/articles/turn-windows-10-pc-into-wirelss-display

Wednesday, November 9, 2016

Windows 7 system font size issues (tiny for display)


Windows 7 font size problem link

http://superuser.com/questions/425449/how-do-i-fix-the-tiny-font-in-my-windows-7-system-dialog-boxes

Go to Control Panel -> Personalization -> Window Color -> Advanced appearance settings





















Go through each item in the Item drop-down and see if anything has a very low Size set in the Font section.

Windows 10 font size problem solution search

https://www.google.com/search?q=windows+10+font+size+system&ie=utf-8&oe=utf-8

xx

Windows 10 tablet keyboard, adding arrow keys.


http://superuser.com/questions/1001053/windows-10-tablet-onscreen-keyboard-arrows

To enable this layout:
  1. From the Start screen, open Settings (hidden behind the “hamburger” icon in the tablet mode). Another way to start the Settings app is the “All Settings” action icon in the notification center.
  2. In the Settings app, select DevicesTyping.
  3. Turn on the “Add the standard keyboard layout as a touch keyboard option” switch.
After enabling the layout you can switch to it using the rightmost icon in the keyboard options menu:











the standard keyboard has up and down arrow keys, useful for scrollback.  should be in the menu, but guess they don't use the keyboard and omitted them.