KLV-Hyprland-CE-2.0

Moderator: Forum moderators

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

After thinking a little, I’m thinking of changing the code a little (To select waydar themes ). The choice will be through Rofi. each theme and style will be located in its own folders with its own name .In my opinion it is very convenient than now . :geek:

Attachments
Screenshot_30-янв_00-41-28_20755.png
Screenshot_30-янв_00-41-28_20755.png (198 KiB) Viewed 930 times
Last edited by Sofiya on Mon Jan 29, 2024 10:36 pm, edited 1 time in total.

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

TerryH
Posts: 568
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 99 times
Been thanked: 128 times

Re: KLV-HyprlandCE-2.0

Post by TerryH »

Just an observation on my Asus laptop, the right click on the touchpad is recognised as a left click. I wanted to change the Toolbar on Firefox, nothing happened when I right clicked on it. I also checked on PCmanfm, where left click action occurred . I used a mouse to complete the change I wanted to make.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

It turns out cool. I’ll correct everything and provide it later :geek: :thumbup: ;)
Now you can write your config,style.css,modules.json and just put them in a folder and name it whatever you like and put it in /home/spot/.config/hypr/waybar/themes . and select your waybar styleMOD-Alt+W

Attachments
Screenshot_30-янв_04-21-23_24687.png
Screenshot_30-янв_04-21-23_24687.png (368.49 KiB) Viewed 899 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

You'll excuse me that everything is lilac, but I'm a girl :) ;)

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

Gnimmelf
Posts: 124
Joined: Fri Aug 21, 2020 5:01 pm
Has thanked: 67 times
Been thanked: 7 times

Re: KLV-HyprlandCE-2.0

Post by Gnimmelf »

Sofiya wrote: Fri Jan 26, 2024 1:41 pm
Gnimmelf wrote: Fri Jan 26, 2024 12:37 pm

KLV-Hyprland-CE-3.3

is it possible to change launguage to danish?
how do i acces tray to maybe put chromium launcher?

kindly Gnimmelf

is it possible to change launguage to danish?

Can :
1)open pcmanfm as root user - MOD-SHIFT + F
2) uncomment line 111 in /etc/default/libc-locales (#da_DK.UTF-8 UTF-8 ) to ( da_DK.UTF-8 UTF-8 )
3) comment out line 165 from in /etc/default/libc-locales ( en_US.UTF-8 UTF-8 ) to (#en_US.UTF-8 UTF-8 )
4) in /etc/environment change LANG=en_US.UTF-8 to LANG=LANG=da_DK.UTF-8 UTF-8
5) in /etc/locale.conf LANG=en_US.UTF-8 to LANG=LANG=da_DK.UTF-8 UTF-8
6) in the terminal enter sudo xbps-reconfigure -f glibc-locales
7) log out of the session. the system must be in your language

here, too, write your language in line 33 "/home/spot/.config/hypr/hyprland.conf" instead of "kb_layout= us,ru" to "kb_layout= da"

how do i acces tray to maybe put chromium launcher?

launcher here Wofi (MOD+ D),all programs are displayed there . I don’t understand why you need a tray?

Best regards, Sofiya

or here is a script for translation into your language, all you have to do is exit the session. after running the script
run the script by clicking on it

Code: Select all

#!/bin/bash

sudo sed -i 's/en_US.UTF-8 UTF-8/#en_US.UTF-8 UTF-8/' /etc/default/libc-locales
sudo sed -i 's/#da_DK.UTF-8 UTF-8/da_DK.UTF-8 UTF-8/' /etc/default/libc-locales
sudo sed -i 's/LANG=en_US.UTF-8/LANG=da_DK.UTF-8/' /etc/environment
sudo sed -i 's/LANG=en_US.UTF-8/LANG=da_DK.UTF-8/' /etc/locale.conf
sudo xbps-reconfigure -f glibc-locales

I tried all of the above. it didnt make it. there is a red error bar on top screen saying #runtime error - invalid keyboard layout passed......#

i might have to wait until there a more easy way like in F96-ce

kindly Gnimmelf

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

Gnimmelf wrote: Tue Jan 30, 2024 11:13 am
Sofiya wrote: Fri Jan 26, 2024 1:41 pm
Gnimmelf wrote: Fri Jan 26, 2024 12:37 pm

KLV-Hyprland-CE-3.3

is it possible to change launguage to danish?
how do i acces tray to maybe put chromium launcher?

