26

Re: How to setup desktop

The configuration has a precondition: You need the intel-grahicsdriver (package xenocara-video-intel) being installed as I have only this for testing-purpose. So I can only  build upon that. I repeat the step, now with a clear positive feedback getting that to work including xbacklight.

I have the file created as follows under /etc/X11/xorg.conf.d/20-intel.conf:

Section "Device"
    Identifier  "Intel Graphics" 
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
EndSection

It works as expected. So I conclude again: You need to find out your settings in use for the adapter you are using. I don't know if you are using an integrated grahicscard or something else. Depending onto that you need to build your settings (and also please the naming-scheme as xorg.conf was just an example).

In another post, you posted a screenshot of your desktop, it's not difficult for you to attach it here as it relates to this topic and write instructions on how you managed to do it. If it's difficult for you)) then you can post the configuration file and the script)) But in any case it will be very useful for many users.

No, this screenshot was based upon another discussion here: https://forums.hyperbola.info/viewtopic.php?id=655
So I cannot share a configuration. To underline again: I'm not using Lumina as I have just tested if it is starting and running as package. When I need to build a complete environment and desktop on that I have to go in depth, but I'm using personal quite different components like icewm or in those days also fluxbox. If there is need to rework Lumina in a whole, finding solutions I can point on the created thread to share the problems: https://forums.hyperbola.info/viewtopic.php?id=793

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

27 (edited by jimmy 2023-01-03 09:42:19)

Re: How to setup desktop

Hello throgh. Thank you very much for helping me resolve this issue.

I looked up the wiki and it says xbacklight is for intel ==> https://wiki.archlinux.org/title/Backli … ne_options

Then I checked my drivers and it turned out that I had radeon.

doas find /sys/ -type f -iname '*brightness*'

here is my result

/sys/devices/pci0000:00/0000:00:01.0/drm/card0/card0-LVDS-1/radeon_bl0/brightness

and one more

/sys/devices/pci0000:00/0000:00:01.0/backlight/acpi_video0/brightness

Then I looked again at the wiki for radeon) tried another configuration and it didn't work either.
Every time I changed, I logged out and logged in again to check.

As for the desktop example, got you. Perhaps someone will share here their settings for the working Lumina

28 (edited by jimmy 2023-01-03 09:57:44)

Re: How to setup desktop

For those who will be looking for answers here on setting up sound in i3, I would like to inform you that these are the settings for the configuration file located ~ /.config/i3/config
I work, you can increase and decrease the sound, etc.

bindsym XF86AudioRaiseVolume exec amixer set Master 5%+ 
bindsym XF86AudioLowerVolume exec amixer set Master 5%- 
bindsym XF86AudioMute exec amixer set Master mute

You may have to edit one more file like me to make it work here

doas nano /etc/asound.conf 

and change the numbers of your audio card in the first two lines, for example, it was 0, change to 1

29

Re: How to setup desktop

For "radeon" I have no further configuration at hand for the moment. Please remember that especially those drivers are not best supported by free and libre software, which obviously is the result of the politics from AMD itself. No 3D-accaleration without firmware-blobs.

It seems also that you can't setup it the way here with Intel throughout the x-server itself. I have searched for comparable results and found not much for the moment. So the impression stays: It needs to workout else. Some possible food for thoughts:

https://bbs.archlinux.org/viewtopic.php?id=169214
https://bbs.archlinux.org/viewtopic.php?id=102060

I doubt that you can make more with xbacklight for the moment. Besides to remember: You can always test a possible connection for working xbacklight just with the execution of the command.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

30 (edited by jimmy 2023-01-03 10:05:47)

Re: How to setup desktop

throgh wrote:

For "radeon" I have no further configuration at hand for the moment. Please remember that especially those drivers are not best supported by free and libre software, which obviously is the result of the politics from AMD itself. No 3D-accaleration without firmware-blobs.

It seems also that you can't setup it the way here with Intel throughout the x-server itself. I have searched for comparable results and found not much for the moment. So the impression stays: It needs to workout else. Some possible food for thoughts:

https://bbs.archlinux.org/viewtopic.php?id=169214
https://bbs.archlinux.org/viewtopic.php?id=102060

