Page 1 of 1

Hyprland for Void Linux

Posted: Fri Jun 14, 2024 2:58 am
by Sofiya

Hyprland for Void Linux

You can now update Hyprland through the xbps package manager by adding a mirror
You can add this repository to xbps's repositories by creating a file, /etc/xbps.d/hyprland-void.conf with the following text:

Code: Select all

repository=https://raw.githubusercontent.com/sofijacom/hyprland-void/repository-x86_64-glibc

You can also search through all hypr related packages as you would any other (you will need to accept the repository's fingerprint first with

run sudo xbps-install -S in a terminal and press Y then Enter

xbps-query -Rs hypr


Re: Hyprland for Void Linux

Posted: Fri Jun 14, 2024 4:37 am
by geo_c
Sofiya wrote: Fri Jun 14, 2024 2:58 am

Hyprland for Void Linux

You can now update Hyprland through the xbps package manager by adding a mirror
You can add this repository to xbps's repositories by creating a file, /etc/xbps.d/hyprland-void.conf with the following text:

Code: Select all

repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc

then run sudo xbps-install -Su in a terminal and press Y then Enter

That looks great. I just did a resquash of spectr and airedale, so next on my play is to run hyprland.

So how did you get OctoXbps to use a dark theme?


Re: Hyprland for Void Linux

Posted: Fri Jun 14, 2024 9:49 am
by Clarity

Hello @Sofiya Although I haven't downloaded it yet, I ask: Is this repo update included in today's "KLV-HyprlandCE-5.6.iso"?

Curious


Re: Hyprland for Void Linux

Posted: Fri Jun 14, 2024 11:14 am
by Sofiya
geo_c wrote: Fri Jun 14, 2024 4:37 am
Sofiya wrote: Fri Jun 14, 2024 2:58 am

Hyprland for Void Linux

You can now update Hyprland through the xbps package manager by adding a mirror
You can add this repository to xbps's repositories by creating a file, /etc/xbps.d/hyprland-void.conf with the following text:

Code: Select all

repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc

then run sudo xbps-install -Su in a terminal and press Y then Enter

That looks great. I just did a resquash of spectr and airedale, so next on my play is to run hyprland.

So how did you get OctoXbps to use a dark theme?

Open the file manager as root user. go to the folder "/root/.config/gtk/GTK-settings.sh" and download the script "GTK-settings.sh" . the script will install the theme "/root/.config/gtk-3.0 "

You can customize the theme, icons, cursor in spot and then copy the file "/home/spot/.config/gtk-3.0" and place it "/root/.config/gtk-3.0". Then click on the script "/root /.config/gtk/GTK-settings.sh" and the theme and everything else that you configured becomes for root programs


Re: Hyprland for Void Linux

Posted: Fri Jun 14, 2024 11:19 am
by Sofiya
Clarity wrote: Fri Jun 14, 2024 9:49 am

Hello @Sofiya Although I haven't downloaded it yet, I ask: Is this repo update included in today's "KLV-HyprlandCE-5.6.iso"?

Curious

No not included.
the user may not want the new version, and if the repository update is enabled, then naturally Hyprland will be updated to the latest version, According to my tests, the most stable version is (v.hyprland _0.39.1_1). everything works as it should.


Re: Hyprland for Void Linux

Posted: Sun Jun 16, 2024 8:39 pm
by Sofiya
geo_c wrote: Fri Jun 14, 2024 4:37 am
Sofiya wrote: Fri Jun 14, 2024 2:58 am

Hyprland for Void Linux

You can now update Hyprland through the xbps package manager by adding a mirror
You can add this repository to xbps's repositories by creating a file, /etc/xbps.d/hyprland-void.conf with the following text:

Code: Select all

repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc

then run sudo xbps-install -Su in a terminal and press Y then Enter

That looks great. I just did a resquash of spectr and airedale, so next on my play is to run hyprland.

So how did you get OctoXbps to use a dark theme?

So how did you get OctoXbps to use a dark theme?

Octoxbps he is on Qt5 and uses the Kvantum theme

Kvantum Manager;


Re: Hyprland for Void Linux

Posted: Mon Jun 17, 2024 11:15 pm
by Sofiya

Deployment of Hyprland-Void Github.com


Re: Hyprland for Void Linux

Posted: Tue Jun 18, 2024 1:42 pm
by Sofiya

Why can't I read the private key RSA?

Code: Select all

      - name: Retrieve private key
        run: |
          curl -H 'Authorization: token ${{ secrets.PEM_PAT }}' \
            -H 'Accept: application/vnd.github.v3.raw' \
            -O -L https://api.github.com/repos/${{ env.REPO_OWNER }}/hyprland-void-private-pem/contents/private.pem

      - name: Sign repository
        run: |
          export XBPS_PASSPHRASE=${{ secrets.PRIVATE_PEM_PASSPHRASE }}
          xbps-rindex --privkey ./private.pem --sign --signedby "hyprland-void-github-action" ~/hostdir/binpkgs
          xbps-rindex --privkey ./private.pem --sign-pkg ~/hostdir/binpkgs/*.xbps

Re: Hyprland for Void Linux

Posted: Tue Jun 18, 2024 4:37 pm
by Sofiya

Signing Packages -- RSA signature.
through the terminal I can do this and sign the packages for further use of the packages in the xbps package manager by adding a mirror :ugeek:

The question is what am I doing wrong on github.com

Binary Packages


Re: Hyprland for Void Linux

Posted: Tue Jun 18, 2024 5:08 pm
by Sofiya

Damn it I did it :ugeek: :thumbup:

You can now update Hyprland through the xbps package manager by adding a mirror
You can add this repository to xbps's repositories by creating a file, /etc/xbps.d/hyprland-void.conf with the following text:

Mirror:

Code: Select all

repository=https://raw.githubusercontent.com/sofijacom/hyprland-void/repository-x86_64-glibc

You can also search through all hypr related packages as you would any other (you will need to accept the repository's fingerprint first with

run sudo xbps-install -S in a terminal and press Y then Enter

xbps-query -Rs hypr


Re: Hyprland for Void Linux

Posted: Wed Jun 19, 2024 2:59 pm
by rockedge

Damn it I did it :ugeek: :thumbup:

This really good! Very nice........

Makes the update for Hyprland almost routine now 8-) :thumbup:


Re: Hyprland for Void Linux

Posted: Wed Jun 19, 2024 3:06 pm
by Sofiya
rockedge wrote: Wed Jun 19, 2024 2:59 pm

Damn it I did it :ugeek: :thumbup:

This really good! Very nice........

Makes the update for Hyprland almost routine now 8-) :thumbup:

Absolutely right .And + of this, if I don’t like something in the version after checking, I could simply not update the mirror repository and leave the stable version there . :thumbup:


Re: Hyprland for Void Linux

Posted: Thu Jun 20, 2024 12:32 am
by geo_c
Sofiya wrote: Wed Jun 19, 2024 3:06 pm
rockedge wrote: Wed Jun 19, 2024 2:59 pm

Damn it I did it :ugeek: :thumbup:

This really good! Very nice........

Makes the update for Hyprland almost routine now 8-) :thumbup:

Absolutely right .And + of this, if I don’t like something in the version after checking, I could simply not update the mirror repository and leave the stable version there . :thumbup:

I took the download of the iso and script from the github page and it looked fantastic! I'll get around to installing soon. I think I want to run the build script on this one.

I'm still brainstorming about how I can incorporate my overly symlinked applications, appimages, and configs in a standard multi-user linux environment.

For instance, with portables/appimages, maybe it works to symlink the entire directory of portable apps into root?

I literally have a setup something like this:

folders on sda1 (/mnt/home)
KLV-airedale
KLV-spectr
F96
BIG DATA
PORTABLES
geostuff/root/.config/[geo's application configs] > symlinked to all three OSs
geostuff/root/themes > symlinked to all three OSs
geostuff/root/icons > symlinked to all three OSs
geostuff/usr/themes > symlinked to all three OSs
geostuff/usr/icons > symlinked to all three OSs

And so much more, I can't even remember it all right now. Of course all my important accessible data is outside of the OS directory.


Re: Hyprland for Void Linux

Posted: Thu Jun 20, 2024 1:18 pm
by Sofiya

Github design - Style Catppuccin.user


Re: Hyprland for Void Linux

Posted: Thu Jun 20, 2024 1:39 pm
by Sofiya

Style Catppuccin.user


Re: Hyprland for Void Linux

Posted: Thu Jun 20, 2024 2:14 pm
by Sofiya

Awesome list for Hyprland, that includes useful tools and libraries that either work or are designed for Hyprland!
https://github.com/hyprland-community/awesome-hyprland


Re: Hyprland for Void Linux

Posted: Thu Jun 20, 2024 2:30 pm
by Sofiya

@rockedge
I have a question for you . How can I add my Hyprland mirror to the build plugin so that it is enabled and I install Hyprlaand and all the dependencies for it during the build. Or is it not possible to do this???


Re: Hyprland for Void Linux

Posted: Thu Jun 20, 2024 7:02 pm
by rockedge
Sofiya wrote: Thu Jun 20, 2024 2:30 pm

@rockedge
I have a question for you . How can I add my Hyprland mirror to the build plugin so that it is enabled and I install Hyprlaand and all the dependencies for it during the build. Or is it not possible to do this???

This should be pretty easy to do! In the PLUG file we'll add in some lines that will create or modify the XBPS repo/mirror URL's to include the Hyprland mirror.

I think adding a small file in /etc/xbps.d in the PLUG will do it. It is also possible to add it to /usr/share/xbps.d.

I added this block to the end of the PLUG file (line 334) f_00_Void_wayland_hyprland_0.41_no-kernelBASE.plug

Code: Select all

# add Hyprland github mirror repository-x86_64-glibc
cat <<'SETMIRROR' > /etc/xbps.d/hyprland_mirror.conf
repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc
SETMIRROR

This creates a very small text file in the path that lists the repo URL's. @Sofiya you can add this in any location in the PLUG file you see fit for organizing it.


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 1:07 am
by Sofiya
rockedge wrote: Thu Jun 20, 2024 7:02 pm
Sofiya wrote: Thu Jun 20, 2024 2:30 pm

@rockedge
I have a question for you . How can I add my Hyprland mirror to the build plugin so that it is enabled and I install Hyprlaand and all the dependencies for it during the build. Or is it not possible to do this???

This should be pretty easy to do! In the PLUG file we'll add in some lines that will create or modify the XBPS repo/mirror URL's to include the Hyprland mirror.

I think adding a small file in /etc/xbps.d in the PLUG will do it. It is also possible to add it to /usr/share/xbps.d.

I added this block to the end of the PLUG file (line 334) f_00_Void_wayland_hyprland_0.41_no-kernelBASE.plug

Code: Select all

# add Hyprland github mirror repository-x86_64-glibc
cat <<'SETMIRROR' > /etc/xbps.d/hyprland_mirror.conf
repository=https://raw.githubusercontent.com/Makrennel/hyprland-void/repository-x86_64-glibc
SETMIRROR

This creates a very small text file in the path that lists the repo URL's. @Sofiya you can add this in any location in the PLUG file you see fit for organizing it.

I think nothing will work since it asks for confirmation sudo xbps-install -Su in a terminal and press Y then Enter

so without confirmation it will simply ignore it, and Hyprland and dependencies will not be installed.Confirmation of adding occurs only once, then the update occurs as usual

Code: Select all

echo hyprwayland-scanner tomlplusplus sdbus-cpp hyprutils hyprlang hyprcursor hyprlock hypridle hyprpaper hyprland-protocols hyprland-devel hyprland xdg-desktop-portal-hyprland \
| xargs -n1 xbps-install -Su

Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 1:15 am
by rockedge

@Sofiya try :

Code: Select all

xbps-install -Suy

So the line should look like :

Code: Select all

echo hyprwayland-scanner tomlplusplus sdbus-cpp hyprutils hyprlang hyprcursor hyprlock hypridle hyprpaper hyprland-protocols hyprland-devel hyprland xdg-desktop-portal-hyprland \
| xargs -n1 xbps-install -Suy

Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 1:39 am
by rockedge

the xbps-install -y switch should enable auto confirm :ugeek:


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 1:49 am
by Sofiya
rockedge wrote: Fri Jun 21, 2024 1:39 am

the xbps-install -y switch should enable auto confirm :ugeek:

Yes, you again did not understand me, before we start installing packages, the mirror that we are adding, we must confirm that we allow its addition
only after this the packages will be installed from this mirror.how to add a mirror without confirmation,?


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 1:56 am
by Sofiya
rockedge wrote: Fri Jun 21, 2024 1:39 am

the xbps-install -y switch should enable auto confirm :ugeek:

I show you what it looks like

repository has been RSA signed by "hyprland-void-github-action"
Do you want to import this public key? [Y/n]

Is it possible to accept a key without confirmation?


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 2:40 am
by rockedge

I almost forgot about the signing of the repos -> https://docs.voidlinux.org/xbps/reposit ... gning.html

When we are installing the local packages we use the xbps-rindex tool.

Signing Repositories

Remote repositories must be signed. Local repositories do not need to be signed.

The xbps-rindex tool is used to sign repositories.

The private key for signing packages needs to be a PEM-encoded RSA key. The key can be generated with either ssh-keygen or openssl

Code: Select all

ssh-keygen -t rsa -m PEM -f private.pem

Code: Select all

openssl genrsa -out private.pem

Once the key is generated, the public part of the private key has to be added to the repository metadata. This step is required only once.

Code: Select all

xbps-rindex --privkey private.pem --sign --signedby "I'm Groot" /path/to/repository/dir

Then sign one or more packages with the following command:

Code: Select all

xbps-rindex --privkey private.pem --sign-pkg /path/to/repository/dir/*.xbps

Note that future packages will not be automatically signed.


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 2:46 am
by Sofiya
rockedge wrote: Fri Jun 21, 2024 2:40 am

I almost forgot about the signing of the repos -> https://docs.voidlinux.org/xbps/reposit ... gning.html

When we are installing the local packages we use the xbps-rindex tool.

Signing Repositories

Remote repositories must be signed. Local repositories do not need to be signed.

The xbps-rindex tool is used to sign repositories.

The private key for signing packages needs to be a PEM-encoded RSA key. The key can be generated with either ssh-keygen or openssl

Code: Select all

ssh-keygen -t rsa -m PEM -f private.pem

Code: Select all

openssl genrsa -out private.pem

Once the key is generated, the public part of the private key has to be added to the repository metadata. This step is required only once.

Code: Select all

xbps-rindex --privkey private.pem --sign --signedby "I'm Groot" /path/to/repository/dir

Then sign one or more packages with the following command:

Code: Select all

xbps-rindex --privkey private.pem --sign-pkg /path/to/repository/dir/*.xbps

Note that future packages will not be automatically signed.

So I have it signed by the poet and confirmation is required. Without a signature, packages will not be installed
This I know

Code: Select all

- name: Retrieve private key
        run: |
          curl -H 'Authorization: token ${{ secrets.PEM_PAT }}' \
            -H 'Accept: application/vnd.github.v3.raw' \
            -O -L https://api.github.com/repos/${{ env.REPO_OWNER }}/hyprland-void-private-pem/contents/private.pem

      - name: Sign repository
        run: |
          export XBPS_PASSPHRASE=${{ secrets.PRIVATE_PEM_PASSPHRASE }}
          xbps-rindex --privkey ./private.pem --sign --signedby "hyprland-void-github-action" ~/hostdir/binpkgs
          xbps-rindex --privkey ./private.pem --sign-pkg ~/hostdir/binpkgs/*.xbps

It seems that only after assembly you can add a mirror and update packages.It won’t be possible to make the installation go through a plugin.


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 2:56 am
by rockedge

I think we need to add the public key or authorization token


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 2:58 am
by Sofiya
rockedge wrote: Fri Jun 21, 2024 2:56 am

I think we need to add the public key or authorization token

I wonder how the official packages were signed then :ugeek:


Re: Hyprland for Void Linux

Posted: Fri Jun 21, 2024 3:05 am
by rockedge

@Sofiya maybe we can try another way:

xmirror

To easily modify the currently selected mirror, xmirror (from the xmirror package) can be used. This utility takes care of all steps for updating the selected mirror.

Manual Method

Alternatively, this can be done manually:

To modify mirror URLs cleanly, copy all the repository configuration files to /etc/xbps.d and change the URLs in each copied repository file.

Code: Select all

# mkdir -p /etc/xbps.d
# cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
# sed -i 's|https://repo-default.voidli

nux.org|<repository>|g' /etc/xbps.d/*-repository-*.conf

After changing the URLs, you must synchronize xbps with the new mirrors:

Code: Select all

# xbps-install -S

You should see the new repository URLs while synchronizing. You can also use xbps-query to verify the repository URLs, but only after they have been synchronized:

Code: Select all

xbps-query -L
 9970 https://repo-default.voidlinux.org/current (RSA signed)
   27 https://repo-default.voidlinux.org/current/multilib/nonfree (RSA signed)
 4230 https://repo-default.voidlinux.org/current/multilib (RSA signed)
   47 https://repo-default.voidlinux.org/current/nonfree (RSA signed)
 5368 https://repo-default.voidlinux.org/current/debug (RSA signed)

Remember that repositories added afterwards will also need to be changed, or they will use the default mirror.


Re: Hyprland for Void Linux

Posted: Sun Jun 23, 2024 12:56 am
by rockedge

@Sofiya did you ever get this to work? I have not looked into the problem for a few hours, days.


Re: Hyprland for Void Linux

Posted: Sun Jun 23, 2024 1:14 am
by Sofiya
rockedge wrote: Sun Jun 23, 2024 12:56 am

@Sofiya did you ever get this to work? I have not looked into the problem for a few hours, days.

I don't understand the question .
This works, but apparently it won’t be possible to insert it into the plugin, due to fingerprint confirmation :ugeek: That is, the mirror can only be added after complete assembly.
After adding the mirror, run “ sudo xbps-install -S in a terminal and press Y then Enter” to confirm adding the RSA signature. if we could sign our packets with the official RSA Void signature. then we wouldn’t need confirmation, but no one will give it to us.I mean their access token for signing

yes, I will still add the mirror to the assembly plugins at the end of the plugin
And the main thing is that people do not forget that the first update must be done through the terminal and accept the RSA key.
the token is mine personally without expiration date,therefore the signing key will always be the same .
run sudo xbps-install -S in a terminal and press Y then Enter

Code: Select all

# add Hyprland github mirror repository-x86_64-glibc
cat <<'SETMIRROR' > /etc/xbps.d/hyprland-void.conf
repository=https://raw.githubusercontent.com/sofijacom/hyprland-void/repository-x86_64-glibc
SETMIRROR