What I want to do: Print an A6 PDF centred on an A4 page from the command line on Linux What I tried: Tried to use evince and Firefox but they have no command line print options for linux. What worked: Calculate the margins and run lp or lpr by doing the following...
2nd Monitor not Working after Kernel Upgrade
Ubuntu 20.04.2 LTS with a 460.80 Nvidia Driver Just did an upgrade from 5.8.0-59-generic to 5.8.0-63-generic kernel last night and this morning my monitor connected to the VGA port on the card failed to work sudo lshw -c video *-display description: VGA compatible...
Run Shell Commands from the MySQL Client
Saw a post that says you need to put a ! to run a shell command in the MySQL but found in my mysql client that it was \! <shell-command-here> https://electrictoolbox.com/shell-commands-mysql-command-line-client/ To drop to a shell. use \! bash To return to the the...

Docker on Fedora 32
Commands to run to get moby-engine running on Fedora 32 # as root or sudo'd dnf install grubby grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierachy=0" # check the output of the above grubby --info=ALL sudo mkdir /sys/fs/cgroup/systemd sudo mount -t...

PDF Poster
Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using convert from ImageMagick # install ImageMagick sudo dnf install ImageMagick convert widescreen.png widescreen.ps Use poster to chop and format the...
July 2020 VMWare Player and Workstation won’t compile their modules on kernel 5.7.6-201.fc32.x86_64 Fedora 32
So just had to downgrade my running Kernel to use an earlier one using: grubby --set-default /boot/vmlinuz-5.6.19-300.fc32.x86_64 I couldn't get the the vmware modules to compile on 5.7.6-201.fc32.x86_64. These things change rapidly and they will probably make an...
Can’t launch OpenVPN on Fedora 32 due to SeLinux preventing access to key
Network manager allows you to add certs to an OpenVPN connection but the connection fails with SeLinux enabled You know it's seLinux because when you disable seLinux it works # disable seLinux NM openvpn works setenforce 0 # enable seLinux NM openvpn fails setenforce...
View Fedora 32 Nvidia Driver Settings
So just booted my Fedora box into version 5.7.6-201.fc32.x86_64 kernel and got stuck at the UEFI boot logo and no further. Theoretically the NVIDIA driver should dynamically build and install it's kernel module in the later kernel when you follow the directions at the...
Scribus to PDF Print
Just using Scribus to design and print some lapel cards Regarding Scribus - It seems that the stable version will not run or install easily on Fedora 32 so I have had to make do with the Scribus Version 1.5.6.svn Beta. So after getting around the flakey behavior of...
CUPS-PDF Printing Images not searchable PDF
I have a cups-pdf printer that takes the output from glabels-3-batch # Using glabels-3-batch results in a PDF you can select and copy the text from cat merge.csv | glabels-3-batch -i - -o out.pdf 100x50sample.glabels The PDF file which glabels-3-batch creates can be...