I doubt that you can make more with xbacklight for the moment.

maybe use the light utility? What do you think?

I'll ask the guys from Parabola

31

Re: How to setup desktop

You can tryout for sure: https://github.com/haikarainen/light
That's a good idea, will give it also a tryout on my machine here.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

32

Re: How to setup desktop

Yes, working on my ThinkPad X200 without any further modifications. But beware: You will need doas also to set values. But nevertheless: Sounds like working solution for the moment. But I'm a bit careful to state "it works" until you come with feedback - therefore only "sounds like working" instead of "working". wink

Example I have used:

doas light -S 50

And revert:

doas light -S 100
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

33

Re: How to setup desktop

Thanks for your feedback, ok I'll check it on my laptop now. Sorry, I didn't understand what you meant about doas ? Please clarify

34

Re: How to setup desktop

You would need root-privileges for changing values. light would otherwise only show you the concurrent brightness-value.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

35

Re: How to setup desktop

thank you very much for the clarification. I downloaded the utility, checked the video group, checked all the commands from github,considered your recommendation I have no reaction, the only thing that really works is this command

tee /sys/class/backlight/acpi_video0/brightness <<< 5 

1 is the minimum brightness and 8 is the maximum.

Looking for more answers...

36

Re: How to setup desktop

Seems for real that the problem lies within AMD and "radeon" as driver. So you could also create your own implementation with a bunch of scripts - which depends again on the question if you need "root-privileges" for changing the value. Nevertheless you can also tryout therefore more:

1. Writing a script-implementation (for the records most POSIX-compliant and not that bash-only ones).
2. Trying for enhancements.
3. Finally saving your value and being able to read input and output from that like configuration.

You would be surprised as many little projects started and got right more. It would be even interesting then to have that bundled within a package here if you are interested. For the moment I can only support with that idea as I have no computer fitting exactly that configuration.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

37

Re: How to setup desktop

throgh wrote:

Seems for real that the problem lies within AMD and "radeon" as driver. So you could also create your own implementation with a bunch of scripts - which depends again on the question if you need "root-privileges" for changing the value. Nevertheless you can also tryout therefore more:

1. Writing a script-implementation (for the records most POSIX-compliant and not that bash-only ones).
2. Trying for enhancements.
3. Finally saving your value and being able to read input and output from that like configuration.

You would be surprised as many little projects started and got right more. It would be even interesting then to have that bundled within a package here if you are interested. For the moment I can only support with that idea as I have no computer fitting exactly that configuration.

Hyperbola comes with "getopt" which is perfect to write scripts which handle arguments such as -get and -set to mimic a fake xblacklight. Finally, bc or dc can used to calculate the scalar for /sys/class/...

38

Re: How to setup desktop

Top, thanks for adding! smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

39

Re: How to setup desktop

At this stage, I decided to stop at this solution to the problem with brightness. If anyone knows a better solution I would appreciate advice.

bindsym $mod+F4 exec echo 8  > /sys/class/backlight/acpi_video0/brightness   #maximum brightness

and

bindsym $mod+F3 exec echo 2  > /sys/class/backlight/acpi_video0/brightness  #minimum brightness

Let's move on with the settings of the desktop. Why is there no one, everyone just looks))

Mom told me buy x200 problems will be less with the settings)))))

40

Re: How to setup desktop

jimmy wrote:

Let's move on with the settings of the desktop. Why is there no one, everyone just looks))

Would you be so kind to explain what this means?

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

41

Re: How to setup desktop

Throgh ,

Please tell me if you don't know why there is no peek program in the Hyperbola repository, but there is a Parabola  have  https://www.parabola.nu/packages/commun … v7h/peek/. For example, I would like to use this program, including when setting up the Hyperbola desktop for screen recording, or highlighting the part of the screen that I need to record. gif has a very small size, which is convenient.

42 (edited by jimmy 2023-01-04 01:12:30)

Re: How to setup desktop

This means that now I do not have x200 unfortunately. When you write that everything works for you xbacklight and light, unlike me, I think that you need to fix my x200 as soon as possible. Regarding my mother, it was a joke, I hope you understand it.

