KLV-Bspwm test build

Moderator: Forum moderators

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

Sofiya wrote: Sat Sep 02, 2023 1:35 am

And we are happy!!! :)

Yes! Printing is always the final piece of the puzzle for me.

And it's probably past your bed time. :thumbup:

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

geo_c wrote: Sat Sep 02, 2023 1:38 am
Sofiya wrote: Sat Sep 02, 2023 1:35 am

And we are happy!!! :)

Yes! Printing is always the final piece of the puzzle for me.

And it's probably past your bed time. :thumbup:

No, it's not time ;)

KL
PUPPY LINUX Simple fast free

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

Re: KLV-Bspwm test build

Post by rockedge »

Getting the printing going with CUPS is different every time it seems. Try changing the root password. There should be only one password query per session I think.

I am going to do a CUPS installation here to see where and what the challenges are..... :ugeek:

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

rockedge wrote: Sat Sep 02, 2023 1:58 am

There should be only one password query per session I think.

Ыщашнфб ьн лунищфкв срфтпув ещ Снкшддшс

Рщц вщ Ш пуе ше ифсл ещ Утпдшыр,

geo_c
Old School Hipster, and Such

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

@Sofiya, as you can see above, my fingers got sloppy on my mushy keyboard and I somehow changed the keyboard encoding to Cyrillic.

I had to boot into Spectr.

How do I get Bspwm back to US layout? I know nothing about character encoding.

EDIT: NEVERMIND! it went back to US on a reboot.

geo_c
Old School Hipster, and Such

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

rockedge wrote: Sat Sep 02, 2023 1:58 am

There should be only one password query per session I think.

I don't know if this has anything to do with it, but all the config files in /etc/cups belong to user:root and group:lp

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

geo_c wrote: Sat Sep 02, 2023 3:23 am

@Sofiya, as you can see above, my fingers got sloppy on my mushy keyboard and I somehow changed the keyboard encoding to Cyrillic.

I had to boot into Spectr.

How do I get Bspwm back to US layout? I know nothing about character encoding.

EDIT: NEVERMIND! it went back to US on a reboot.

go to /root/.config/bspwm/bspwmrc and comment out line 6 #setxkbmap -option grp:alt_shift_toggle us,ru .or remove ( ,ru )

Attachments
Снимок экрана.png
Снимок экрана.png (13.41 KiB) Viewed 7447 times

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

Sofiya wrote: Sat Sep 02, 2023 9:37 am

go to /root/.config/bspwm/bspwmrc and comment out line 6

And I forgot you have the toggle built right into the polybar. No need to remove it, It's probably time for me to learn Russian.

I worked a music camp in Sofiya, Bulgaria in 2007 or so, and I believe that's where Cyrillic was invented.

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

geo_c wrote: Sat Sep 02, 2023 3:23 am

@Sofiya, as you can see above, my fingers got sloppy on my mushy keyboard and I somehow changed the keyboard encoding to Cyrillic.

I had to boot into Spectr.

How do I get Bspwm back to US layout? I know nothing about character encoding.

EDIT: NEVERMIND! it went back to US on a reboot.

you can also click on the icon in the Polybar,to change the keyboard layout

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

After a few days of continuous use, KLV-Bspwm_CE-1.2 is my new daily driver, hands down. Of all my OS's I like it best.

Also, I am really liking and using PCmanFM. It's lightweight and fast like Xfe, and it has some features that are like Rox as well. Also it looks much nicer than both of those file managers. I found it difficult to get the same functionality and clean look from Thunar.

That's good news for me as an avid Xfe user, because Xfe does not play as well with tiling window managers. Basically in list view, when windows are automatically sized and resized, the list categories become spread apart and constantly have to be resized to be visible.

And I haven't even installed Rox in Bpswm, because I don't feel I have a need for it. I think I'll be migrating to PCmanFM permanently. It seems to do everything I need it to do.

And though it's called KLV-Bspwm_CE-1.2-beta, I don't think it's really missing much. It's a pretty complete package. For the masses it would probably benefit from a nice gui network manager (that scans wifi etc), time zone setter, and configured cups. For me though, none of that is necessary at this point.

geo_c
Old School Hipster, and Such

User avatar
wiak
Posts: 4082
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 65 times
Been thanked: 1208 times
Contact:

Re: KLV-Bspwm test build

