Page 6 of 7

Re: KLV-HyprlandCE-2.0

Posted: Mon Jan 29, 2024 9:51 pm
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:


Re: KLV-HyprlandCE-2.0

Posted: Mon Jan 29, 2024 10:21 pm
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.


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 1:24 am
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


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 1:46 am
by Sofiya

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


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 11:13 am
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


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 2:22 pm
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


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 6:22 pm
by Sofiya

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


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 8:13 pm
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


Re: KLV-HyprlandCE-2.0

Posted: Tue Jan 30, 2024 9:32 pm
by Sofiya

:thumbup: fantastic desktop


Re: KLV-HyprlandCE-2.0

Posted: Wed Jan 31, 2024 12:19 am
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 850 times

Re: KLV-HyprlandCE-2.0

Posted: Wed Jan 31, 2024 12:42 am
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?


Re: KLV-HyprlandCE-2.0

Posted: Wed Jan 31, 2024 5:57 pm
by Sofiya

KLV-Hyprland-CE-3.5 stable

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


Re: KLV-HyprlandCE-2.0

Posted: Wed Jan 31, 2024 7:10 pm
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

Re: KLV-HyprlandCE-2.0

Posted: Wed Jan 31, 2024 8:40 pm
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) ]]",

Re: KLV-HyprlandCE-2.0

Posted: Thu Feb 01, 2024 1:48 am
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>"
                 }
    }

Re: KLV-HyprlandCE-2.0

Posted: Thu Feb 01, 2024 6:21 am
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" },

Re: KLV-HyprlandCE-2.0

Posted: Thu Feb 01, 2024 6:52 am
by Sofiya

;)


Re: KLV-HyprlandCE-2.0

Posted: Fri Feb 02, 2024 8:19 am
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.


Re: KLV-HyprlandCE-2.0

Posted: Sat Feb 03, 2024 5:06 pm
by Sofiya

KLV-Hyprland-CE-3.6 stable

With minor amendments


Re: KLV-HyprlandCE-2.0

Posted: Sat Feb 03, 2024 10:13 pm
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?


Re: KLV-HyprlandCE-2.0

Posted: Sat Feb 03, 2024 10:16 pm
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


Re: KLV-HyprlandCE-2.0

Posted: Sat Feb 03, 2024 10:33 pm
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


Re: KLV-HyprlandCE-2.0

Posted: Sun Feb 04, 2024 6:45 pm
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.


Re: KLV-HyprlandCE-2.0

Posted: Sun Feb 04, 2024 7:16 pm
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.


Re: KLV-HyprlandCE-2.0

Posted: Sun Feb 04, 2024 8:30 pm
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:


Re: KLV-HyprlandCE-2.0

Posted: Sun Feb 04, 2024 8:37 pm
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:


Re: KLV-HyprlandCE-2.0

Posted: Sun Feb 04, 2024 9:55 pm
by rockedge

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


Re: KLV-HyprlandCE-2.0

Posted: Sun Feb 04, 2024 11:53 pm
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

Re: KLV-HyprlandCE-2.0

Posted: Mon Feb 05, 2024 12:04 am
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.


Re: KLV-HyprlandCE-2.0

Posted: Mon Feb 05, 2024 12:21 am
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