43

Re: How to setup desktop

jimmy wrote:

Throgh ,

Please tell me if you don't know why there is no peek program in the Hyperbola repository, but there is a Parabola  have  https://www.parabola.nu/packages/commun … v7h/peek/. For example, I would like to use this program, including when setting up the Hyperbola desktop for screen recording, or highlighting the part of the screen that I need to record. gif has a very small size, which is convenient.

Hyperbola is NOT Parabola and also NOT some other system. You see that I use the word "system" and NOT distribution. I have already explained now multiple times that we try to be most lightweight. If you are interested in that kind of application, please feel free and go for own packaging. We cannot add every application, framework, library or something else here in the repositories and that's also for multiple reasoning:

1. Doing this on a local scale, meaning as user, is a simple way as you are in charge for the package(s) to maintain. Either you choose to upgrade that or leave it like you have once done and be happy with it.
2. On the scale of the system we are NOT able to just add some package and leave it as it is. We have different vectors to look after: Patches needed? Reported security-problems? Even some breaches to be reported?
3. Hyperbola does not support multiple Linux-only frameworks out of already explained reasoning. Besides also Hyperbola does not support Rust, Mono, Java / OpenJDK and NodeJS. When a package like FreePascal cannot be built from source without the help of an earlier version this ends up the same way: We won't include it until, with the annotation that there is nevertheless some chance in the future. The others mentioned are out for clear points. There are also other dependencies we don't want to support like gtk-doc or for example libcanberra.

The more we add, the more vectors and combinations will occur. So tell me then: How do you think this is can be managed on that scale with a small team? I can give the answer: Impossible. For this reasoning we have asked the community for the beginning of the 0.4-development in 2020 / 2021 to create a listing with most wished packages. We have worked us through that and done the best to add more in different fields like:

Network
Multimedia
Graphics
Gaming
Management
Terminal

There are even more variants. But to understand again: Please use the search function of the forum and you will find this explanation also multiple times. I hope you understand that I'm not willing to repeat those endless and every time again. smile
If you think you need the application and package: Feel free to create a PKGBUILD and add it to your system, afterwards it would be for sure nice to share your insights and reached parts here in the forums. I have already mentioned that here in the thread also multiple times: Step up as maintainer when you feel needed. Otherwise I cannot do anything about that in special and also won't do. Please understand: The more we add, the more problems we have and the more porting is needed afterwards. Time we don't have and better keep for elsewhere. We respect our users for sure at most and that's the reasoning we just don't want adding some packages or migrate from elsewhere. I have seen enough problems with that methods being in usage over the years and it is always better to compile direct from sources and optimize the system. Everyone is nevertheless free for a choice doing that otherwise. We have chosen for lightweight reasoning, otherwise we would tell only fairy-tales.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

44

Re: How to setup desktop

jimmy wrote:

This means that now I do not have x200 unfortunately. When you write that everything works for you xbacklight and light, unlike me, I think that you need to fix my x200 as soon as possible. Regarding my mother, it was a joke, I hope you understand it.

Right away this was not meant as "works for me"-annotation. But again: I can't search the net just for some solution or someone having an idea. This would be just a guessing and we stay endless in loops. I can only motivate you to search on your own showing output from my personal system in usage. But it can't be my personal task to find a solution for everyone here working. When I do that I have no further time for anything else.

I will therefore also stop now here in the thread. When you have concrete questions: Cool, please ask for sure. But nevertheless I invite you to read the man-pages of a package and official documentations for settings. There are good ones out there!

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

45

Re: How to setup desktop

Little research done for peek:

peek (https://github.com/phw/peek) needs libkeybinder3 (https://github.com/kupferlauncher/keybinder) which therefore needs gtk-doc. As I have mentioned: Hyperbola does not support gtk-doc and we deny adding that also as man-pages are just enough and working.

So you would need to patch out gtk-doc from that library mentioned or find another way around. And you can also use the search-function here for packages on the website: https://www.hyperbola.info/packages/

EDIT: Just to add, I'm also interested to motivate for building own packages.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

46

Re: How to setup desktop

So here you are:

libkeybinder3 -> https://forums.hyperbola.info/viewtopic … 5449#p5449
peek -> https://forums.hyperbola.info/viewtopic … 5450#p5450

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

47 (edited by jimmy 2023-01-04 12:50:00)

Re: How to setup desktop

Hello Throgh . As for my example with Parabola, which you reacted so sharply to)) this is an example of the same libro distro.