Post by wiak »

Are you planning (I hope) to put the download and build script from viewtopic.php?p=97684#p97684
to first post of a thread?
And how close to the produced iso does the PLUG file take it (all the way?)?

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

wiak wrote: Mon Sep 04, 2023 12:49 pm

Are you planning (I hope) to put the download and build script from viewtopic.php?p=97684#p97684
to first post of a thread?
And how close to the produced iso does the PLUG file take it (all the way?)?

И насколько близко к произведенному iso его принимает файл PLUG (до конца?)?

So close that you can hug him :)

Ready-made script for a full assembly . Except that the ISO needs to be packaged by yourself if needed.
I don’t understand where to move the script, I don’t understand anything about this :oops:
Note :
The plugin that is currently packaged in ISO KLV-BspwmCE-1.2 Beta will be different from the one that will be downloaded when using the script "FR_minimal_void_bspwm_rc5.sh" https://gitlab.com/sofija.p2018/kla-ot2 ... line=false

Last edited by Sofiya on Mon Sep 04, 2023 2:20 pm, edited 4 times in total.

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

Sofiya wrote: Mon Sep 04, 2023 1:24 pm
wiak wrote: Mon Sep 04, 2023 12:49 pm

Are you planning (I hope) to put the download and build script from viewtopic.php?p=97684#p97684
to first post of a thread?
And how close to the produced iso does the PLUG file take it (all the way?)?

И насколько близко к произведенному iso его принимает файл PLUG (до конца?)?

So close that you can hug him :)

Ready-made script for a full assembly . Except that the ISO needs to be packaged by yourself if needed.
I don’t understand where to move the script, I don’t understand anything about this :oops:

@wiak, @Sofiya included the build scripts in the iso, so just download it and it's all there.

geo_c
Old School Hipster, and Such

User avatar
josejp2424
Posts: 245
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 261 times
Been thanked: 154 times

Re: KLV-Bspwm test build

Post by josejp2424 »

geo_c wrote: Mon Sep 04, 2023 12:21 pm

After a few days of continuous use, KLV-Bspwm_CE-1.2 is my new daily driver, hands down. Of all my OS's I like it best.

Also, I am really liking and using PCmanFM. It's lightweight and fast like Xfe, and it has some features that are like Rox as well. Also it looks much nicer than both of those file managers. I found it difficult to get the same functionality and clean look from Thunar.

That's good news for me as an avid Xfe user, because Xfe does not play as well with tiling window managers. Basically in list view, when windows are automatically sized and resized, the list categories become spread apart and constantly have to be resized to be visible.

And I haven't even installed Rox in Bpswm, because I don't feel I have a need for it. I think I'll be migrating to PCmanFM permanently. It seems to do everything I need it to do.

And though it's called KLV-Bspwm_CE-1.2-beta, I don't think it's really missing much. It's a pretty complete package. For the masses it would probably benefit from a nice gui network manager (that scans wifi etc), time zone setter, and configured cups. For me though, none of that is necessary at this point.

I was playing with the iso KLV-Bspwm_CE-1.2.
For the common user it is difficult to connect to the internet, via wifi network.
I would recommend adding to the iso, network-manager-applet, libnma, networkmanager. it worked great.
I also tried Frisbee and it worked.

Image

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

Resolved:Show drives and connected devices (flash etc) without "pupa-volume-monitor-1.15_0"

Code: Select all

xbps-install -y gvfs gvfs-smb gvfs-mtp gvfs-cdda

Code: Select all

sed -i '51,$d' /root/.xinitrc
echo "/usr/local/bin/start-up &" >>/root/.xinitrc
echo "exec dbus-run-session bspwm" >>/root/.xinitrc     # to display connected drives

:thumbup:

Last edited by Sofiya on Tue Sep 05, 2023 12:59 am, edited 1 time in total.

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

josejp2424 wrote: Mon Sep 04, 2023 10:11 pm
geo_c wrote: Mon Sep 04, 2023 12:21 pm

I was playing with the iso KLV-Bspwm_CE-1.2.
For the common user it is difficult to connect to the internet, via wifi network.
I would recommend adding to the iso, network-manager-applet, libnma, networkmanager. it worked great.
I also tried Frisbee and it worked.

@josejp2424
network-manager-applet, networkmanager installed .the question is how to make them appear in the polybar ? :geek:

