YTtoTranscriptTranscribe
YouTube Transcript

ArchLinux com Hyprland - Tutorial Completo ( Parte 5 ) - Observações, Hyprpaper, e Waypaper

TuxStation · 4,636 words · 23 min read · EN

ArchLinux com Hyprland - Tutorial Completo ( Parte 5 ) - Observações, Hyprpaper, e Waypaper
Watch on YouTube

Below is the complete, readable transcript of ArchLinux com Hyprland - Tutorial Completo ( Parte 5 ) - Observações, Hyprpaper, e Waypaper by TuxStation on YouTube. Read the full text, copy any part you need, or generate a transcript for any video with our free tool.

00:00

Hey guys. Welcome to the Tux Station channel. And here we are, right? After almost a year without bringing you new videos, today I finally bring you the fifth part of our series about Hyperland. I want to take this opportunity to apologize for the delay in bringing you this video, but it's due to

00:19

the reasons I've been talking about in recent posts, right? I had a complication in my right eye, and because of that complication, I had to have two more surgeries, right? And during that period when I was undergoing treatment, I was practically unable to continue recording. I'm feeling a little better now, but I'm

00:37

still undergoing treatment, okay? So I ask you to be a little patient because the videos will now have to be a bit shorter. It's also possible that sometimes I might make a mistake when typing a command or a word in the text editor. Sometimes I get a little lost too when trying to

00:54

find a file or folder in the file manager, okay? These are things that have been happening. So I ask that you have a little patience regarding this, okay? But in any case, I think we can continue with our series here. Well, I have a virtual machine here that's exactly as we left it in the last

01:16

video. I'll log in with my username and password, right? Up until that point, to start a Hyperland session, we were using a command called Hyperland, either with a lowercase H or an uppercase H, and it worked both ways. However, now we have to use a different command, not just Hyperland, but rather start Hyperland, okay?

01:38

So, if you previously used the hyperland command to start your session, now you'll use start hyperland, okay? I explained this in the description of the first video, but since I know a lot of people don't read the video description, I'm saying it now because it's important, okay? So I'm going to press enter here, it

01:56

will start my session. Here's my Hyperland, exactly as we left it in the last video, at the end of part four, right? Not exactly the same, to be honest, because I made some changes to mine, and the first one was to my terminal. I changed Kiri's theme again . Well, if I'm not mistaken, in

02:14

part three, I explained to you how we change Kiri's theme, using the Ken Teams command. And he's going to list here for you a huge variety of themes that you can choose from. And I had selected the Doom One theme here because, up until the moment I recorded part three, this theme was the one that most

02:35

resembled the theme I chose for my VS Code, which is the OneD Pro theme. This One Pro theme is my favorite theme, right? So, I've been using it for quite some time now. For me, personally, it's very difficult to move away from this topic, okay? So, what I did, even on my actual machine

02:55

here in Kiri, and based on this theme, I modified some things to make it look more like the Pro theme, right? But what happened during the time I wasn't recording? Kiri already added the theme to this list too, okay? So what I did here was change the theme from One to the Pro theme, which is

03:14

this theme here, okay? So this is simply a matter of taste, okay? It's the topic I like the most. So I selected him here on this list. I'm going to press the letter M here to confirm the changes. Another change I made was to switch my internet browser. At the beginning of this

03:30

series, I had Brave installed, but I needed to switch to Firefox because of this vision problem I have. Any screen that appears here for me, that uses a light theme, makes it practically impossible to read anything, whether it's on a web page or in the file manager; any screen that uses a light theme

03:49

is literally like having a flashbang grenade thrown at my face, right? I can't read anything. So what did I do here in Firefox, in the settings section? In the general tab, scrolling down here, it has those standard options that every browser has, right? In other words, I can use a dark theme, I can use a light theme, and I can let

04:08

it automatically adjust according to the theme I use on my computer, right? But none of these options work perfectly, right? Because no matter how much I select the dark theme here, there are some pages that will force the light theme. So, what did I do? Firefox. It has an option here called "

04:25

custom," where it lets me select exactly the colors I want the pages to have. So I changed it here so that all pages use this bluish-gray tone. And if you notice, these colors here are the colors of the OneD Pro theme, meaning I'm also using the OneD Pro colors in my Firefox. And how did I do that? I

