Marion, Illinois USA


#357 Persist audio settings across reboots 20 days ago

Comment by ~saba on ~mil/sxmo-tickets

in both sxmo_xinit.sh and sxmo_winit.sh there is the line:

alsactl --file /usr/share/sxmo/alsa/default_alsa_sound.conf restore

which restores the settings from that file(pinephone specific settings) and we also have, if you're using it, the default xinit_template which has the lines that noneofyourbusiness mentioned but also should have sxmo_audioout.sh Speaker

I think the biggest part of this issue is that we are restoring from some predefined default every time we start sway or dwm, but we are never saving our settings (alsactl --file /path/to/file store). So, the result is that you get the same thing every boot instead of where you were before you rebooted. We need some automated way of saving the settings to a file. I use, for example, ~/.config/sxmo/asound.state but I haven't set anything up yet to automatically update that when I reboot.

#28 sxmo-utils: Hide X cursor 25 days ago

Comment by ~saba on ~mil/sxmo-tickets

unclutter-xfixes 1.6 is now available on alpine.

#351 Handling phone-specific sway configuration 26 days ago

Comment by ~saba on ~mil/sxmo-tickets

I think device-specific config files are the way to go unless there's some way to auto-detect everything. I was thinking about this with my pinetab, but turned out they are the same for buttons on the pinephone. I did need to add a section for the pinetab keyboard's touchpad (to configure tap-to-click and natural scrolling).

The default_alsa_sound.conf is for Pinephone's soundcard and I had to replace it on my pinetab. I think this could be automated, because I was able to copy the config from /var/lib/alsa/asound.state which had the right sound-card name and inputs/outputs.

It might also be possible to use

swaymsg -t get_inputs

to get the input device id unless there's another simpler way to do it with libinput.

#28 sxmo-utils: Hide X cursor 29 days ago

Comment by ~saba on ~mil/sxmo-tickets

Yes we only need that unclutter release. Could you ask them to do ?

Ok, version 1.6 was released on github. We just need to get an updated build in Alpine

#28 sxmo-utils: Hide X cursor a month ago

Comment by ~saba on ~mil/sxmo-tickets

as discussed on IRC, this could be fixed in a couple of ways.

1: we could just add the -nocursor option in /etc/X11/xinit/xserverrc

2: with unclutter-xfixes. We need newer than the current release of this so we need to see if they can make a new release or as stacy suggested a 9999 version. I've tested on both pinephone and pinetab with:

unclutter --hide-on-touch --start-hidden &

in my sxmo_xinit.sh. On pinetab the pointer appears when I use the trackpad (and presumably with a mouse too) and disappears if I touch the screen. I don't have a dock for my pinephone, but I assume it would work the same. If we go with this, then we need a newer release and to make unclutter a dependency. I don't know how any of this works in wayland, I can look into that though.

#336 New keyboard layout prevents common combinations a month ago

Comment by ~saba on ~mil/sxmo-tickets

I think in the default layout, the Ctrl key, with the ^ symbol, is where Caps Lock key usually is just left of the letter A

#163 switch from xdm to tinydm a month ago

Comment by ~saba on ~mil/sxmo-tickets

I think we should just drop the "logout" entry cause it make no sense anymore.

I'm not sure how things work with tinydm, but I already have autologin/not using xdm. I use the "logout" entry to restart dwm. Could we have a "restart dwm" entry? Hopefully the only option isn't to reboot or kill the process from command line.

#235 Rework the way we pickup/discard 5 months ago

Comment by ~saba on ~mil/sxmo-tickets

dinkocar, looks interesting. Can you show your changes to sxmo_gesturehandler.sh for callpickup and callhangup?

#98 youtube scripts dont yield any results 10 months ago

Comment by ~saba on ~mil/sxmo-tickets

i didn't use the bin/youtube-dl. i ran make and it puts a youtube-dl in top directory

#98 youtube scripts dont yield any results 10 months ago

Comment by ~saba on ~mil/sxmo-tickets

sorry, don't know what happened with triple posting. can we delete comments?