Page 3 of 3

Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 2:57 pm
by rockedge

@geo_c Looks like the audio starts as a service BUT is running as user pulse !!!

So try to change ownership of pavucontrol to user pulse OR better yet like in KLV-Airedale add root to the audio group (which I think we already do, but....)


Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 2:59 pm
by geo_c
Sofiya wrote: Mon May 08, 2023 2:34 pm

quite right ;)
read interesting https://wiki.archlinux.org/title/GTK_(Русский)

~/.config/gtk-4.0/settings.ini

Yes that's an informative wiki, thanks! It looks like spectrwm is not gtk4. Which makes life simpler I think. Unless some applications really need it. So far everything I'm running looks fine.

But on second thought I'm trying to remember if I created the folder ~/.config/gtk-3.0. I think I did. So maybe I should try creating ~/.config/gtk-4.0


Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 3:01 pm
by geo_c
rockedge wrote: Mon May 08, 2023 2:57 pm

@geo_c Looks like the audio starts as a service BUT is running as user pulse !!!

So try to change ownership of pavucontrol to user pulse OR better yet like in KLV-Airedale add root to the audio group (which I think we already do, but....)

I'm not sure how do either of those things. Would I find the binary 'pavucontrol' and change permissions of it? Or is it in the desktop file, or somewhere else. Audio group I am totally ignorant of.


Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 3:07 pm
by geo_c

Well we're making some good headway here, and I'm enjoying myself, but.....

I've got to go do the things that make money for the household. So I'll be back tonight.


Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 4:30 pm
by rockedge

@geo_c yes we are well on the way. We will smooth out pulseaudio and pauvcontrol along with CUPS. That should go into alpha2 and all of the tuning to this point on alpha1 should get merged into alpha2.

We should add an easy to access list of spectrwm commands and key bindings...I know I'm looking at the manual and bindings a lot and it would be nice for a file that will display with a key stroke combo


Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 5:14 pm
by rockedge

@geo_c Solved the pulseaudio volume control by adding the three users to the pulse-access group. I will set this in the PLUG file as well to include this step in the system root_fs build.

So install pavucontrol then in a terminal:

Code: Select all

usermod -a -G pulse-access root
usermod -a -G pulse-access spot
usermod -a -G pulse-access weedog

To start the CUPS server:
in a terminal:

Code: Select all

ln -s /etc/sv/cupsd  /etc/runit/runsvdir/default/cupsd
sv up cups
sv enable cups

Then open localhost:631

If it hasn't started try in a terminal, but it should start automatically on the next system boot.

Code: Select all

cupsd

Re: Building a minimal KLV with a spectrwm + Rox Desktop

Posted: Mon May 08, 2023 7:46 pm
by rockedge

@geo_c , @wiak alpha2 is ready here : viewtopic.php?p=88105#p88105

Should have both pavucontrol and CUPS working and supports M - s and M -S - s for screenshot all and screenshot window stored in /root/my-documents/screenshots