Also, you must understand and accept that when users switch to Hyperbola for various reasons, it is obvious that they will not have the same programs that they use in other even free distros such as Trisquel or Parabola, Guix in my opinion, it is absolutely normal to prompt the user in a friendly way which program can be used instead of this or that program, in my case it is peek. I understand perfectly well that you go your own way and strictly regulate the process of selecting packages.


To be more specific, I'll explain to you, I thought you understood.


Since lumina is not ready for everyday use, there are bugs and there are no necessary and important elements, this option is not considered. There are options for example: openbox i3 icewm from the most popular. I chose i3 to make using the distro comfortable, you need to tweak the system. The bare minimum I would like to have is:

1. Volume control (we solved this issue)
2. Screen brightness adjustment (I found a temporary solution)
3. Screenshot (instead of Flameshot there is scrot )
4. Display recording (( instead of Peek is ?? )
5. Keyboard layout (is it possible to add an indicator to the panel I don't know )
6. Wifi internet connection indicator  (available in default i3 settings)

etc

If you know, can you help and suggest as an experienced user what programs I can use, tell me. It seems to me that the forum is intended for this - users help each other!

I have noticed that you often return to the topic of discussion comparing Hyperbola with other systems. I don't understand why you are doing this if I created a desktop customization theme. I have already chosen Hyperbola and I accept your philosophy. In my case, I need to set up the desktop, but I can’t do it quickly because many programs are either missing or not there.

You recommend using the search, try entering i3 yourself and this is what you will see)) So that you do not think that I did something wrong, I introduced another example.

https://upload.disroot.org/r/PbSJ8gF2#P … wlF9yBpFY=

p.s If you don't want other users in the future to compare distros or something like that all installation and configuration answers should be here on the forum then they won't be surfing the web on different wikis to find answers to their questions. Come here and find everything they need.

48

Re: How to setup desktop

jimmy wrote:

Hello Throgh . As for my example with Parabola, which you reacted so sharply to)) this is an example of the same libro distro.

This is for sure not any harsh reaction, when I underline that every system has the right to be viewed as own in a way. It may vary for sure if I personally find some parts or the system in a whole not fitting my understatement. But I would never go onto that point to compare further. To understand where I come from: I have also done that in the earlier days - let's state clear around 10 years ago: "Come GIMP is comparable alternative for Photoshop!" But to be clear: That's false and wrong as it is also reducing GIMP or any other fork towards some "copy" from known. The reasoning why this is false: You create the impression that it would be "easy to switch". Reality is: Not for everyone. So I will never use that argument again and stopped that really quick back the days until today. The problem is: People think the same as we have now here.

jimmy wrote:

Also, you must understand and accept that when users switch to Hyperbola for various reasons, it is obvious that they will not have the same programs that they use in other even free distros such as Trisquel or Parabola, Guix in my opinion, it is absolutely normal to prompt the user in a friendly way which program can be used instead of this or that program, in my case it is peek. I understand perfectly well that you go your own way and strictly regulate the process of selecting packages.


To be more specific, I'll explain to you, I thought you understood.


Since lumina is not ready for everyday use, there are bugs and there are no necessary and important elements, this option is not considered. There are options for example: openbox i3 icewm from the most popular. I chose i3 to make using the distro comfortable, you need to tweak the system. The bare minimum I would like to have is:

1. Volume control (we solved this issue)
2. Screen brightness adjustment (I found a temporary solution)
3. Screenshot (instead of Flameshot there is scrot )
4. Display recording (( instead of Peek is ?? )
5. Keyboard layout (is it possible to add an indicator to the panel I don't know )
6. Wifi internet connection indicator  (available in default i3 settings)

etc

I think it was managed right up friendly and there is also a chance to specify those needed elements either within a concrete thread or also here. But to remember: You need also to give feedback about which is missing so I can give examples or recommendations to react onto. Now that I have those I can go for help, which brings us to the next snap of your posting.

jimmy wrote:

If you know, can you help and suggest as an experienced user what programs I can use, tell me. It seems to me that the forum is intended for this - users help each other!

I have noticed that you often return to the topic of discussion comparing Hyperbola with other systems. I don't understand why you are doing this if I created a desktop customization theme. I have already chosen Hyperbola and I accept your philosophy. In my case, I need to set up the desktop, but I can’t do it quickly because many programs are either missing or not there.

If I remember correct here: You have brought into different links from FreeBSD or OpenBSD, same also for mentioning further often usage about 99% for different environments and I have taken the time to explain that there is a difference to clear that up. We often end again in that loop and I for my point don't understand now why you bring this up again as I don't have compared Hyperbola towards Parabola or Trisquel. You have brought that comparison here into. Sorry, but clear to read therefore.

jimmy wrote:

You recommend using the search, try entering i3 yourself and this is what you will see)) So that you do not think that I did something wrong, I introduced another example.

https://upload.disroot.org/r/PbSJ8gF2#P … wlF9yBpFY=

p.s If you don't want other users in the future to compare distros or something like that all installation and configuration answers should be here on the forum then they won't be surfing the web on different wikis to find answers to their questions. Come here and find everything they need.

I have no problems in general with mentioning others, but I repeat: You can use the search for packages to see clearly what is there and what not. Here an example for "i3" as keyphrase:


https://www.hyperbola.info/packages/?so … p;flagged=

Another example about "games" as keyphrase:

https://www.hyperbola.info/packages/?so … p;flagged=

In your example you have used the forum, which is not the only place for packaging. You can also ask about how to search for packages on the commandline like this:

doas pacman -Ss i3
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

49

Re: How to setup desktop

Coming now to the points listed:

1. Volume control (we solved this issue)
Okay.

2. Screen brightness adjustment (I found a temporary solution)
Okay.

3. Screenshot (instead of Flameshot there is scrot )
Not the only one: You can use gimp or mirage for example.

4. Display recording (( instead of Peek is ?? )
Depends on what screen-recording you wish: We have simplescreenrecorder and I have created now possible example-PKGBUILD for peek being compatible with Hyperbola GNU/Linux-libre. Also to mention again: Everyone can create and share own PKGBUILDs with the option for being included later on when we have either time or the package is clear in a working shape after the packaging-guidelines (https://wiki.hyperbola.info/doku.php?id … guidelines). You can find the peek-build here: https://forums.hyperbola.info/viewtopic … 5450#p5450

5. Keyboard layout (is it possible to add an indicator to the panel I don't know )
That's a good question, I will check this and come back with an answer as this is for sure important.

6. Wifi internet connection indicator  (available in default i3 settings)
Well, you can also use dhcpcd-ui for example.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

50

Re: How to setup desktop

I have no problems in general with mentioning others, but I repeat: You can use the search for packages to see clearly what is there and what not. Here an example for "i3" as keyphrase:


https://www.hyperbola.info/packages/?so … p;flagged=

Another example about "games" as keyphrase:

https://www.hyperbola.info/packages/?so … p;flagged=

In your example you have used the forum, which is not the only place for packaging. You can also ask about how to search for packages on the commandline like this:




I'm not looking for an app when I make a request on the forum))
When I showed you that there is nothing in the search on the forum, it means that there is no information on this topic.

Therefore, the user, me or someone else, will wander in search of solutions and then it turns out that this cannot be installed because some library is not supported by the project or in this case there is no i3bar package, and the user reads another wiki where everything is written about this i3 setting.
You for comparison. https://www.parabola.nu/packages/?sort= … p;flagged=
I repeat that everything should be here otherwise repeated questions will be repeated again and again. If, for example, I now, with your help or with the help of other users, get the working settings of i3 in this thread, then any user will go to the forum and write i3 in the search and see how to set everything up in Hyperbola and not Parabola or Open BSD or Arch Linux.