Linux Shell Menu (TUI)

Linux shell menu (TUI – Text User Interface), using pdmenu samples and examples available here:https://gitlab.com/majorbob/sys-menu Start by installing pdmenu (apt install pdmenu, or dpkg -i pdmenu.deb).Then download and expand the zip file, copy folders to appropriate locations (as expanded).Make /usr/bin/menu executable. Type menu to start the menu.

Read bkf files in Linux

mtftar is a utility that can read data stored in BKF files generated with Windows NTBackup program. The original source is: https://github.com/geocar/mtftar However, on Debian 9 in 2018, this code currently produces errors such as: MTF error out of order mtftar (files before directory saw 4 while expecting limit of 0)This does not look like a tar … Continue reading Read bkf files in Linux

Light locker settings

This article is about the following Linux packages: xset – the user preference command-line tool for X11, controlling screen blanking and monitor power management, light-locker – the package for password locking screens, where lightdm is the desktop manager. light-locker-settings – the GUI configuration tool for light-locker xscreensaver – the popular screen saver program light-locker-settings is a … Continue reading Light locker settings

Eaton NV 800H with NUT UPS Monitor

The Eaton NV 800H connects via USB cable. Using lsusb it identifies as: 0665:5161 Cypress Semiconductor USB to Serial To monitor this UPS using the NUT package in Linux, use the following configurations: /etc/nut/nut.conf: MODE=standalone /etc/nut/ups.conf: [myups]        driver = nutdrv_qx        default.battery.voltage.low = 11.2        default.battery.voltage.high = 13.7        port = auto        desc = “My UPS” /etc/nut/upsd.users: [upsmon]        password  = … Continue reading Eaton NV 800H with NUT UPS Monitor

Service to automount USB devices with udisks2

Udev is problematic when trying to mount USB devices – it works first time, but fails for re-insertions (Debian 9 Stretch, running in KVM, with ntfs-3g USB drive passed through).  Instead create a script to monitor: apt-get install udisks2 #nano /usr/local/bin/myautomounter #!/bin/shpathtoname() { udevadm info -p /sys/”$1″ | awk -v FS== ‘/DEVNAME/#39;}stdbuf -oL — udevadm … Continue reading Service to automount USB devices with udisks2

Windows 8 power button on start screen

To enable the power button on the start screen in Windows 8.1 (disabled by default on screens smaller than 8.5″), add either of the following registry keys: For current user: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell For all users on the device: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell Value to add: Launcher_ShowPowerButtonOnStartScreen,  DWORD = 1 Note: if setting this value via Group Policy Editor, the HKCU setting … Continue reading Windows 8 power button on start screen

Qemu Guest Agent on Windows

Qemu Guest Agent (qemu-ga) can be installed in Windows guests virtualized on KVM or Qemu. The qemu-ga executable provides information, such as IP address or CPU statistics, to the host. Use the virtio-win-x.x.x.iso provided with your host distribution, or download from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/Install the vioserial driver for PCI Simple Communications Controller.Install the guest agent from D:\guest-agent. However, … Continue reading Qemu Guest Agent on Windows