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

КОМЕНТАРІ • 129

  • @ceesvanbreda
    @ceesvanbreda 7 місяців тому +16

    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  7 місяців тому

      That’s great. Thanks for your feedback.

    • @Dark_Lobster
      @Dark_Lobster 7 місяців тому

      Did you just run the script or did you have to do some customization?

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      @@Dark_Lobster Running the script will install everything. Planning to release 2.6 officially tomorrow.

  • @user-dp2kg8lp5f
    @user-dp2kg8lp5f 7 місяців тому +1

    Thank you for all your great work and info!

  • @milohoffman274
    @milohoffman274 7 місяців тому +1

    Hands down, one of the best overviews of setting up hyprland out there. Thank you very much for sharing your dotfiles.

  • @dajelinux
    @dajelinux 7 місяців тому

    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.

  • @NathBeLive
    @NathBeLive 7 місяців тому +1

    Amazing channel and easy to learn. You have made my desktop to much nicer. Gods work

  • @diebrillenmacherwallstadt3341
    @diebrillenmacherwallstadt3341 7 місяців тому +1

    Perfekt! Genau das hab ich gebraucht. Mille Grazie

  • @RadeonArch2437
    @RadeonArch2437 7 місяців тому +2

    Thanks, installing Hyprland has been so simplified by you for noobs. I was expecting a walk thru and here it came.

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      Thank you. More details will come later this year.

  • @richardmonroe4208
    @richardmonroe4208 7 місяців тому

    Very instructive and useful. Thanks again.

  • @luigicaravelli3083
    @luigicaravelli3083 7 місяців тому

    Just discovered your channel. You and your work are awesome. Keep it up!

  • @SerkanBalta
    @SerkanBalta 7 місяців тому

    thank you, that was really great one as always🙏

  • @hanshofman
    @hanshofman 7 місяців тому +2

    Great tips which lead me to add scratchpads with pyprland and submaps. Thank you!

  • @jonnywester3194
    @jonnywester3194 5 місяців тому

    Really great video!!

  • @Hjh913
    @Hjh913 7 місяців тому

    I have installed your configuration its beautiful thank you

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      Thank you for your positive feedback.

  • @asg8813
    @asg8813 7 місяців тому

    very nice video, covered lot of subtle details

  • @ssgtblackmamba7991
    @ssgtblackmamba7991 6 місяців тому

    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  6 місяців тому

      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 6 місяців тому

    great video and workflow is amazing - just need some help holding my settings

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому +1

      Thanks. You can open an issue on Gitlab in case of questions.

  • @hanshofman
    @hanshofman 7 місяців тому +1

    Danke Sehr

  • @donaldwilliams6821
    @donaldwilliams6821 7 місяців тому

    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 7 місяців тому

      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 7 місяців тому

      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  7 місяців тому

      Hi. I will check. I can see all icons. Sway is unfortunately not supported.

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      That’s great and a very goid workaround.

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      Keybinding for wlogout is here on line 33: gitlab.com/stephan-raabe/dotfiles/-/blob/main/hypr/conf/keybindings.conf?ref_type=heads

  • @jackelofnar
    @jackelofnar 7 місяців тому +1

    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  7 місяців тому +1

      Yes. With an addon. Please check github.com/hyprland-community/pyprland or you create a script with floating windows based on window rules.

  • @donaldwilliams6821
    @donaldwilliams6821 7 місяців тому +1

    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  7 місяців тому

      Can you try to run sudo pacman -Syu to update your system and try again?

    • @donaldwilliams6821
      @donaldwilliams6821 7 місяців тому

      @@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  7 місяців тому

      @@donaldwilliams6821 Great.

  • @renarenpard6338
    @renarenpard6338 7 місяців тому

    your dotfiles looks so clean :)..have you tried another bar like eww or ags? if yes do you have the dotfiles?

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому +1

      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 7 місяців тому

      @@mylinuxforwork great!

  • @ssdemon96
    @ssdemon96 7 місяців тому

    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.

  • @yukselcaglarbaypnar5301
    @yukselcaglarbaypnar5301 7 місяців тому +1

    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  7 місяців тому +1

      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 7 місяців тому

      @@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 7 місяців тому +1

      on my acer mc605 desktop with a nvidia gt620 it works all great i installed arch with all open source drivers@@mylinuxforwork

  • @silviox74
    @silviox74 7 місяців тому

    Optimus Video, but...what keyboard and mouse combination do you use for resizing windows? Thank you...

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      Hi. SUPER+left mouse to move SUPER+right mouse to resize.

    • @silviox74
      @silviox74 7 місяців тому

      Oohh right mouse, damn! Tnx my Prime Minister 😁

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      @@silviox74 Thanks 😊

  • @donaldwilliams6821
    @donaldwilliams6821 7 місяців тому

    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  7 місяців тому

      Let me check on the new EndeavourOS Galileo. Just installed it today on a VM and tested my new dotfiles 2.6.

    • @donaldwilliams6821
      @donaldwilliams6821 7 місяців тому

      @@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.

  • @act0r399
    @act0r399 7 місяців тому

    can u pls show, how to hide maximize and other command in firefox and other programs?

    • @mylinuxforwork
      @mylinuxforwork  6 місяців тому

      That is a really good question. Not sure if this is possible but will give itvs try on Firefox.

  • @vipulgupta7186
    @vipulgupta7186 5 місяців тому

    I want to enable three finger gesture to change between workspace

    • @mylinuxforwork
      @mylinuxforwork  5 місяців тому

      Never made this. Can you check the hyprland wiki?

  • @donaldwilliams6821
    @donaldwilliams6821 7 місяців тому

    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  7 місяців тому

      How does your dotfiles-versions folder looks like? Are there all versions listed? And error messages during the installation?

  • @Ossigen8
    @Ossigen8 3 місяці тому +1

    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  2 місяці тому

      Thanks. Please check the hyprland wiki. wiki.hyprland.org/Configuring/Keywords/#gestures

    • @paultapping9510
      @paultapping9510 2 місяці тому

      by default the switch workspace swipe is a 3-finger swipe. I thought it wasn't working at first too!

  • @fuguimashu
    @fuguimashu 7 місяців тому

    Hi, why I can't use opengl and 3d acceleration in my virt-manager? My graphics card is a Nvidia GT 1030.

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      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 7 місяців тому

      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

  • @damnhatesyou
    @damnhatesyou 7 місяців тому

    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  7 місяців тому

      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

  • @kanglinyao
    @kanglinyao 7 місяців тому

    the install script cannot handle wifi and bluetooth and the display manager is also unconfigured after install.

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому +1

      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 7 місяців тому

      @@mylinuxforwork I like using sddm. According to the wiki it should work 100%, at least on recent Hyprland.

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      @@Dark_Lobster Sure. You can install it and enable the service again. sudo pacman -S sddm; sudo systemctl enable sddm.service and reboot.

  • @nguyeentunglam
    @nguyeentunglam 7 місяців тому

    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 7 місяців тому

      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  7 місяців тому

      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  7 місяців тому

      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 7 місяців тому

      This is also happening to me. Nothing loads up when I start Hyprland from tty. Only cursor and background image comes up.

    • @nguyeentunglam
      @nguyeentunglam 7 місяців тому

      @@zer0bitz This problem make me reinstall Arch many time and I still stranded.

  • @Gylvaris
    @Gylvaris 7 місяців тому +1

    Why does neofetch show hyprland and sway?

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому +3

      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 7 місяців тому

      @@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?

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому +1

      It seams that this is a neofetch bug@@Gylvaris

    • @Gylvaris
      @Gylvaris 7 місяців тому

      @@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  7 місяців тому +1

      @@Gylvaris Of you plan to switch to Arch, what have you used so far?

  • @yaarooruvan4310
    @yaarooruvan4310 7 місяців тому

    Wonder how your vm only took ~400 MB ram with 900 packages...

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      Never checked it. Is it good?

    • @yaarooruvan4310
      @yaarooruvan4310 7 місяців тому

      @@mylinuxforwork idk if it's good or not
      My arch setup on my real machine took ~900 MB with 600 packages...

    • @benign4823
      @benign4823 7 місяців тому

      ​@@yaarooruvan4310It's not like you're loading all the packages to ram so there's no correlation.

  • @donaldwilliams6821
    @donaldwilliams6821 7 місяців тому

    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 7 місяців тому

      That's it! Perfect!! Works great!

    • @mylinuxforwork
      @mylinuxforwork  7 місяців тому

      @@donaldwilliams6821 Thank you. The start of the dotfiles should check that rsync is installed. Crazy. But great that's working now.

    • @donaldwilliams6821
      @donaldwilliams6821 7 місяців тому

      @@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  7 місяців тому +1

      @@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 7 місяців тому

      @@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.