04:48

got the colors from the Kiri settings file. If you don't know how, you can use VS Code to open a specific file here, which is ponfig/kir/correntem.concf, right? This file here will store the theme colors you chose from that list in the Ken Teams command, okay? So, since I selected the OneD Pro theme, this file will have the

05:14

OneD Pro theme colors, okay? So, what did I do? I then took the foreground color and put it here in my text. I took the background color and put it here at the bottom of the page. I picked this shade of blue here and put it in the unvisited links . And in those links I visited, I

05:30

used this shade of purple shown above, okay? I'm telling you this because this is a change I made due to this problem I had, okay? But this custom Firefox option might cause some bugs on some pages, okay? So I don't recommend that you use this on your computer. I'm only mentioning this because it's possible that once in a while I might have to

05:51

show you a page here, and on my computer those pages will appear differently than they will appear to you if you access the same website or page on your computer, okay? So I think it's important for me to make that clear. And speaking of pages, something else very important that I have to mention

06:11

is that in part three of this series, I explained to you how to configure some environment variables that are very important for the system, right? And I told you to go to the Hyperland Wick page. On this page you would access the advanced settings section, by going here to advanced settings. And here he would

06:32

have the environment variables page, right? But what happened was that, ever since I recorded part three, this page has undergone a serious alteration. Not serious, right? A major update. Why does this happen? The hyperland archive. He uses his own language which they call hyperleng. So what happens in these latest versions of Hyperland? They are migrating the language of

07:00

this file to the Lua language. The file that we now call a hyperland. The main configuration file will start being called hyperland. Moon in the new versions. Currently, you're not required to use this new format yet, okay? But here on the site they've already updated the pages, and the main options you 'll see here are specifically for

07:26

this file in Lua format, okay? So, if you saw in that video from part three, when I went to this page, the options were a little different, the style of the statement, right? For example, here, this style of statement is for the Lua language. In other words, if you try to retrieve these variables

07:46

here and put them in your hyperland file... They wo n't work, okay? It's important for you to understand this. So, what do you need to understand? From this page here, you have the option above to view the wiki for the older version of Hyperland, which is version 0.54. This .lua programming language will be included in

08:06

version 0.55. So, if you want to use the old language, you go here to Wi version 0.54, you go back to settings and here you have the Environment Variables page. This page here is exactly the page I access in that video from part three, when I show you the variables you need to

08:28

add to your file, okay? And as I told you, this page here, when you access it, will appear with a slightly different look because of this change I made here in my Firefox, okay? But the main thing here is the way these variables are declared, right? So you can see that it's already different from that

08:46

dot-moon shape. So this format here is the format you will use in your hyperland file. Okay ? So guys, having understood all of that, these are the main changes that have occurred during the time I haven't been recording, okay? We can now move on to the content of our video, which is related to

09:06

hyperpaper, right? How do we change the wallpaper on our Hyperland? Opening my personal folder here , I have two images in the images folder that I generated using artificial intelligence, right? Just to demonstrate the content of this video. So, I have this image of the city of Artillino here, and I also have this image of this

09:24

mountain here. What am I going to do? First, I'm going to create a folder here called "wallpapers" and move these two images into that folder. Just for organizational purposes, okay? The images you use on your computer can be in any folder. In my case here, I'm going to leave it inside this wallpapers folder. In fact, one thing I

09:46

like to do on my main system is to store the wallpapers in the system's wallpapers folder. So, if you don't know where that folder is located, it's inside barrausr/share, oops, barrausr/share/wallpapers. This is the system's wallpaper folder. What I usually do on my computer is create some subfolders within this folder here and organize

10:11

my wallpapers into different categories. But you can keep your images in any folder on your computer, okay? So, in this example here, I'm going to leave it inside my home directory, inside the images folder, inside the wallpapers folder, okay? So, let's say I wanted to set this image here, this artilinoxir, as my

10:33

wallpaper. How would I define that? Using Hyper Paper. We already installed this tool in the first video of this series, but if you haven't installed it yet, you can install it now using the command `sudo Pacman -Suc Hyper Paper`, okay? I'm not going to reinstall it because I already have it installed on my computer. So folks,

