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 .
KLV-Hyprland-CE-2.0
Moderator: Forum moderators
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
- Attachments
-
- Screenshot_30-янв_00-41-28_20755.png (198 KiB) Viewed 1807 times
KL
PUPPY LINUX Simple fast free
Re: KLV-HyprlandCE-2.0
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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
It turns out cool. I’ll correct everything and provide it later
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 (368.49 KiB) Viewed 1776 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
You'll excuse me that everything is lilac, but I'm a girl
KL
PUPPY LINUX Simple fast free
Re: KLV-HyprlandCE-2.0
Sofiya wrote: ↑Fri Jan 26, 2024 1:41 pmis 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 languagehere, 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 itCode: 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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
Gnimmelf wrote: ↑Tue Jan 30, 2024 11:13 amSofiya wrote: ↑Fri Jan 26, 2024 1:41 pmis 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 languagehere, 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 itCode: 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 43 times
-
- Screenshot_30-jan_17-10-45_13864.png (244.78 KiB) Viewed 1727 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
In general, there will be 10 styles of different types, write and add your own to your taste.
- Attachments
-
- image.png (417.94 KiB) Viewed 1700 times
KL
PUPPY LINUX Simple fast free
Re: KLV-HyprlandCE-2.0
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 rightif 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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
fantastic desktop
- Attachments
-
- screenshot-20240130-234039.png (477.77 KiB) Viewed 1672 times
KL
PUPPY LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 6532
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2742 times
- Been thanked: 2619 times
- Contact:
-
- Posts: 2878
- Joined: Fri Jul 31, 2020 3:37 am
- Has thanked: 2200 times
- Been thanked: 873 times
Re: KLV-HyprlandCE-2.0
Whar ken I git me one a dem-dare Hyprland-RT's?
geo_c
Old School Hipster, and Such
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
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 35 times
-
- screenshot-20240131-203136.png (492.19 KiB) Viewed 1606 times
KL
PUPPY LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 6532
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2742 times
- Been thanked: 2619 times
- Contact:
Re: KLV-HyprlandCE-2.0
@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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
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 (2.38 KiB) Viewed 1514 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
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
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 (329.97 KiB) Viewed 1531 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
Media player control module launched 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 (39.06 KiB) Viewed 1497 times
-
- Screenshot_01-фев_09-33-48_6856.png (491.17 KiB) Viewed 1499 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
- Attachments
-
- Screenshot_01-фев_10-05-55_2960.png (269.51 KiB) Viewed 1488 times
-
- Screenshot_01-фев_09-54-19_3753.png (244.88 KiB) Viewed 1492 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
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 (198.05 KiB) Viewed 1449 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
KLV-Hyprland-CE-3.6 stable
With minor amendments
- Attachments
-
- KLbuild_Void_hyprland_swayBASE.sh.FALSE.gz
- (3.19 KiB) Downloaded 22 times
-
- Screenshot_03-фев_20-07-56_681.png (361.57 KiB) Viewed 1350 times
-
- Screenshot_03-фев_20-02-40_22095.png (358.66 KiB) Viewed 1353 times
KL
PUPPY LINUX Simple fast free
-
- Posts: 2878
- Joined: Fri Jul 31, 2020 3:37 am
- Has thanked: 2200 times
- Been thanked: 873 times
Re: KLV-HyprlandCE-2.0
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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
geo_c wrote: ↑Sat Feb 03, 2024 10:13 pmI'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 usesudo 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
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
geo_c wrote: ↑Sat Feb 03, 2024 10:13 pmI'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 usesudo 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
KL
PUPPY LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 6532
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2742 times
- Been thanked: 2619 times
- Contact:
Re: KLV-HyprlandCE-2.0
@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.
-
- Posts: 2878
- Joined: Fri Jul 31, 2020 3:37 am
- Has thanked: 2200 times
- Been thanked: 873 times
Re: KLV-HyprlandCE-2.0
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
- rockedge
- Site Admin
- Posts: 6532
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2742 times
- Been thanked: 2619 times
- Contact:
Re: KLV-HyprlandCE-2.0
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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
Yes! Get creative Guys. The system is fully assembled and stable 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 !!!
- Attachments
-
- Screenshot_04-фев_23-32-01_1924.png (313.08 KiB) Viewed 1242 times
KL
PUPPY LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 6532
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2742 times
- Been thanked: 2619 times
- Contact:
Re: KLV-HyprlandCE-2.0
@Sofiya, It is excellent work. Looks great and is quick and responsive. Nice touch on the polish.
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
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 44 times
KL
PUPPY LINUX Simple fast free
Re: KLV-HyprlandCE-2.0
rockedge wrote: ↑Sun Feb 04, 2024 8:30 pmI am going to leave the KLV-HyprlandCE login with the
spot
user. As long asspot
is included in the wheel group no password is needed forsudo
assisted commands. PlusOctoXBPS
is designed to not be run as theroot
user.We mad e KLV's true multi-user capable for a reason
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
- Sofiya
- Posts: 2272
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1473 times
- Been thanked: 1515 times
Re: KLV-HyprlandCE-2.0
TerryH wrote: ↑Mon Feb 05, 2024 12:04 amrockedge wrote: ↑Sun Feb 04, 2024 8:30 pmI am going to leave the KLV-HyprlandCE login with the
spot
user. As long asspot
is included in the wheel group no password is needed forsudo
assisted commands. PlusOctoXBPS
is designed to not be run as theroot
user.We mad e KLV's true multi-user capable for a reason
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
KL
PUPPY LINUX Simple fast free