Marion, Illinois USA
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.
unclutter-xfixes 1.6 is now available on alpine.
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.
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
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.
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
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.
dinkocar, looks interesting. Can you show your changes to sxmo_gesturehandler.sh for callpickup and callhangup?
i didn't use the bin/youtube-dl. i ran make and it puts a youtube-dl in top directory