10:53

to configure this image, you have to create a Hyper Paper configuration file. And if you remember, I told you that all the programs in the Hyper family would have their configuration files saved in the same folder, which is the poncfig/hyper folder. So here it is along with the hyperland file. These will be the

11:13

configuration files for all other programs in the Hyper family, including Hyper Paper itself, okay? So I'll create his file here. So I'm going to open the terminal here and use VS Code to create this file. A code.concfig/hyper/hyperpaper.conf. I'm going to close the terminal here because I don't need it anymore, and I'm going to click "do

11:33

n't show" here to hide this message. I'm going to save the file just so it's displayed here in the folder, right? So you can see that it was created here. So how do you set up your wallpaper? I'm going back here to my image folder, right? So it's within the images, wallpapers, and

11:50

I have this image here, right? Let's imagine I wanted to use this artilinux.jpg. How would I configure this? Here at hyperpaper. You will type wallpaper, open and close. And among these keys, you will pass three properties to it here. In the first step, you will select the monitor to which you want to apply your image.

12:14

Remember when I told you how to get your monitor's name by opening the terminal and typing HyperCt Monitors, right? In this case, it will list the monitors that are connected to your computer. In the case of my virtual machine, it only has this monitor called virtual dash one. It's virtual, in this case, with a

12:32

capital V. This is case sensitive, okay? So it differentiates between uppercase and lowercase letters. So I'll pass it on to him. My monitor is called virtual dash one. I'm going to close the terminal because I don't need it anymore. The second parameter is F, which is the path to the image I want to use as wallpaper.

12:52

So I'll show him the path to this image here. It's inside my home page, right, the current user's home page . So I'm going to put a ti here. This tilde, for those who don't know, basically means the home directory of your current user, the one you are logged into. It's basically the same as

13:08

if I typed here, for example, barrahome/ my username, okay? Yeah, basically the same thing. So, I'm going to put it here in my home directory; I have a folder for images. Inside the images folder, I have a folder called wallpapers. And inside the wallpapers folder, I have the file arlin_iriy.jpg, okay? So, I've already described the

13:29

image path, I've already described the monitor, and now I need to specify what kind of adjustments this image will have on my monitor. For that, I use this parameter here, fit underline mode. And the default value for this adjustment is the cover, okay? So, if you leave this field empty here, by default it will use the cover, okay? I'll

13:48

explain the differences between the modes to you shortly, but for now let's test it to see if it 's working. So I'm going to save my file. And for hyperpaper to work, you need to add it to the auto-execution of your Hyperland. Do you remember how to do this? Editing the hyperland.config file. So,

14:07

code.config/hyper/hyperland.conf. And here in the autopilot section, you define all the programs you want to run automatically with the system. So this section already comes with a line that enables Wayar, Hyper Paper, and Firefox. So what am I going to do? It will basically be a matter of uncommenting that line to activate it. I'm only

14:33

removing Firefox from this list because I have no interest in starting it up with the system. And I'm going to save my file here. Just a curiosity, okay? You must be wondering what this "commercial" thing is up here, right? This is an ampersand; when you have a command and just an ampersand, it means you're going to

14:52

run the command that comes before it in the background, okay? So, for example, " bar" is commercial, meaning I'll be running "bar" in the background. Hyperpaper is a commercial, which means I'll be running Hyperpaper in the background, okay? This confuses a lot of people, because sometimes people think you're supposed to add commands in the terminal, right? Because

15:13

with two ampersands (S) inside the terminal you can execute one command after another, right? But here in the hyperende archive. Conf, when you put just an ampersand (e), it means you're going to run that command in the background, okay? That's basically it. So, I'll let you start the A bar too, okay? We'll be working

15:32

with it in about two or three videos, so I'll let him start it up now too. So I'm going to save the file, restart my Hyperland session here, and you can see that the wallpaper has already been applied, right? It read that hyperland.com file, detected my monitor, detected the image, everything fit together

15:49

perfectly, right? If I want to change the wallpaper, I just need to edit that file. So, code.config/hyper/hyperpaper.conf. And let's say I wanted to use that mountain image now, it's also in the same folder as this Linux part, right? I'm just going to change the name here from Art Linux City to, I think, Mountain Knight or something like that

