HYPRLAND Tips & Tricks. New ideas for your Hyprland setup on Arch Linux.
Вставка
- Опубліковано 15 лип 2024
- In this video I share some Tips and Tricks from my journey with the tiling window manager Hyprland. You will learn....
How to divide the hyprland.conf into logical modules
How to create configuration variations
How to setup your monitor resolution
How you can use the hyprctl command
How to create a key binding to togle between tiling and floating mode.
How to passthrough the SUPER key to a VM
How to prepare Hyprland for screensharing and recording
As a foundation, I will use the latest version of my dotfiles in the version 2.5.1
gitlab.com/stephan-raabe/dotf...
IMPORTANT: Please make sure that rsync is installed with
sudo pacman -S rsync
Hyprland Wiki (highly recommended learning recource)
wiki.hyprland.org/
Learn how you can use Linux for your work.
Linux is a great Operating System (OS) to support me daily at my business. Linux is stable, fast and you can customize it to individual needs. In this channel, I want to share my setup of Arch Linux and show how I use my system as a daily driver.
My name is Stephan Raabe and I'm a Digital Marketing Professional with more than 20 years of experience in B2B Digital Marketing, computer science and web technologies.
This channel provides tutorials about Linux, the distribution Arch, window managers (e.g. Qtile) and desktop environments, and Microsoft 365 (Office 365) plus other cloud based services that I use in Digital Marketing activities.
👉 ML4W Dotfiles for Hyprland: gitlab.com/stephan-raabe/dotf...
👉 ML4W Dotfiles Wiki: gitlab.com/stephan-raabe/dotf...
👉 ML4W Hyprland Starter: github.com/mylinuxforwork/hyp...
👉 ML4W Hyprland Starter Wiki: github.com/mylinuxforwork/hyp...
👉 ML4W Hyprland Settings App: github.com/mylinuxforwork/hyp...
👉 Homepage: www.ml4w.com
👉 Discord: / discord
👉 MyChatGPT Python Script: github.com/mylinuxforwork/cha...
00:00 Overview
01:01 Restructuring the hyperland.conf
02:41 Configuration variations
03:58 Monitor configuration
05:09 Hyprctl command
07:04 Window toggle
08:14 Passthrough the SUPER KEY to VM
10:11 Screensharing and recording
#linux #hyprland #learning #tutorial
Your dotfiles are phenomenal. I followed your instructions on your last video and installed them to the new Garuda Hyperland spin and have been playing with them ever since.
That’s great. Thanks for your feedback.
Did you just run the script or did you have to do some customization?
@@Dark_Lobster Running the script will install everything. Planning to release 2.6 officially tomorrow.
Thank you for all your great work and info!
Thank you.
Hands down, one of the best overviews of setting up hyprland out there. Thank you very much for sharing your dotfiles.
Thank you!
I really like the order and cleanliness of the dotfiles and of your work environment in general.
Your videos are also very relaxing, as well as interesting.
Thank you so much.
Amazing channel and easy to learn. You have made my desktop to much nicer. Gods work
Thank you.
Perfekt! Genau das hab ich gebraucht. Mille Grazie
Gerne.
Thanks, installing Hyprland has been so simplified by you for noobs. I was expecting a walk thru and here it came.
Thank you. More details will come later this year.
Very instructive and useful. Thanks again.
Thank you.
Just discovered your channel. You and your work are awesome. Keep it up!
Thank you.
thank you, that was really great one as always🙏
Thank you.
Great tips which lead me to add scratchpads with pyprland and submaps. Thank you!
Great.
Really great video!!
Thank you.
I have installed your configuration its beautiful thank you
Thank you for your positive feedback.
very nice video, covered lot of subtle details
Thanks.
Amazing! Thank you. Not only for making it available for people to just copy your settings, but also teaching us how to build our own from scratch if we want to.
Which I have been doing. The only thing I need to troubleshoot at the moment is when my pc goes into automatic hibernation/sleep mode, it won't wake up again, I have to do a hard reset.
Hi. Not sure if this page can help you. wiki.archlinux.org/title/Power_management/Suspend_and_hibernate If yes, would be great to get feedback.
great video and workflow is amazing - just need some help holding my settings
Thanks. You can open an issue on Gitlab in case of questions.
Danke Sehr
Thank you so much. Vielen Dank.
I like recent updates to your setup. The small menu to edit common settings is great! I also tried the installer project to keep it up to date. Worked well. I have a suggestion, In your bashrc look for and load .bash_aliases if it exists. This way users can store all their settings, aliases, etc and not get overwritten every time you install or upgrade And of course check for .fish_profile, etc,, So congrats your setup has made it to HW full time, :) I loaded garuda sway now I am installing your hyprland and qtile config on to my old apple macbook pro. It's much happier with a 'good' OS on it now haha Sorry macOS enthusiasts haha Thank you again
a couple of issues. your config files broke the waybar for sway In hyprland the icon for shutodwn.logiout doesn't work. And you removed the 'power menu' from your keybindings.conf in qtile the shutdown icon works fine Using 2.6RC
I had to hack it a little bit I copied the original waybar files to under ./config/sway I had to call it manually. the swaybar comand waybar doesn't seem to allow setting the config file location. I couldn't find anyway around that but it works now via startup script. QTILE takes a little getting used to but i like it also. Regards
Hi. I will check. I can see all icons. Sway is unfortunately not supported.
That’s great and a very goid workaround.
Keybinding for wlogout is here on line 33: gitlab.com/stephan-raabe/dotfiles/-/blob/main/hypr/conf/keybindings.conf?ref_type=heads
Hey Stephen, great video but do you know in hyprland is it possible to set-up scratch pads? it's the one thing I m7ss from Qtile
Yes. With an addon. Please check github.com/hyprland-community/pyprland or you create a script with floating windows based on window rules.
FYI: In 2.6RC wlogout isn't getting installed. That is what was causing the shutdown/powermenu button not to working hyprland waybar.
Can you try to run sudo pacman -Syu to update your system and try again?
@@mylinuxforwork I update it quite often Once I manually installed wlogout it worked immediately I ran wlogout at the CLI and it wasn't found. Once I installed it the powermenu worked immediately
@@donaldwilliams6821 Great.
your dotfiles looks so clean :)..have you tried another bar like eww or ags? if yes do you have the dotfiles?
Thanks. No haven’t tried eww yet. I’m actually very happy with waybar and my themeswitcher. But will give eww a try.
@@mylinuxforwork great!
Hey, so flatpak has themeing issues sometimes on hyprland, depending on the theme. It usually defaults to light libadwaita theme as a backup. Is there any way to fix this? I've used nwg-look, and i have to switch the theme every time i reboot my pc.
Hi. I will look into it.
hey man, i've been using your dotfiles on my laptop for quite a while, and they are incredible, but for some reason no matter what i try, they dont work on my desktop (fresh arch install), do you have any advice as to how i can get it working?
Hi. That’s super difficult to find the reason without seen your system. Are you using an Nvidia graphics card? Nvidia isn’t supported.
@@mylinuxforwork nope, amd Rx 570, archinstall with ly terminal and hyper land . I think some config files fail to generate, because at the end of the script where I am asked about the keyboard layout, I type the correct layout and get a message that says the file could not be found
on my acer mc605 desktop with a nvidia gt620 it works all great i installed arch with all open source drivers@@mylinuxforwork
Optimus Video, but...what keyboard and mouse combination do you use for resizing windows? Thank you...
Hi. SUPER+left mouse to move SUPER+right mouse to resize.
Oohh right mouse, damn! Tnx my Prime Minister 😁
@@silviox74 Thanks 😊
Question: In Hyprland for VMs you can set the ENV = xxxx To disable HW cursors and enable software rendering. . What is the equivalent in QTILE? If you know.
Let me check on the new EndeavourOS Galileo. Just installed it today on a VM and tested my new dotfiles 2.6.
@@mylinuxforwork Qtile under X11 works fine. Two things, one Qtile Wayland still has upside down cursor and two, when I select Qtile wayand i don't get your interface. Just the standard Qtile GUI Thanks.
can u pls show, how to hide maximize and other command in firefox and other programs?
That is a really good question. Not sure if this is possible but will give itvs try on Firefox.
I want to enable three finger gesture to change between workspace
Never made this. Can you check the hyprland wiki?
Hello, another user also is seeing same issue as I am. I did a checkout and got 2.5.2 (beta) That didn't install correctly. Hyprland starts with a black screen just the standard wallpaper. I noticed the ~/dotfiles directory was empty. The dotfiles dir was in the ~/src directory I cloned it too. I did try moving it to ~/Downloads as the install.sh suggests. Same problem. After install ~/dotfiles is empty. All the files are still in the starting directly. I did a git checkout 2.5.1 and tried that version and had same issue. Maybe because I tried to install 2.5.2 beta 1st.
How does your dotfiles-versions folder looks like? Are there all versions listed? And error messages during the installation?
Hi sir, i've tried to add gesture to switch from one desktop to another but they apparentaly doesen't work, do you have any clue to help me resolving this ?
edit: i love this dotfile !
Thanks. Please check the hyprland wiki. wiki.hyprland.org/Configuring/Keywords/#gestures
by default the switch workspace swipe is a 3-finger swipe. I thought it wasn't working at first too!
Hi, why I can't use opengl and 3d acceleration in my virt-manager? My graphics card is a Nvidia GT 1030.
Can you activate it in the virtmanager frontend? Please check my Manjaro or EndeavourOS video to see my setup. I haven’t an NVidia unfortunately for testing.
Thank you very much for your answer, I can start it in the virt-manager backend, but nothing shows up. Thank you again, I will check again how to fix it.@@mylinuxforwork
I was hoping there was an easy way to have a laptop that plugs into a monitor when I get home. I really don’t feel like jumping in an out of configs all the time.
Hi. Will start testing a multi monitor setup soon. Please check in the meanwhile wiki.hyprland.org/Configuring/Monitors/ You can add the monitor definition in the file ~/dotfiles/hypr/conf/monitor.conf
the install script cannot handle wifi and bluetooth and the display manager is also unconfigured after install.
Hi. Thanks for your feedback. WIFI can be configured nmtui, Bluetooth with blueman-manager. Display manager isn’t recommended for Hyprland. You can start Hyprland with the command Hyprland from tty.
@@mylinuxforwork I like using sddm. According to the wiki it should work 100%, at least on recent Hyprland.
@@Dark_Lobster Sure. You can install it and enable the service again. sudo pacman -S sddm; sudo systemctl enable sddm.service and reboot.
Hi, I previously used your dotfiles on my Arch Linux and it was fantastic, everything was beautiful and smooth. However, my laptop broke and I had to buy a new one. But this time when I installed your dotfile, I encountered a few issues:
1. When I log in, there is no prompt to type 'Hyprland' to enter. I had to type Hyprland myself.
2. After getting into Hyprland, all that appears is the default background and my mouse cursor, and I can't do anything except move the cursor around.
Can you explain why this is happening and how to fix it?
I am having same issue. 1st this I noticed is that when I cloned his repo I got 2.5.2 (beta) The install script put links that look for 'dotfiles' dir in you home dir. But when you go there the directory is empty. I tried checking out 2.5.1 (git checkout 2.5.1) but had same issue. IDK if that's because I ran the install.sh twice . I did this on a fresh install. Just too dumb to take snapshot 1st. haha
Hi. If you used my installation script and you have disabled your display manager then you starting Hyprland with tty and by entering the Hyprland command. This is the recommended way to start Hyprland. Please see the Hyprland wiki.
Can you try again with the latest 2.5.2beta? I worked on some files yeste evening. I could install everything correctly. But there was a bug before in the BETA.
This is also happening to me. Nothing loads up when I start Hyprland from tty. Only cursor and background image comes up.
@@zer0bitz This problem make me reinstall Arch many time and I still stranded.
Why does neofetch show hyprland and sway?
That was a great observation. Please check www.reddit.com/r/hyprland/comments/12gm2ds/why_does_hyprland_show_up_as_a_de_instead_of_a_wm/
@@mylinuxforwork Sorry for the late reply, but UA-cam doesn't like to give notifications. So I know why hyprland is as DE, but what does sway do in all this?
It seams that this is a neofetch bug@@Gylvaris
@@mylinuxforwork Thanks for the answer! I hope that the laptop will come back from repair soon, I plan to change the system to arch, although I'm worried about breaking something xD
@@Gylvaris Of you plan to switch to Arch, what have you used so far?
Wonder how your vm only took ~400 MB ram with 900 packages...
Never checked it. Is it good?
@@mylinuxforwork idk if it's good or not
My arch setup on my real machine took ~900 MB with 600 packages...
@@yaarooruvan4310It's not like you're loading all the packages to ram so there's no correlation.
I think I found the issue! On my VM rsync was NOT installed. I see you have a script to check for it, but seems like it doesn't work.? I just rolled back my VM pulled fresh dotfiles with rsync installed I am sure on your systems rsync is there which would explain why it works for you It's building now I will let you know shortly
That's it! Perfect!! Works great!
@@donaldwilliams6821 Thank you. The start of the dotfiles should check that rsync is installed. Crazy. But great that's working now.
@@mylinuxforwork Yeah I saw that not sure why it's not picking it up Maybe you can remove rsync from a test VM and try it? See if you have same result. It also explains why the 2.5.1 also failed for me. Regards
@@donaldwilliams6821 yeah. I think you’re right. Will release the next version hopefully this week. This will fix it. Ifvyou like you can test the current status here: gitlab.com/stephan-raabe/dotfiles/
@@mylinuxforwork Absolutely! I have had it bookmarked and memorized for awhile now. :) Do you have a discord server or forum? Might be easier to work through issues that way vs. here. I am happy to test things for you.