10 October 2023

Can not print to Sharp multi-function printer

Do 'auto-configuration'.
'Ports' > 'Configure Port'. Change Protocol from 'Raw' into 'LPR'. Enter 'lp' in 'LPR Settings/Queue Name'. OK.
Can print now.

If seeing error, e.g. 'the port is being used', etc., then restart computer. Do the above steps again.
Can print now.

18 September 2023

3 Easy Ways to Download YouTube Videos in Ubuntu and Other Linux Distributions 3. Command line tool for downloading YouTube videos

https://itsfoss.com/download-youtube-videos-ubuntu/


1. Download YouTube Videos using Firefox Add-on ‘Video DownloadHelper’

2. GUI applications to download YouTube videos on Linux

3. Command line tool for downloading YouTube videos

17 September 2023

How to copy from vim to system clipboard on ubuntu?

https://superuser.com/questions/1559544/how-to-copy-from-vim-to-clipboard-on-ubuntu-20-04


You need to make sure clipboard is activated (which is probably not the case).

Run : vim --version | grep 'clipboard'

if you get "-clipboard" then you would have to install vim again with the "clipboard" functionality.

You can do it it by installing "vim-gtk3" or "gvim".

Solution

sudo apt-get install vim-gtk3 -y

With that, you will be able to copy into clipboard by typing (including the plus) "+y

How to delete content in the system clipboard on ubuntu?

Install xsel -

$ sudo apt install xsel

 

Run 

$ xsel -bc