Copy the contents of a file to clipboard from WSL to Windows?

Command: cat /path/to/file | clip.exe Description: cat command put the file contents to the output. It is then pipe to the clip.exe, a Win32 program, redirects output to the Windows clipboard. Do not forget to add the .EXE extension of the later one. There are multiple cat alternatives can be used, see this and this. … Read more

Missing libappindicator3-1 installing Slack

I had such issue with new version of Debian 11 (2021-09-07). Here is what I did to install Slack desktop app on Debian. I will use slack-desktop-4.19.2-amd64.deb file for the example dpkg-deb -x slack-desktop-4.19.2-amd64.deb unpack dpkg-deb –control slack-desktop-4.19.2-amd64.deb unpack/DEBIAN Open the file ./unpack/DEBIAN/control and replace libappindicator3-1 with libayatana-appindicator3-1 After that do dpkg -b unpack slack.deb … Read more

what is the function of /etc/apt/sources.list.d?

The function of the /etc/apt/sources.list.d directory is as follows: Using the directory you can easily add new repositories without the need to edit the central /etc/apt/sources.list file. I.e. you can just put a file with a unique name and the same format as /etc/apt/sources.list into this folder and it is used by apt. In order … Read more

How to upgrade glibc on Debian?

I was able to install libc6 2.17 in Debian Wheezy by editing the recommendations in perror’s answer: IMPORTANT You need to exit out of your display manager by pressing CTRL–ALT–F1. Then you can stop x (slim) with sudo /etc/init.d/slim stop (replace slim with mdm or lightdm or whatever) Add the following line to the file … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)