16:09

. I'm going to save the file and restart my session here. You can see that he has already applied it to the other image. Now, let me explain these adjustment modes. Going back to the hyperpaper archive. Conf, currently we're using the cover value, right? This cover, as I told you, is the default value.

16:32

What does it mean that it's the default value? This means you can leave this field blank. You can leave the fit mode as is and not put anything here in front, and by default it will use this cover value, okay? The same applies here with your monitor's name, okay? If you don't want to specify

16:46

the monitor, you can also hide that information. Just so you can see that this works, I'm going to save the file as it is, without these two parameters, and restart my Hyperland. And you can see that he still applied the image. Why? Because it already detects your monitor automatically. I like to specify the monitor, okay? It's

17:06

purely for visual reasons, okay ? I'm a perfectionist about this sort of thing, so I like to make sure the monitor's name is correct here. Regarding the viewing modes, we have the cover mode, which is what I just showed you . And the cover will basically do the following: it will take your

17:23

image, and let's say your image doesn't have the same aspect ratio as your monitor. What usually happens? It generates those black bars, right? Either from the side, or it can rotate up and down as well. By adding the cover parameter, it will enlarge your image, that is, it will zoom in on your

17:41

image until it covers the entire area of your monitor, right? preventing those black lines from appearing on the side. And this particular "cover" option is the one I use. I rarely need to use any other type of adjustment, but if you want, I'll explain the options here, okay? So there's the cover where he does that, he

18:01

zooms in on the image, right? It also has the " contains" mode. This mode will display the complete image on your monitor, regardless of its format , right? So, for example, I'll restart my Hyperland and you can see that my image now looks like it has these black borders. And why? Because my

18:19

image has a different aspect ratio than my monitor, that is, the image's aspect ratio is different. My monitor is a quad HD monitor, right? In other words, it's a 16x9 and this image is a little different, right? So, instead of fitting perfectly on the monitor, it ends up with these black bars here. But

18:39

unlike the "contain" mode, which zooms in on the image and hides these bars here, this one displays the image here for me in its entirety, okay? Another method you can use is the thread here, look, change it here to thread which means filling. What will this mode do? He's literally going to stretch your image so

19:00

that those borders don't show, okay? Let's do a test. Look, you can see that it covered those edges, but unlike cover mode, which I told you zooms in on the image but maintains its aspect ratio, right? In other words, he doesn't exaggerate his image. Now, in wire mode, notice that it flattened the mountain a little bit.

19:24

Why? Because he distorted the image to make it reach the edges of the monitor, okay? So, unlike cover mode, wire mode will distort your image, okay? And there's also the tile mode, right? In tile mode, it will display the image at its original size on your monitor. But look what's going to happen here.

19:49

It's only displaying the upper left corner of the image. Why is this happening? Because my screen is 2560 pixels wide and 1440 pixels high. And the image I'm using as wallpaper is over 6,000 pixels wide, meaning the image is much larger than the monitor, right? Therefore, the monitor does not have enough pixels to

20:12

display this image completely. So, he only captures a piece of the image. This is a method that might be interesting for those who use more than one monitor, you know, like three or four monitors, and want to set it up like a mosaic, right? But aside from that , I don't see much need to

20:28

use this mode here. As I told you, I personally only use cover mode, okay? And sometimes I prefer to use the wired mode, okay? One thing you might also want to do is hide that message that Hyperland displays by default here at the bottom of the screen. So this is a message that changes every time you

20:49

start Hyperland, right? It generates a different message and displays it on your screen. I personally don't like text covering my wallpaper, okay? But if you want, you can leave. But otherwise, if you also don't like it and want to hide this message, it's within the hyperpaper file. Confirm, you can add it here. Oops, I accidentally

21:09

deleted the file key here, didn't I? So, let me put it here again. Here, above your wallpaper declaration, you can put a line with this value here, splash equal to false. By adding this line to your file and saving it, when you restart your Hyperland, this message will no longer be displayed, okay? You have that option there too.

21:34

