NeshHari / XMonad

XMonad Starter Kit
222 stars 19 forks source link

Trying out the configuration on a minimal arch VM #7

Closed 4Gettt25 closed 1 year ago

4Gettt25 commented 1 year ago

Firstly I really love the look of both configurations. Secondly, I just bought a new Laptop for Uni and thought "Hey why not try arch with a window manager again" and that's when I found your XMonad configuration. So I wanted to try it out in a VM first but ran into some problems. I did a minimal arch install and then tried both the manual and the automatic installation of the config. But it never really worked as I couldn't even get into XMonad (which is 100% my fault) so I wanted to ask for some tips/tricks about the setup.

NeshHari commented 1 year ago

Hi. Is there an error message when running "startx" from the tty? Also run xmonad --recompile (in a tty session) to see any compilation-related message (can't find module etc.) and post it here. If the latter has no error and says "recompiled successfully", then it might be a graphic driver-related issue (esp if its nvidia). You may also want to try if you can launch into xmonad using the AUR package and simply copying over the configs + running xmonad --recompile && xmonad --restart, followed by autorandr single. The main difference (between the AUR package and mine -- stack install) is that the Haskell LSP won't work out-of-the-box (something to do with static/dynamic linking but I can't recall).

4Gettt25 commented 1 year ago

So I now got it to recompile with success but ran into another error:

openDisplay error

NeshHari commented 1 year ago

This is expected behavior since xmonad can't be restarted within the tty. Since it recompiled successfully, there are no issues with the configuration. Please run "startx" to start the xmonad session. It reads the contents from ~/..xinitrc.

4Gettt25 commented 1 year ago

Okay when I do startx it starts but I just see a blackscreen

NeshHari commented 1 year ago

Does mod+Enter open kitty? If yes, run autorandr --save single then mod+q to restart and recompile xmonad.

4Gettt25 commented 1 year ago

No unfortunately mod+Enter doesn't open kitty

4Gettt25 commented 1 year ago

I FINALLY GOT IT TO WORK IN THE VM AFTER 8 HOURS!!!!!

NeshHari commented 1 year ago

I FINALLY GOT IT TO WORK IN THE VM AFTER 8 HOURS!!!!!

Awesome :tada: ! If you have any suggestions/criticisms regarding the installation process, please feel free to list them :smiley: so I can make the necessary adjustments.

4Gettt25 commented 1 year ago

okay so I now set it up proberly but couldn't get 3 things to work. The First is polybar (it just shows the workspaces in the top middle, the second is eww-git (when I tried to install it I got the following error: "One or more PGP signatures could not be verified!") and the third is change my keyboard layout to german.

4Gettt25 commented 1 year ago

eww error this is the complete eww error

NeshHari commented 1 year ago

I'm pretty sure polybar is only for the workspaces and the rest are eww. You may try updating the Arch Linux keyring with sudo pacman -Syyu archlinux-keyring first, and additionally import the gpg keys using gpg --recv-keys <insert PK here> if required. You may need to add/change the keyserver but try the aforementioned steps first. Please look here for how to change keyboard layout.

4Gettt25 commented 1 year ago

I've noticed because I wanted to try the kanagawa one. That when you do wget https://raw.githubusercontent.com/NeshHari/XMonad/kanagawa/setup.sh it installs just the normal one

4Gettt25 commented 1 year ago

It also breaks when trying to change the resolution

NeshHari commented 1 year ago

Cool. I'll make the necessary adjustments when I find the time. Probably push the vertical branch as the new main since it completely abandons polybar and is eww-optimised (much better animations and functionality as well). Readme isn't updated though.

4Gettt25 commented 1 year ago

Okay then I will try vertical aswell

4Gettt25 commented 1 year ago

So I looked at some parts of the script and did 2 pull request (I tested it first an everything worked fine) so now both the kanagawa branch and vertical should point to the right branches

4Gettt25 commented 1 year ago

I've also noticed that the eww/polybar in kanagawa is really off center