andweeb / presence.nvim

Discord Rich Presence for Neovim
793 stars 68 forks source link

`sudo usermod -a -G discord <username>` when setting up on WSL1 #122

Open ZichengWangdrzz opened 10 months ago

ZichengWangdrzz commented 10 months ago

Description

Installed Go1.21.0, which is the latest version by far. Trying to set up by instructions on my WSL. Everything went well until I typed sudo usermod -a -G discord <username> . It produces the error usermod: user 'hugowang123' does not exist. I don't quite understand what should I input right here and tried several variants, including the old format which was abandoned by discord "xxx#xxx"'hugowang123' is my username for discord.

Neovim version

NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

OS information

Ubuntu 22.04 WSL1 on Windows

Steps to reproduce

It's described in the question.

Logs

No logs is there. Just the error terms

jiriks74 commented 9 months ago

Try to run it like sudo usermod -a -G discord $USER instead.