KL
PUPPY LINUX Simple fast free

User avatar
josejp2424
Posts: 245
Joined: Sun Jul 12, 2020 11:40 pm
Has thanked: 261 times
Been thanked: 154 times

Re: KLV-Bspwm test build

Post by josejp2424 »

Sofiya wrote: Tue Sep 05, 2023 12:49 am
josejp2424 wrote: Mon Sep 04, 2023 10:11 pm
geo_c wrote: Mon Sep 04, 2023 12:21 pm

I was playing with the iso KLV-Bspwm_CE-1.2.
For the common user it is difficult to connect to the internet, via wifi network.
I would recommend adding to the iso, network-manager-applet, libnma, networkmanager. it worked great.
I also tried Frisbee and it worked.

@josejp2424
network-manager-applet, networkmanager installed .the question is how to make them appear in the polybar ? :geek:

I had to change the polybar settings.
Because the systray was not working.
if you look at this image. The shutdown is a yad program running in systray.

Image

At the moment I am not at my pc to pass you, everything.

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

We figured out more deeply with the Polybar settings, now I also have a WiFi network and a wired one :geek: :thumbup:
by clicking on the polybar tray icon you get the network settings to choose from :D since we have nm-applet installed, everything works for us, we only need to register it in autorun

Attachments
Screenshot.png
Screenshot.png (381.08 KiB) Viewed 6997 times
2023-09-05_750x422-thumb1.png
2023-09-05_750x422-thumb1.png (359.13 KiB) Viewed 6997 times
Screenshot4.png
Screenshot4.png (393.63 KiB) Viewed 6997 times

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

How does one set the Void repository url in xbps?

The yandex repository is either down, or it stopped working. I booted KLV-airedale and the clarkson and void repo default are both working. Maybe I should set those in KLV-Bpswm since I'm in the US.

I'm looking at the Void Handbook, but the answer is very sparse and isn't dumbed down enough for me.

geo_c
Old School Hipster, and Such

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

Re: KLV-Bspwm test build

Post by rockedge »

@geo_c it's easy once you know how.....

Screenshot(99).jpg
Screenshot(99).jpg (21.38 KiB) Viewed 6954 times

first check if this directory exists or create it:

Code: Select all

mkdir -p /etc/xbps.d

then copy the contents of /usr/share/xbps.d to /etc/xbps.d

Code: Select all

cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/

Now enter /etc/xbps.d and modify the files needed like 00-repository-main.conf and 01-repository-nonfree.conf

Then the important step to update the repo package database:

Code: Select all

xbps-install -S

Check your work:

Code: Select all

xbps-query -L
User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

:thumbup: :)
Brand new "bspwmrc" config file now with auto-set wallpaper in boot mode, auto-set window frame color, auto-align pop-ups - centering them (such as pavucontrol and the like)
under testing
correction: most likely will not be used for the end user

/root/.config/bspwm/bspwmrc

Code: Select all

#!/bin/bash