kindly Gnimmelf

is it possible to change launguage to danish?

Can :
1)open pcmanfm as root user - MOD-SHIFT + F
2) uncomment line 111 in /etc/default/libc-locales (#da_DK.UTF-8 UTF-8 ) to ( da_DK.UTF-8 UTF-8 )
3) comment out line 165 from in /etc/default/libc-locales ( en_US.UTF-8 UTF-8 ) to (#en_US.UTF-8 UTF-8 )
4) in /etc/environment change LANG=en_US.UTF-8 to LANG=LANG=da_DK.UTF-8 UTF-8
5) in /etc/locale.conf LANG=en_US.UTF-8 to LANG=LANG=da_DK.UTF-8 UTF-8
6) in the terminal enter sudo xbps-reconfigure -f glibc-locales
7) log out of the session. the system must be in your language

here, too, write your language in line 33 "/home/spot/.config/hypr/hyprland.conf" instead of "kb_layout= us,ru" to "kb_layout= da"

how do i acces tray to maybe put chromium launcher?

launcher here Wofi (MOD+ D),all programs are displayed there . I don’t understand why you need a tray?

Best regards, Sofiya

or here is a script for translation into your language, all you have to do is exit the session. after running the script
run the script by clicking on it

Code: Select all

#!/bin/bash
sudo sed -i 's/en_US.UTF-8 UTF-8/#en_US.UTF-8 UTF-8/' /etc/default/libc-locales
sudo sed -i 's/#da_DK.UTF-8 UTF-8/da_DK.UTF-8 UTF-8/' /etc/default/libc-locales
sudo sed -i 's/LANG=en_US.UTF-8/LANG=da_DK.UTF-8/' /etc/environment
sudo sed -i 's/LANG=en_US.UTF-8/LANG=da_DK.UTF-8/' /etc/locale.conf
sudo xbps-reconfigure -f glibc-locales

I tried all of the above. it didnt make it. there is a red error bar on top screen saying #runtime error - invalid keyboard layout passed......#

i might have to wait until there a more easy way like in F96-ce

kindly Gnimmelf

Just for fun, just check if the script is written incorrectly, no, everything is correct, but I don’t understand what is written in half of it. It doesn’t matter .This is YOUR language on the screenshot???
I just downloaded the script, made it executable and clicked on it. Then clicked LOGOUT. I waited until it restarted and there was no message bar, just a different languageк

here, too, write your language in line 33 /home/spot/.config/hypr/hyprland.conf instead of "kb_layout= us,ru" to "kb_layout= da" or whatever it should be right

if you did not use a script, but an instruction, then there were errors in it. I don’t know why LANG and UTF-8 were superfluous in it. In paragraphs 4) and 5) I seemed to write correctly..

Can :
1)open pcmanfm as root user - MOD-SHIFT + F
2) uncomment line 111 in /etc/default/libc-locales (#da_DK.UTF-8 UTF-8 ) to ( da_DK.UTF-8 UTF-8 )
3) comment out line 165 from in /etc/default/libc-locales ( en_US.UTF-8 UTF-8 ) to (#en_US.UTF-8 UTF-8 )
4) in /etc/environment change LANG=en_US.UTF-8 to LANG=da_DK.UTF-8
5) in /etc/locale.conf LANG=en_US.UTF-8 to LANG=da_DK.UTF-8
6) in the terminal enter sudo xbps-reconfigure -f glibc-locales
7) log out of the session. the system must be in your language

Attachments
lang_da_DK.UTF-8.sh.False.gz
(348 Bytes) Downloaded 8 times
Screenshot_30-jan_17-10-45_13864.png
Screenshot_30-jan_17-10-45_13864.png (244.78 KiB) Viewed 850 times
Last edited by Sofiya on Tue Jan 30, 2024 7:41 pm, edited 3 times in total.

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

In general, there will be 10 styles of different types, write and add your own to your taste. :)

Attachments
image.png
image.png (417.94 KiB) Viewed 823 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

Gnimmelf
Posts: 124
Joined: Fri Aug 21, 2020 5:01 pm
Has thanked: 67 times
Been thanked: 7 times

Re: KLV-HyprlandCE-2.0

Post by Gnimmelf »

Just for fun, just check if the script is written incorrectly, no, everything is correct, but I don’t understand what is written in half of it. It doesn’t matter .This is YOUR language on the screenshot???
I just downloaded the script, made it executable and clicked on it. Then clicked LOGOUT. I waited until it restarted and there was no message bar, just a different languageк