Now let's say you have more than one monitor and you want to display a different image on each one. How do you do it? It's also very simple. All you have to do is copy the block, right? Take this block here and add a new block on the line below, and you just change the

21:51

name of your monitor here, right? So, for example, on my first monitor, I want this image of the mountain. Let's say I had a second monitor, so I'll put the name "virtual dash two" here, just to simulate it, right? Let's say I had this second monitor and I wanted to use the Art Linux image on that monitor

22:05

. So I would only change the image name here: art Linux_line City. I would save the file, and when I restarted my Hyperland, it would have already applied a different image to each of the monitors, okay? So you see it's quite simple, right? But you might be wondering: "Wow, okay? It's simple, but every time I want to change my

22:26

wallpaper, I have to edit a configuration file? Isn't there an easier and more direct way to do this?" And there is. You can use a program that we call a front end, right? What is a front end? A front end is a type of program that, by itself, cannot perform the main function. It requires

22:46

another program, in this case a back end, to manage the function you want. In our case here, what do we want? We want to change the wallpaper. We have the back end, which is Hyperpaper. There's also SWW, which many people call SU. You have several options you can use. In our case here, we're

23:06

using Hyperpaper. And you can add a front end, that is, an interface that will use Hyperpaper in the background, behind the scenes, to make this change for you. And one option I really like is... Okay , Waypaper? You can install Waypaper through the AUR. So I'll use the 'i' here to install it. And

23:29

uppercase 's' for paper. I'll confirm the installation. With Waypaper installed, I can now open it through Rofi. I'll search for Waypaper here. Oops, there's a bug here. Okay. And the Waypaper home screen is this, right? The first thing you'll do here is click on 'folder' and select the folder where the images you want to

23:56

use are located. So, in my case, it's inside the images folder, in the wallpapers folder. I'll click on 'select' here. It will find my images and add them to its library. The next step is to select which backend. So, in my case, I 'm using Hyper Paper. So, installing Waypaper doesn't guarantee that

24:16

you'll be able to change your wallpaper, okay? You also need a backend, in our case Hyper Paper, but as I said, it could be SWW or any other backend you want to use, okay? So I'll leave it checked here. Hyperpaper. In this middle button, you can select the monitor to which you want to

24:34

apply your image. In my case, since I only have one monitor, the virtual trace is set to one. Or I can also leave it as "all." In that case, it will apply the same image to all monitors if you have more than one. I'll leave it marked as "all" here. And currently I'm using the

24:49

mountain image. If I want to change it, I just click on the image I want. And you can see that it has already made the change , right? So, notice that it's much simpler to perform this change having a program, a front end to manage this for you, right? But look what will happen when I

25:07

restart my session. Look, it's back to the mountain image again . And why did this happen? Because, just like Hyperpaper, we need to add the paper to the automatic startup. So, again, we're going to edit the hyperland.conf file. And here in the autostart section you're going to add a new line: Zack once. What do

25:34

I want to run automatically? My waypaper with A less restore parameter. This less restore parameter is essential that you add as well, okay? What will it do? It will force Waypaper to reload the last image you selected, okay? So it will apply that wallpaper. However, since I'm going to start Waypaper now, I don't

25:58

need to run Hyperpaper as well, okay? I can remove this line here and Waypaper itself will call Hyperpaper, okay? So I'll save the file here, I'll open Waypaper again, I'll select my Art Linux image. You can see that it has been changed. And when I restart my Hyperland, look, the image is applied

26:20

automatically. But as you can see, it has a small delay, right, until it makes that change. And if you don't use Waypaper, this change ends up being a little faster, right? On my computer, I prefer to just edit the hyperpaper.com file. I don't see the need to install Waypaper, but some people might like it,

26:40

right? Guys, in this video... Basically, that's it, right? Like I told you, I want to make some shorter videos now, partly because of my vision problems. It's still a little difficult for me to look at the screen, but if this video was helpful to you, don't forget to like and share it. If you're not subscribed to the channel, I invite you to

26:59

subscribe, as this really helps to strengthen and boost the channel. I'll leave it at that for now, see you later. Thanks, bye. M.

Transcribe another video

Paste any YouTube, Instagram or TikTok link to get a free transcript.

Free · No sign-up · Unlimited