#Can't open VS code as root
1 messages · Page 1 of 1 (latest)
what does it error out as
is your dwm.conf in your home directory?
why is it a problem
.s litany
Please follow the Standard Litany when asking a question:
• What was your environment? What was your operating system, configuration?
• What did you do? What did you run or test? Where?
• What actually happened? What were the exact results, complete log contents, exact error messages?
• What did you expect? What were you aiming to achieve? What result were you looking for?
Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.
everyone is in the dark here lmfao
no it is in /usr/local/bin/dwm
ok
well a better solution to running it as sudo would to be to get a polkit authentication agent
soo sudo pacman -S polkit
another good practice would be to copy that to your home dir somehow like in ~/.config
unless you want the same config on multiple users
If I have it in my home dir I would not have be that complicated to run?
I"m actually not sure with dwm, but with i3 I just copied it to ~/.config/i3 and in my .zshenv in home dir I source export XDG_CONFIG_HOME="$HOME/.config"
as in I have another dir in .config called i3, and inside it has a file called config so ~/.config/i3/config
but then you shouldn't really need root permissions if you can figure that out
maybe you can use sudoedit with vscode as the editor
does vscode support that
you should be able to use it like that, yeah
like an xsession file that runs dwm wherever you installed it