here, too, write your language in line 33 /home/spot/.config/hypr/hyprland.conf instead of "kb_layout= us,ru" to "kb_layout= da" or whatever it should be right

if you did not use a script, but an instruction, then there were errors in it. I don’t know why LANG and UTF-8 were superfluous in it. In paragraphs 4) and 5) I seemed to write correctly..

Can :
1)open pcmanfm as root user - MOD-SHIFT + F
2) uncomment line 111 in /etc/default/libc-locales (#da_DK.UTF-8 UTF-8 ) to ( da_DK.UTF-8 UTF-8 )
3) comment out line 165 from in /etc/default/libc-locales ( en_US.UTF-8 UTF-8 ) to (#en_US.UTF-8 UTF-8 )
4) in /etc/environment change LANG=en_US.UTF-8 to LANG=da_DK.UTF-8
5) in /etc/locale.conf LANG=en_US.UTF-8 to LANG=da_DK.UTF-8
6) in the terminal enter sudo xbps-reconfigure -f glibc-locales
7) log out of the session. the system must be in your language

Thanks i will try asap!

kindly Gnimmelf

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

:thumbup: fantastic desktop

Attachments
screenshot-20240130-234039.png
screenshot-20240130-234039.png (477.77 KiB) Viewed 795 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: KLV-HyprlandCE-2.0

Post by rockedge »

KLV-HyprlandCE-RT

Screenshot_30-Jan_19-15-34_30770.png
Screenshot_30-Jan_19-15-34_30770.png (105.37 KiB) Viewed 781 times
geo_c
Posts: 2502
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1799 times
Been thanked: 705 times

Re: KLV-HyprlandCE-2.0

Post by geo_c »

rockedge wrote: Wed Jan 31, 2024 12:19 am

KLV-HyprlandCE-RT
Screenshot_30-Jan_19-15-34_30770.png

Whar ken I git me one a dem-dare Hyprland-RT's?

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

KLV-Hyprland-CE-3.5 stable

With improved Waybar style selection ( MOD-Alt+W).10 styles included.other improvements.

Attachments
KLbuild_Void_hyprland_swayBASE.sh.FALSE.gz
(3.19 KiB) Downloaded 13 times
screenshot-20240131-203136.png
screenshot-20240131-203136.png (492.19 KiB) Viewed 729 times
Last edited by Sofiya on Tue Feb 06, 2024 4:25 pm, edited 2 times in total.

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: KLV-HyprlandCE-2.0

Post by rockedge »

@Sofiya Beautiful work! Well done.

I am adding one of the RT kernels.......probably 6.1.38-rt13 and also I will try 6.6.0-rt20 with it, So far KLV-HyprlandCE is running great on a DELL Optiplex 990

Display Specifications

Code: Select all

• CPU                      Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz (4 cores)
• RAM                      Total: 7841 MB | Used: 2474 MB (31.5%) | Actual Used: 1396 MB (17.8%)
• Screen Name               VGA1
• Screen VertRefresh        60.00 times/s
• Screen Resolution         1920x1080 pixels (508x285 millimeters)
• Screen Depth              24 bits (planes)

OpenGL 2D/3D Rendering     
• Direct Rendering Yes • Vendor Intel Open Source Technology Center • Renderer Mesa DRI Intel(R) HD Graphics 2000 (SNB GT1) • Version 3.0 Mesa 21.2.6
VGA device [0300] Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) • Kernel Driver i915 • Memory Used by Driver 2024.00 KB • Path /lib/modules/6.0.12-FP/kernel/drivers/gpu/drm/i915/i915.ko • Description Intel Graphics • Video RAM 1536M total, 256M prefetchable
User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

There is a small error. in the update sensor module readings. I thought it would work via (void-updates | wc -l), but no, I need to write it differently.
I'll fix it later.I don't know Void that well, but in theory it should work

