wslutilities / documentation Goto Github PK
View Code? Open in Web Editor NEWThe documentation for WSL Utilities | Mirror of https://git.wedotstud.io/wslu/documentation
Home Page: https://wslutiliti.es/wslu
The documentation for WSL Utilities | Mirror of https://git.wedotstud.io/wslu/documentation
Home Page: https://wslutiliti.es/wslu
Windows 10
19045
Not Applicable
Debian 12 (bookworm)
N/A
On the installation wiki, at https://wslutiliti.es/wslu/install.html
Under Debian and Kali, the directions go against the recommendations from Debian for using third party repositories ( https://wiki.debian.org/DebianRepository/UseThirdParty )
The certificate MUST NOT be placed in /etc/apt/trusted.gpg.d or loaded by apt-key add.
This is because /etc/apt/trusted.gpg.d is the global trust anchor for all of apt and this would cause all repositories to accept this third-party certificate, including those that don't have "signed-by"
users MAY be told to run a command to download the certificate, but because chances are the certificate being distributed is ASCII-Armored, it is best to unconditionally dearmor them
Entries MUST be added in the /etc/apt/sources.list.d directory using a shortened repository name (e.g. deriv.list)
Here is a potential way to fix:
Change
wget -O - https://pkg.wslutiliti.es/public.key | sudo tee -a /etc/apt/trusted.gpg.d/wslu.asc
to
wget -O - https://pkg.wslutiliti.es/public.key | sudo gpg -o /usr/share/keyrings/wslu-archive-keyring.pgp --dearmor
Change lines like:
echo "deb https://pkg.wslutiliti.es/debian buster main" | sudo tee -a /etc/apt/sources.list
to
echo "deb [signed-by=/usr/share/keyrings/wslu-archive-keyring.pgp] https://pkg.wslutiliti.es/debian buster main" | sudo tee -a /etc/apt/sources.list.d/wslu.list
Windows 11
n/a
Not Applicable
n/a
n/a
Your website install page indicates to run zypper up
after adding the repositories, but before installing wslu
zypper up
installs all available updates, and is not directly analogous to apt-get update
The correct command after adding repositories is
zypper ref
I couldn't figure out how to register on https://git.wedotstud.io/wslu/documentation so I can't prepare a PR to fix it.
n/a
n/a
n/a
First of all, thanks for this utils set, awesome work! It helps me on a daily basis now.
Many people use Emacs in WSL, as the windows version is kind of slow and half baked.
I wrote a small elisp function that lets you open the current buffer marked files in dired (the emacs file manager) through wslview.
(I bound it to shift-return in dired) Now I browse my whole work files using dired and I can open files in word. Like the unwashed masses use Eclipse.
Maybe you want to add that to the wiki?
(defun my/wslview-open(&optional @fname)
"Use wslview to open file in Windows."
(interactive)
(let* (
($file-list
(if @fname
(progn (list @fname))
(if (string-equal major-mode "dired-mode")
(dired-get-marked-files)
(list (buffer-file-name)))))
($do-it-p (if (<= (length $file-list) 5)
t
(y-or-n-p "Open more than 5 files? "))))
(when $do-it-p
(mapc
(lambda ($fpath)
(shell-command
(concat "wslview " (shell-quote-argument $fpath)))) $file-list)
(when (not (string-equal major-mode "dired-mode"))
(revert-buffer)))))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.