Posts

Showing posts from September, 2020

Headless print using chrome

To print to PDF using chrome cli: google-chrome --headless --disable-gpu --print-to-pdf-no-header --print-to-pdf=output.pdf source.html Ref: https://developers.google.com/web/updates/2017/04/headless-chrome Ref: https://stackoverflow.com/questions/55418415/disable-chromes-default-headers-footers-in-headless-print-to-pdf

Remote your linux gui using Android

Image
Linux Install these packages on Fedora 32: $ dnf install xrdp tigervnc-server-minimal $ systemctl start xrdp To enable on start up: $ systemctl enable xrdp Then log out current user (necessary if you will remote using same user) Android Install Microsoft Remote Desktop Add PC, PC name: enter IP address User name: add user account, with invalid password Try to connect, click OK to show login screen then login as with correct password Note: If necessary open port 3389/tcp