HYPRLAND Tips & Tricks. New ideas for your Hyprland setup on Arch Linux.

  Рет қаралды 16,679

My Linux For Work

My Linux For Work

Күн бұрын

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.
Homepage:
www.ml4w.com
My Dotfiles for my Linux configuration:
gitlab.com/stephan-raabe/dotf...
Hyprland Starter Package
gitlab.com/stephan-raabe/hypr...
Arch Installation Script:
gitlab.com/stephan-raabe/arch...
MyChatGPT Python Script:
gitlab.com/stephan-raabe/mych...
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

Пікірлер: 129
@ceesvanbreda
@ceesvanbreda 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
That’s great. Thanks for your feedback.
@Dark_Lobster
@Dark_Lobster 6 ай бұрын
Did you just run the script or did you have to do some customization?
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@Dark_Lobster Running the script will install everything. Planning to release 2.6 officially tomorrow.
@user-dp2kg8lp5f
@user-dp2kg8lp5f 6 ай бұрын
Thank you for all your great work and info!
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you.
@milohoffman274
@milohoffman274 6 ай бұрын
Hands down, one of the best overviews of setting up hyprland out there. Thank you very much for sharing your dotfiles.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you!
@dajelinux
@dajelinux 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you so much.
@NathBeLive
@NathBeLive 6 ай бұрын
Amazing channel and easy to learn. You have made my desktop to much nicer. Gods work
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you.
@luigicaravelli3083
@luigicaravelli3083 6 ай бұрын
Just discovered your channel. You and your work are awesome. Keep it up!
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you.
@RadeonArch2437
@RadeonArch2437 6 ай бұрын
Thanks, installing Hyprland has been so simplified by you for noobs. I was expecting a walk thru and here it came.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you. More details will come later this year.
@richardmonroe4208
@richardmonroe4208 6 ай бұрын
Very instructive and useful. Thanks again.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you.
@diebrillenmacherwallstadt3341
@diebrillenmacherwallstadt3341 6 ай бұрын
Perfekt! Genau das hab ich gebraucht. Mille Grazie
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Gerne.
@hanshofman
@hanshofman 6 ай бұрын
Great tips which lead me to add scratchpads with pyprland and submaps. Thank you!
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Great.
@SerkanBalta
@SerkanBalta 6 ай бұрын
thank you, that was really great one as always🙏
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you.
@asg8813
@asg8813 6 ай бұрын
very nice video, covered lot of subtle details
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thanks.
@jonnywester3194
@jonnywester3194 4 ай бұрын
Really great video!!
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
Thank you.
@Hjh913
@Hjh913 6 ай бұрын
I have installed your configuration its beautiful thank you
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you for your positive feedback.
@ssgtblackmamba7991
@ssgtblackmamba7991 5 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 5 ай бұрын
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.
@andril
@andril 5 ай бұрын
great video and workflow is amazing - just need some help holding my settings
@mylinuxforwork
@mylinuxforwork 5 ай бұрын
Thanks. You can open an issue on Gitlab in case of questions.
@hanshofman
@hanshofman 6 ай бұрын
Danke Sehr
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thank you so much. Vielen Dank.
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Hi. I will check. I can see all icons. Sway is unfortunately not supported.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
That’s great and a very goid workaround.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Keybinding for wlogout is here on line 33: gitlab.com/stephan-raabe/dotfiles/-/blob/main/hypr/conf/keybindings.conf?ref_type=heads
@jackelofnar
@jackelofnar 6 ай бұрын
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
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Yes. With an addon. Please check github.com/hyprland-community/pyprland or you create a script with floating windows based on window rules.
@renarenpard6338
@renarenpard6338 6 ай бұрын
your dotfiles looks so clean :)..have you tried another bar like eww or ags? if yes do you have the dotfiles?
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Thanks. No haven’t tried eww yet. I’m actually very happy with waybar and my themeswitcher. But will give eww a try.
@renarenpard6338
@renarenpard6338 6 ай бұрын
@@mylinuxforwork great!
@silviox74
@silviox74 6 ай бұрын
Optimus Video, but...what keyboard and mouse combination do you use for resizing windows? Thank you...
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Hi. SUPER+left mouse to move SUPER+right mouse to resize.
@silviox74
@silviox74 6 ай бұрын
Oohh right mouse, damn! Tnx my Prime Minister 😁
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@silviox74 Thanks 😊
@yukselcaglarbaypnar5301
@yukselcaglarbaypnar5301 6 ай бұрын
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?
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Hi. That’s super difficult to find the reason without seen your system. Are you using an Nvidia graphics card? Nvidia isn’t supported.
@yukselcaglarbaypnar5301
@yukselcaglarbaypnar5301 6 ай бұрын
@@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
@user-dp2kg8lp5f
@user-dp2kg8lp5f 6 ай бұрын
on my acer mc605 desktop with a nvidia gt620 it works all great i installed arch with all open source drivers@@mylinuxforwork
@ssdemon96
@ssdemon96 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Hi. I will look into it.
@act0r399
@act0r399 6 ай бұрын
can u pls show, how to hide maximize and other command in firefox and other programs?
@mylinuxforwork
@mylinuxforwork 5 ай бұрын
That is a really good question. Not sure if this is possible but will give itvs try on Firefox.
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Let me check on the new EndeavourOS Galileo. Just installed it today on a VM and tested my new dotfiles 2.6.
@donaldwilliams6821
@donaldwilliams6821 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.
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
FYI: In 2.6RC wlogout isn't getting installed. That is what was causing the shutdown/powermenu button not to working hyprland waybar.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Can you try to run sudo pacman -Syu to update your system and try again?
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
@@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
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@donaldwilliams6821 Great.
@vipulgupta7186
@vipulgupta7186 4 ай бұрын
I want to enable three finger gesture to change between workspace
@mylinuxforwork
@mylinuxforwork 4 ай бұрын
Never made this. Can you check the hyprland wiki?
@damnhatesyou
@damnhatesyou 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
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
@Ossigen8
@Ossigen8 2 ай бұрын
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 !
@mylinuxforwork
@mylinuxforwork Ай бұрын
Thanks. Please check the hyprland wiki. wiki.hyprland.org/Configuring/Keywords/#gestures
@paultapping9510
@paultapping9510 Ай бұрын
by default the switch workspace swipe is a 3-finger swipe. I thought it wasn't working at first too!
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
How does your dotfiles-versions folder looks like? Are there all versions listed? And error messages during the installation?
@fuguimashu
@fuguimashu 6 ай бұрын
Hi, why I can't use opengl and 3d acceleration in my virt-manager? My graphics card is a Nvidia GT 1030.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
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.
@fuguimashu
@fuguimashu 6 ай бұрын
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
@nguyeentunglam
@nguyeentunglam 6 ай бұрын
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?
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
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.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
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.
@zer0bitz
@zer0bitz 6 ай бұрын
This is also happening to me. Nothing loads up when I start Hyprland from tty. Only cursor and background image comes up.
@nguyeentunglam
@nguyeentunglam 6 ай бұрын
@@zer0bitz This problem make me reinstall Arch many time and I still stranded.
@kanglinyao
@kanglinyao 6 ай бұрын
the install script cannot handle wifi and bluetooth and the display manager is also unconfigured after install.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
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.
@Dark_Lobster
@Dark_Lobster 6 ай бұрын
@@mylinuxforwork I like using sddm. According to the wiki it should work 100%, at least on recent Hyprland.
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@Dark_Lobster Sure. You can install it and enable the service again. sudo pacman -S sddm; sudo systemctl enable sddm.service and reboot.
@Gylvaris
@Gylvaris 6 ай бұрын
Why does neofetch show hyprland and sway?
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
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/
@Gylvaris
@Gylvaris 6 ай бұрын
@@mylinuxforwork Sorry for the late reply, but KZfaq doesn't like to give notifications. So I know why hyprland is as DE, but what does sway do in all this?
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
It seams that this is a neofetch bug@@Gylvaris
@Gylvaris
@Gylvaris 6 ай бұрын
@@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
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@Gylvaris Of you plan to switch to Arch, what have you used so far?
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
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
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
That's it! Perfect!! Works great!
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@donaldwilliams6821 Thank you. The start of the dotfiles should check that rsync is installed. Crazy. But great that's working now.
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
@@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
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
@@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/
@donaldwilliams6821
@donaldwilliams6821 6 ай бұрын
@@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.
@yaarooruvan4310
@yaarooruvan4310 6 ай бұрын
Wonder how your vm only took ~400 MB ram with 900 packages...
@mylinuxforwork
@mylinuxforwork 6 ай бұрын
Never checked it. Is it good?
@yaarooruvan4310
@yaarooruvan4310 6 ай бұрын
@@mylinuxforwork idk if it's good or not My arch setup on my real machine took ~900 MB with 600 packages...
@benign4823
@benign4823 6 ай бұрын
​@@yaarooruvan4310It's not like you're loading all the packages to ram so there's no correlation.
10 Hyprland Tips in Under 10 Minutes
9:25
The Linux Cast
Рет қаралды 23 М.
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,6 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 52 МЛН
Why you (probably) shouldn't use an Arch Linux install script
10:18
My New Desktop
11:46
Chris Titus Tech
Рет қаралды 570 М.
Nixos and Hyprland - Best Match Ever
7:13
Vimjoyer
Рет қаралды 137 М.
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 207 М.
An honest review on Hyprland
10:25
Ampersand
Рет қаралды 91 М.
You Should Use Flakes Right Away in NixOS!
26:09
LibrePhoenix
Рет қаралды 50 М.
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,6 МЛН