miércoles, 27 de abril de 2022

curl terminal download .pdf

on terminal

curl --output     055022913.pdf      https://yourwebsite/PDF/2021/055022913.pdf

sábado, 23 de abril de 2022

Restrict graphic tablet to primary display

 https://unix.stackexchange.com/questions/428747/restrict-graphic-tablet-to-primary-display

 

xinput  # get the IDs for all relevant pieces of my tablet. 
xrandr  # get the names of my displays 
xinput map-to-output 13 HDMI-A-0
xinput map-to-output 14 HDMI-A-0   
xinput map-to-output 21 VGA-1 

 

Virtualbox: Share A Folder in linux Host to Windows Guest

 

One of the top things after installed a virtual machine via VirtualBox is how to transfer files between host OS and guest OS. And this can be done via Shared Folder feature.

1. In Virtualbox (6.0.8 in the case), open Settings of the Windows Guest OS. Then do:

  • Navigate to Shared Folders in left pane.
  • Click ‘Adds new shared folder’ button in the right.
  • In next pop-up dialog do:
    • Folder Path, choose a folder in the Host OS to share with.
    • Folder Name, auto generated after chosen folder.
    • Enable ‘Auto-mount‘.
    • Enable ‘Read-only’ if you DON’T want to add/edit the folder files in Guest.
    • Mount point:, leave it empty.

2. Boot up the Guest OS (Windows 7 in the case), and then go to menu Devices -> Insert Guest Additions CD image.

If you don’t see the Guest window menu, press right-Ctrl + C on keyboard.

3. Open Computer, you’ll see CD Driver marked as ‘VirtualBox Guest’.

4. Go to the CD Driver and click install the exe file to bring up guest addition install wizard.

5. Follow the install wizard until done.

6. Finally reboot the Windows guest OS, and shared folder should be there in ‘Computer’

https://ubuntuhandbook.org/index.php/2019/06/virtualbox-share-a-folder-in-ubuntu-host-to-windows-guest/