bash /usr/bin/startpolybar &
## Environtment
export PATH="${PATH}:$HOME/.scripts"
export PATH="${PATH}:$HOME/.config/bspwm"
export PATH="${PATH}:$HOME/.config/polybar"
## Coloring
getcolors () {
	FOREGROUND=$(xrdb -query | grep 'foreground:'| awk '{print $NF}')
	BACKGROUND=$(xrdb -query | grep 'background:'| awk '{print $NF}')
	BLACK=$(xrdb -query | grep 'color0:'| awk '{print $NF}')
	RED=$(xrdb -query | grep 'color1:'| awk '{print $NF}')
	GREEN=$(xrdb -query | grep 'color2:'| awk '{print $NF}')
	YELLOW=$(xrdb -query | grep 'color3:'| awk '{print $NF}')
	BLUE=$(xrdb -query | grep 'color4:'| awk '{print $NF}')
	MAGENTA=$(xrdb -query | grep 'color5:'| awk '{print $NF}')
	CYAN=$(xrdb -query | grep 'color6:'| awk '{print $NF}')
	WHITE=$(xrdb -query | grep 'color7:'| awk '{print $NF}')
}
xrdb ~/.Xresources
COLOR=$(shuf -n1 -e ~/.colors/*)
SHORTCOLOR=$(echo $COLOR | sed "s@.*/@@")
xrdb -merge $COLOR
paintee
# Only use the function above if the cache of paintee couldn't be found
if [ -e ~/.cache/paintee ]; then
	. ~/.cache/paintee
	else
	getcolors
fi
#sed -i "s|.*ac.*|ac = ${BLUE}|g" ~/.config/polybar/klv-bspwm/colors.ini
#sed -i '0,/.*accent-color:.*/{s//accent-color: '${BLUE}';/}' ~/.config/rofi/config.rasi 



## Bspwm configurations
bspc monitor -d '1' '2' '3' '4' '5'  
bspc config focus_follows_pointer true
bspc config border_width 1
bspc config window_gap 5
bspc config focused_border_color "$BLUE" 
bspc config normal_border_color "$BLACK"
bspc config active_border_color "$MAGENTA"
bspc config presel_feedback_color "$GREEN"
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config paddingless_monocle true
bspc config single_monocle false
bspc config top_padding 0
bspc config right_padding 5
bspc config bottom_padding 5
bspc config left_padding 5

## Window rules
# remove all rules first
bspc rule -r *:*
#1 > terminal
bspc rule -a UXTerm desktop='^1' follow=on focus=on
#2 > web
bspc rule -a Google-chrome desktop='^2' follow=on focus=on
bspc rule -a Firefox desktop='^2' follow=on focus=on
bspc rule -a Transmission-gtk desktop='^2' follow=on focus=on
#3 > file
bspc rule -a Thunar desktop='^3' follow=on focus=on
bspc rule -a Dolphin desktop='^3' follow=on focus=on
bspc rule -a Nautilus desktop='^3' follow=on focus=on
bspc rule -a pcmanfm desktop='^3' follow=on focus=on
bspc rule -a File-roller desktop='^3' follow=on focus=on

#4 > office
#declare -a office=(wpp wps et gedit)
#for i in ${office[@]}; do
 #bspc rule -a $i desktop='^4' follow=on focus=on

#bspc rule -a Gedit desktop='^4' follow=on focus=on

#5 > media
#declare -a media=(Audacity mpv Gimp Gimp-2.8)
bspc rule -a Code desktop='^4' follow=on focus=on
bspc rule -a DesktopEditors desktop='^4' follow=on focus=on
bspc rule -a kdenlive desktop='^5' follow=on focus=on
bspc rule -a Audacious desktop='^5' follow=on focus=on
bspc rule -a vlc desktop='^5' follow=on focus=on
bspc rule -a mpv desktop='^5' follow=on focus=on
bspc rule -a Gimp-2.10 desktop='^5' follow=on focus=on
bspc rule -a Spotify desktop='^5' follow=on focus=on
#bspc rule -a Chromium desktop='^2' follow=on focus=on
#for i in ${media[@]}; do
 #  bspc rule -a $i desktop='^5' follow=on focus=on; done
#6 > settings



declare -a settings=(Lxappearance Lxtask Lxrandr Arandr \
System-config-printer.py Pavucontrol Exo-helper-1)
for i in ${settings[@]}; do
   bspc rule -a $i desktop='^6' state=floating follow=on focus=on; done
bspc rule -a GParted desktop='^6' follow=on focus=on

#special rules
bspc rule -a Audacious state=floating follow=on focus=on
bspc rule -a Firefox:Places state=floating follow=on focus=on
bspc rule -a Chromium state=floating follow=on focus=on
bspc rule -a Viewnior state=floating follow=on focus=on
#bspc rule -a Conky state=floating manage=off
#bspc rule -a stalonetray state=floating manage=off

## Autostart  pcmanfm --desktop &
setxkbmap -option grp:alt_shift_toggle us,ru 
xsetroot -cursor_name left_ptr
#xbacklight -set 10
xset fp+ ~/.fonts/misc
killall -9 sxhkd dunst
sxhkd &
launch.sh
xsettingsd &
nm-applet &
run-as-spot /usr/bin/octoxbps-notifier &
exec pulseaudio --start &
WALLPAPER=$(shuf -n1 -e ~/.wallpaper/*)
SHORTWALLPAPER=$(echo $WALLPAPER | sed "s@.*/@@" | sed "s/\..*$//")
ls ~/.wallpaper | sort -R | tail -$N | while read file; do # useless animation
	hsetroot -fill ~/.wallpaper/$file -tint '#3c6f86'; sleep 0.1; done
hsetroot -fill $WALLPAPER -tint '#9ccfe6'
dunst \
-lb "$BACKGROUND" -lf "$FOREGROUND" -lfr "$GREEN" \
-nb "$BACKGROUND" -nf "$FOREGROUND" -nfr "$BLUE" \
-cb "$BACKGROUND" -cf "$FOREGROUND" -cfr "$RED" &
sleep 0.5
notify-send "Bspwm Loaded" "With $SHORTCOLOR color and $SHORTWALLPAPER wallpaper"
#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#/usr/libexec/polkit-gnome-authentication-agent-1
#/usr/libexec/xfce-polkit

#enable touchpad tapping and natural scrolling
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1
Attachments
Screenshot3.png
Screenshot3.png (215.78 KiB) Viewed 6936 times
Last edited by Sofiya on Thu Sep 07, 2023 11:56 pm, edited 10 times in total.

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

rockedge wrote: Tue Sep 05, 2023 3:07 pm

Then the important step to update the repo package database:

Code: Select all

xbps-install -S

Check your work:

Code: Select all

xbps-query -L

Everything was easy enough, then when I tried to update the repository, no output, just back to the terminal prompt. So I decided to try it in OctoXbps and got the following:

Code: Select all

Synchronizing databases...

QStandardPaths: runtime directory '/run/user/0' is not owned by UID 1001, but a directory permissions 0700 owned by UID 0 GID 0

Command finished with errors!

I could probably fiddle with the permissions and see if I get them to work, but thought it best to check with you guys. I used PCmanFM to copy the files, but I don't know if it's the file permissions, because I don't know how /run/user works at all.

geo_c
Old School Hipster, and Such

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

You know, maybe my system is botched up because of this one quirk in PCmanFM that is very annoying...

It seems if you have a window full of files and you select them all, it's very difficult to unselect, and if you have execute scripts set to single click without prompt, and accidentlally click on one of them, then every single selected file tries to open up. So I did that once when making and copying desktop files and had about 50 programs open all at once.

Maybe I changed system folder permissions somehow.

geo_c
Old School Hipster, and Such

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

geo_c wrote: Tue Sep 05, 2023 4:30 pm

You know, maybe my system is botched up because of this one quirk in PCmanFM that is very annoying...
Maybe I changed system folder permissions somehow.

Yes, that seems to have been the problem. Shutdown, deleted upper_changes and rebooted. The yandex mirror works now. I'll probably change it to Void default and Clarkson, but I'm running out of time today.

EDIT:
No. That's not true I'm on fresh upper_changes and now I get this from OctoXbps:

Code: Select all

bash-5.2$ sudo bash -c "/home/spot/.config/octoxbps/.qt_temp_149074315"

Name Action    Version           New version            Download size
sct  install   -                 0.5_1                  6080B 

Size to download:              6592B
Size required on disk:          21KB
Space available on disk:        66GB

Do you want to continue? [Y/n] y

[*] Downloading packages
ERROR: [trans] failed to download `sct-0.5_1' signature from `https://mirror.yandex.ru/mirrors/voidlinux/current': Not Found
Transaction failed! see above for errors.

Press any key to continue...
bash-5.2$ clear

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

geo_c wrote: Tue Sep 05, 2023 2:38 pm

How does one set the Void repository url in xbps?

The yandex repository is either down, or it stopped working. I booted KLV-airedale and the clarkson and void repo default are both working. Maybe I should set those in KLV-Bpswm since I'm in the US.

I'm looking at the Void Handbook, but the answer is very sparse and isn't dumbed down enough for me.

Yes, the assembly came from the Yandex repository, because all other repositories are assembled slowly and the assembly is assembled with errors. The most option is to assemble the assembly yourself using the script and your location.
during the build, options will be offered to choose from which one the build will go from, US repositories, etc.

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

let's sum up. the code script is cleared, the theme loading is clean, which means that it's great :)

Code: Select all

#!/bin/bash

bash /usr/bin/startpolybar &
## Environtment
export PATH="${PATH}:$HOME/.scripts"
export PATH="${PATH}:$HOME/.config/bspwm"
export PATH="${PATH}:$HOME/.config/polybar"
## Coloring
getcolors () {
	FOREGROUND=$(xrdb -query | grep 'foreground:'| awk '{print $NF}')
	BACKGROUND=$(xrdb -query | grep 'background:'| awk '{print $NF}')
	BLACK=$(xrdb -query | grep 'color0:'| awk '{print $NF}')
	RED=$(xrdb -query | grep 'color1:'| awk '{print $NF}')
	GREEN=$(xrdb -query | grep 'color2:'| awk '{print $NF}')
	YELLOW=$(xrdb -query | grep 'color3:'| awk '{print $NF}')
	BLUE=$(xrdb -query | grep 'color4:'| awk '{print $NF}')
	MAGENTA=$(xrdb -query | grep 'color5:'| awk '{print $NF}')
	CYAN=$(xrdb -query | grep 'color6:'| awk '{print $NF}')
	WHITE=$(xrdb -query | grep 'color7:'| awk '{print $NF}')
}
xrdb ~/.Xresources
COLOR=$(shuf -n1 -e ~/.colors/*)
SHORTCOLOR=$(echo $COLOR | sed "s@.*/@@")
xrdb -merge $COLOR
paintee
# Only use the function above if the cache of paintee couldn't be found
if [ -e ~/.cache/paintee ]; then
	. ~/.cache/paintee
	else
	getcolors
fi
#sed -i "s|.*ac.*|ac = ${BLUE}|g" ~/.config/polybar/klv-bspwm/colors.ini
sed -i '0,/.*accent-color:.*/{s//accent-color: '${BLUE}';/}' ~/.config/rofi/config.rasi 


## Bspwm configurations
bspc monitor -d '1' '2' '3' '4' '5'
bspc config pointer_modifier mod4  
bspc config focus_follows_pointer true
bspc config border_width 1
bspc config window_gap 5
bspc config focused_border_color "$BLUE" 
bspc config normal_border_color "$BLACK"
bspc config active_border_color "$MAGENTA"
bspc config presel_feedback_color "$GREEN"
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config paddingless_monocle true
bspc config single_monocle false
bspc config focus_by_distance true
bspc config click_to_focus true
bspc config split_ratio 0.50
bspc config top_padding 10
bspc config right_padding 0
bspc config bottom_padding 10
bspc config left_padding 0

## Window rules
# remove all rules first
bspc rule -r *:*
#1 > terminal
bspc rule -a XTerm desktop='^1' follow=on focus=on
bspc rule -a UXTerm desktop='^1' follow=on focus=on
#2 > web
bspc rule -a Google-chrome desktop='^2' follow=on focus=on
bspc rule -a Firefox desktop='^2' follow=on focus=on
bspc rule -a Transmission-gtk desktop='^2' follow=on focus=on
#3 > file
bspc rule -a Thunar desktop='^3' follow=on focus=on
bspc rule -a Dolphin desktop='^3' follow=on focus=on
bspc rule -a Nautilus desktop='^3' follow=on focus=on
bspc rule -a Pcmanfm desktop='^3' follow=on focus=on
bspc rule -a File-roller desktop='^3' follow=on focus=on

#4 > office
#declare -a office=(wpp wps et gedit)
#for i in ${office[@]}; do
 #bspc rule -a $i desktop='^4' follow=on focus=on

#bspc rule -a Gedit desktop='^4' follow=on focus=on

#5 > media
#declare -a media=(Audacity mpv Gimp Gimp-2.8)
bspc rule -a Code desktop='^4' follow=on focus=on
bspc rule -a DesktopEditors desktop='^4' follow=on focus=on
bspc rule -a kdenlive desktop='^5' follow=on focus=on
bspc rule -a Audacious desktop='^5' follow=on focus=on
bspc rule -a vlc desktop='^5' follow=on focus=on
bspc rule -a mpv desktop='^5' follow=on focus=on
bspc rule -a Gimp-2.10 desktop='^5' follow=on focus=on
bspc rule -a Spotify desktop='^5' follow=on focus=on
#bspc rule -a Chromium desktop='^2' follow=on focus=on
#for i in ${media[@]}; do
 #  bspc rule -a $i desktop='^5' follow=on focus=on; done
#6 > settings



declare -a settings=(Lxappearance Lxtask Lxrandr Arandr \
System-config-printer.py Pavucontrol Exo-helper-1)
for i in ${settings[@]}; do
   bspc rule -a $i desktop='^6' state=floating follow=on focus=on; done
bspc rule -a GParted desktop='^6' follow=on focus=on

#special rules
bspc rule -a Audacious state=floating follow=on focus=on
bspc rule -a Firefox:Places state=floating follow=on focus=on
bspc rule -a Chromium state=floating follow=on focus=on
bspc rule -a Viewnior state=floating follow=on focus=on
#bspc rule -a Conky state=floating manage=off
#bspc rule -a stalonetray state=floating manage=off

## Autostart  
setxkbmap -option grp:alt_shift_toggle us,ru 
xsetroot -cursor_name left_ptr
#pcmanfm --desktop &
#xbacklight -set 10
xset fp+ ~/.fonts/misc
killall -9 sxhkd dunst
sxhkd &
launch.sh
xsettingsd &
nm-applet &
run-as-spot /usr/bin/octoxbps-notifier &
exec pulseaudio --start &
WALLPAPER=$(shuf -n1 -e /usr/share/backgrounds/*)
SHORTWALLPAPER=$(echo $WALLPAPER | sed "s@.*/@@" | sed "s/\..*$//")
ls /usr/share/backgrounds | sort -R | tail -$N | while read file; do # useless animation
	hsetroot -fill /usr/share/backgrounds/$file -tint '#3c6f86'; sleep 0.1; done
hsetroot -fill $WALLPAPER -tint '#9ccfe6'
dunst \
-lb "$BACKGROUND" -lf "$FOREGROUND" -lfr "$GREEN" \
-nb "$BACKGROUND" -nf "$FOREGROUND" -nfr "$BLUE" \
-cb "$BACKGROUND" -cf "$FOREGROUND" -cfr "$RED" &
sleep 0.5
notify-send "Bspwm Loaded" "With $SHORTCOLOR color and $SHORTWALLPAPER wallpaper"
#/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#/usr/libexec/polkit-gnome-authentication-agent-1
#/usr/libexec/xfce-polkit

#enable touchpad tapping and natural scrolling
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1



Attachments
2023-09-05_750x422-thumb6.png
2023-09-05_750x422-thumb6.png (176.75 KiB) Viewed 6873 times
Last edited by Sofiya on Thu Sep 07, 2023 11:22 am, edited 5 times in total.

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: KLV-Bspwm test build

Post by geo_c »

Sofiya wrote: Tue Sep 05, 2023 5:09 pm

Yes, the assembly came from the Yandex repository, because all other repositories are assembled slowly and the assembly is assembled with errors. The most option is to assemble the assembly yourself using the script and your location.
during the build, options will be offered to choose from which one the build will go from, US repositories, etc.

So are you saying I should rebuild the rootfs from the build script? Meaning that xbps won't work until I do?

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: KLV-Bspwm test build

Post by Sofiya »

geo_c wrote: Wed Sep 06, 2023 12:24 am
Sofiya wrote: Tue Sep 05, 2023 5:09 pm

Yes, the assembly came from the Yandex repository, because all other repositories are assembled slowly and the assembly is assembled with errors. The most option is to assemble the assembly yourself using the script and your location.
during the build, options will be offered to choose from which one the build will go from, US repositories, etc.

So are you saying I should rebuild the rootfs from the build script? Meaning that xbps won't work until I do?

I can’t know if it will or not, I know that octoxbps works well for me . the only option is to check, build and package ( 07firstrib_rootfs ) in sfs

Code: Select all

mksquashfs 07firstrib_rootfs 07KL_klv_Bspwm.sfs  -b 1048576 -comp xz -Xdict-size 100% -noappend 

KL
PUPPY LINUX Simple fast free

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

Re: KLV-Bspwm test build

Post by rockedge »

@geo_c I've made a fresh rootfs SFS with the New York repo linked. I am also compiling a full Real Time kernel 6.1.46-rt1 as I type, build is 25 minutes in.........

I am packaging the fresh rootfs into an ISO with the usual components. You can of course just swap in the rootfs SFS into your existing setup after opening up the ISO file.

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

Re: KLV-Bspwm test build

Post by rockedge »

@geo_c Here is the ISO with the freshly built rootfs from the New York, USA repo's

https://rockedge.org/kernels/data/ISO/K ... CE-1.2.iso

Post Reply

Return to “KLV-Bspwm”