Code: Select all

    "custom/updater":{
        "format": "  {} Updates",
        "exec": "sudo xbps-install --memory-sync --dry-run --update | grep -Fe update -e install | wc -l",       
"exec-if": "[[ $(sudo xbps-install --memory-sync --dry-run --update | grep -Fe update -e install | wc -l) ]]", "interval": 60, "on-click": "foot -e sudo xbps-install -Su && notify-send 'The system has been updated'"

or so

Code: Select all

"exec": "sudo xbps-install --memory-sync --dry-run --update | grep -cFe update -e install",       
"exec-if": "[[ $(sudo xbps-install --memory-sync --dry-run --update | grep -cFe update -e install) ]]",
Attachments
screenshot-20240201-052459.png
screenshot-20240201-052459.png (2.38 KiB) Viewed 637 times
Last edited by Sofiya on Fri Feb 02, 2024 3:36 pm, edited 3 times in total.

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

you can add color to the popup calendar and number highlighting syntax . I just didn’t write too much code everywhere, my head is spinning, it takes a lot of time :geek:

Code: Select all

    "clock": {
        // "timezone": "America/New_York",
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
        "format-alt": "{:%Y-%m-%d}",
    "calendar": {
        "format": {
        "months":     "<span color='#ffead3'><b>{}</b></span>",
        "days":       "<span color='#ecc6d9'><b>{}</b></span>",
        "weeks":      "<span color='#99ffdd'><b>W{}</b></span>",
        "weekdays":   "<span color='#ffcc66'><b>{}</b></span>",
        "today":      "<span color='#ff6699'><b><u>{}</u></b></span>"
                 }
    }
Attachments
Screenshot_01-фев_04-50-01_19416.png
Screenshot_01-фев_04-50-01_19416.png (329.97 KiB) Viewed 654 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

Media player control module launched :thumbup: management of media players is also controlled if launched in the browser.
The module appears only if some player is running.management via the script "mediaplayer.py"

Code: Select all

    "custom/media": {
        "format": "{icon} {}",
        "return-type": "json",
        "max-length": 20,
        "format-icons": {
            "spotify": " ",
            "default": " "
        },
        "escape": true,
        "exec": "$HOME/.config/hypr/scripts/mediaplayer.py 2> /dev/null",
        "on-click": "playerctl previous",
        "on-click-middle": "playerctl play-pause",     
"on-click-right": "playerctl next" },
Attachments
screenshot-20240201-093955.png
screenshot-20240201-093955.png (39.06 KiB) Viewed 620 times
Screenshot_01-фев_09-33-48_6856.png
Screenshot_01-фев_09-33-48_6856.png (491.17 KiB) Viewed 622 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

;)

Attachments
Screenshot_01-фев_10-05-55_2960.png
Screenshot_01-фев_10-05-55_2960.png (269.51 KiB) Viewed 611 times
Screenshot_01-фев_09-54-19_3753.png
Screenshot_01-фев_09-54-19_3753.png (244.88 KiB) Viewed 615 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

KLV-Hyprland-CE-3.6 stable ( Kernel 6.1.38-rt13 )
the image uses a real-time kernell. the assembly via script a different kernel is used.

ISO: 762 (MIB)
https://drive.google.com/file/d/1dw6TiE ... sp=sharing

MD5-SHA1-SUM:
https://drive.google.com/file/d/1_1YL3j ... sp=sharing

The above amendments have been made to themes and modules. Colors have been added and adjusted for some themes, and other corrections.

Attachments
Screenshot_01-фев_19-46-39_12424.png
Screenshot_01-фев_19-46-39_12424.png (198.05 KiB) Viewed 572 times
Last edited by Sofiya on Tue Feb 06, 2024 4:27 pm, edited 2 times in total.

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

KLV-Hyprland-CE-3.6 stable

With minor amendments

Attachments
KLbuild_Void_hyprland_swayBASE.sh.FALSE.gz
(3.19 KiB) Downloaded 8 times
Screenshot_03-фев_20-07-56_681.png
Screenshot_03-фев_20-07-56_681.png (361.57 KiB) Viewed 473 times
Screenshot_03-фев_20-02-40_22095.png
Screenshot_03-фев_20-02-40_22095.png (358.66 KiB) Viewed 476 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

geo_c
Posts: 2502
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1799 times
Been thanked: 705 times

Re: KLV-HyprlandCE-2.0

Post by geo_c »

I'm having a real hard time trying to navigate as user-spot, probably because my whole linux experience has been in the puppy run-as-root environment.

I figured out that to use a command like xbps-install in sakura, you have to use sudo xbps-install, but I'm having no luck copying or editing files on /mnt/sda1 or /mnt/home. I can't open a jpg from /sda1 with ristretto or from pcmanfm because permission is denied.

If I want to access files freely outside of user-spot, what do I need to do? do I need to log in as root?

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

geo_c wrote: Sat Feb 03, 2024 10:13 pm

I'm having a real hard time trying to navigate as user-spot, probably because my whole linux experience has been in the puppy run-as-root environment.

I figured out that to use a command like xbps-install in sakura, you have to use sudo xbps-install, but I'm having no luck copying or editing files on /mnt/sda1 or /mnt/home. I can't open a jpg from /sda1 with ristretto or from pcmanfm because permission is denied.

If I want to access files freely outside of user-spot, what do I need to do? do I need to log in as root?

Apparently you have never used non-Puppy Linux. You must be logged into Pcmanfm as a superuser..
MOD- shift+F

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

geo_c wrote: Sat Feb 03, 2024 10:13 pm

I'm having a real hard time trying to navigate as user-spot, probably because my whole linux experience has been in the puppy run-as-root environment.

I figured out that to use a command like xbps-install in sakura, you have to use sudo xbps-install, but I'm having no luck copying or editing files on /mnt/sda1 or /mnt/home. I can't open a jpg from /sda1 with ristretto or from pcmanfm because permission is denied.

If I want to access files freely outside of user-spot, what do I need to do? do I need to log in as root?

Use hotkey help MOD + H

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: KLV-HyprlandCE-2.0

Post by rockedge »

@geo_c, I'm thinking about taking the 3.6 version and making a auto login to root and setting it up similar to KLV-Airedale or KLV-Spectr where I use prominently the root user. Can't "do" the sudo thing more than I have too.

you have never used non-Puppy Linux

Unfortunately more than I like. Running computers since 1975 and sometimes you can't get around it. Should see it running mainframes. Luckily there I was usually logged in as a sysop or knew one.

14 years now solid running only as root. Still here.

geo_c
Posts: 2502
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 1799 times
Been thanked: 705 times

Re: KLV-HyprlandCE-2.0

Post by geo_c »

rockedge wrote: Sun Feb 04, 2024 6:45 pm

@geo_c, I'm thinking about taking the 3.6 version and making a auto login to root and setting it up similar to KLV-Airedale or KLV-Spectr where I use prominently the root user. Can't "do" the sudo thing more than I have too.

you have never used non-Puppy Linux

Unfortunately more than I like. Running computers since 1975 and sometimes you can't get around it. Should see it running mainframes. Luckily there I was usually logged in as a sysop or knew one.

14 years now solid running only as root. Still here.

That would be nice, and I would use it, though I'll probably keep a working copy of this one so I can learn the tricks of super user.

geo_c
Old School Hipster, and Such

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: KLV-HyprlandCE-2.0

Post by rockedge »

I am going to leave the KLV-HyprlandCE login with the spot user. As long as spot is included in the wheel group no password is needed for sudo assisted commands. Plus OctoXBPS is designed to not be run as the root user.

We made KLV's true multi-user capable for a reason :ugeek:

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

Yes! Get creative Guys. The system is fully assembled and stable :ugeek: I believe in you
True, I myself have not yet fully explored the full potential of everything that can be squeezed out of it.
It took me a lot of effort to bring her to this state.But it was worth it !!! :thumbup:

Attachments
Screenshot_04-фев_23-32-01_1924.png
Screenshot_04-фев_23-32-01_1924.png (313.08 KiB) Viewed 365 times

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

User avatar
rockedge
Site Admin
Posts: 5724
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: KLV-HyprlandCE-2.0

Post by rockedge »

@Sofiya, It is excellent work. Looks great and is quick and responsive. Nice touch on the polish. :thumbup:

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

I slightly corrected the "inst-xbps" code so that it was possible to install local xxxx.xbps packages on Hyprland. Maybe you can write it better, but I'm not a super programmer .
to be honest, it’s not really needed, but still.
Requires Xterm to be installed

Code: Select all

#!/bin/bash

# 2021-12-27, fredx181, install local xbps package
# note that this depends on the 'correct' name of the provided xbps package
# should be: <name>-<version>.<arch>.xbps
# will fail if not exact
# 2022-01-02, added yad selection dialog (select xbps) and run install commands in xterm

if [ -z $(which xmessage) ]; then
MESSAGE=gxmessage
else
MESSAGE=xmessage
fi

# set terminal command, if xterm is installed it will be used
if [ -z "$(which xterm)" ]; then
	msg=" You don't have xterm installed.\nIt's a dependency of this program."
	echo $msg
	$MESSAGE "`echo -e $msg`"
exit 0
else
_TERMCMD="xterm -rv -geometry 80x15 -title inst-xbps -e"
fi
# xterm

if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
echo -en "\nThis script will install a single xbps package \nUsage:\n`basename ${0}` </path/to/package.xbps>"
exit 0
fi

  if [ "$1" = "" ]; then
XBPS=$(yad --center --window-icon="" --file --filename=$HOME/ --file-filter='xbps files (.xbps) | *.xbps' --title="Select xpps package" --text="Select a .xbps package" --height=550 --width=790)
[ $? -ne 0 ] && exit
export XBPS="$XBPS"
    if [ ! -f "$XBPS" ]; then
    yad --center --title="Error" --text="     Package not existing     " --button="Close!gtk-close:0"
    exit
    fi
  else
XBPS="$1"
ifxbps=`echo "${XBPS##*.}"`
if [ "$ifxbps" != "xbps" ]; then
echo -e "\n$1 is not a xbps,\n please provide a .xbps package\n `basename ${0}` </path/to/package.xbps>\n"
exit 0
else
export XBPS="$(realpath "$XBPS")"
fi
  fi
  
# Create and switch to build directory mkdir -p $HOME/Build export INDEXDIR="$HOME/Build" # change as preferred # export INDEXDIR="$(dirname "$XBPS")" # same directory as package, uncomment if preferred and comment out above # run in terminal run_in_term () { PKG="$(basename "$XBPS")" PKG1="${PKG%.*}" cp -a "$XBPS" "$INDEXDIR"/ 2> /dev/null # copy to $INDEXDIR xbps-rindex -af "$INDEXDIR/$PKG" # index the package sudo xbps-install -R "$INDEXDIR"/ -f -I "${PKG1%.*}" # install [ $? -ne 0 ] && echo "Something went wrong, perhaps you need to update the repository sources?" echo read -s -n 1 -p "Press any key to close . . ." } export -f run_in_term $_TERMCMD "/bin/bash -c 'run_in_term'" # Clean Up rm -r $HOME/Build
Attachments
Create-xbps-tools-1.2_1.noarch.xbps
(32.66 KiB) Downloaded 10 times
Last edited by Sofiya on Mon Feb 05, 2024 1:59 am, edited 2 times in total.

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

TerryH
Posts: 568
Joined: Mon Jun 15, 2020 2:08 am
Has thanked: 99 times
Been thanked: 128 times

Re: KLV-HyprlandCE-2.0

Post by TerryH »

rockedge wrote: Sun Feb 04, 2024 8:30 pm

I am going to leave the KLV-HyprlandCE login with the spot user. As long as spot is included in the wheel group no password is needed for sudo assisted commands. Plus OctoXBPS is designed to not be run as the root user.

We mad e KLV's true multi-user capable for a reason :ugeek:

Yes, this is a great set up, running as spot, with hotkeys set up for terminal (MOD Shift T)and pcmanfm (MOD Shift F) using sudo, is excellent.

@Sofiya The above 2 hotkey combinations are duplicated in the Cheat sheet.

New Laptop - ASUS ZenBook Ryzen 7 5800H Vega 7 iGPU / 16 GB RAM

User avatar
Sofiya
Posts: 1810
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1202 times
Been thanked: 1080 times

Re: KLV-HyprlandCE-2.0

Post by Sofiya »

TerryH wrote: Mon Feb 05, 2024 12:04 am
rockedge wrote: Sun Feb 04, 2024 8:30 pm

I am going to leave the KLV-HyprlandCE login with the spot user. As long as spot is included in the wheel group no password is needed for sudo assisted commands. Plus OctoXBPS is designed to not be run as the root user.

We mad e KLV's true multi-user capable for a reason :ugeek:

Yes, this is a great set up, running as spot, with hotkeys set up for terminal (MOD Shift T)and pcmanfm (MOD Shift F) using sudo, is excellent.

@Sofiya The above 2 hotkey combinations are duplicated in the Cheat sheet.

Thank you @TerryH

21 line Super SHIFT T *Pcmanfm (spot) need not
19 line Super F *full screen window mode it should be like this

Vanilla Dpup 9.2.X - KLV-Airedale - KLA-OT2
PUPPY LINUX Simple fast free

Post Reply

Return to “KLV-HyprlandCE”