~saba

Marion, Illinois USA

https://chven.us


#475 All audio borken after latest update 4 months ago

Comment by ~saba on ~mil/sxmo-tickets

where is this patch now? Is it in sxmo-utils? I'm running latest git and same issue with audio

#490 Pinephone SXM - Attachments and Links 4 months ago

Comment by ~saba on ~mil/sxmo-tickets

I had to add this to my ~/.config/mimeapps.list

[Default Applications]

image/bmp=imv.desktop
image/gif=imv.desktop
image/jpeg=imv.desktop
image/jpg=imv.desktop
image/pjpeg=imv.desktop
image/png=imv.desktop
image/tiff=imv.desktop
image/webp=imv.desktop
image/x-bmp=imv.desktop
image/x-pcx=imv.desktop
image/x-png=imv.desktop
image/x-portable-anymap=imv.desktop
image/x-portable-bitmap=imv.desktop
image/x-portable-graymap=imv.desktop
image/x-portable-pixmap=imv.desktop
image/x-tga=imv.desktop
image/x-xbitmap=imv.desktop

and make sure you have imv installed. If you prefer, you could also use sxiv or feh instead, just change the mimeapps.list to use what you want. I think it was using sxiv by default if it's installed and you don't make any edits to the mimeapps.list, but if you don't have it installed then you will get the behavior that you have experienced.

#438 $KEYBOARD setting not working 7 months ago

Comment by ~saba on ~mil/sxmo-tickets

try

export KEYBOARD_ARGS="-H 350 -l full,special"

although not sure where it's getting set to svkbd-mobintl if you're starting sway. You don't have another line in your ~/.profile ?

#28 sxmo-utils: Hide X cursor 10 months ago

Comment by ~saba on ~mil/sxmo-tickets

~flimflam you need unclutter-xfixes 1.6. I'm not sure why you're only getting 1.5 with an upgrade

#357 Persist audio settings across reboots 11 months 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 11 months ago

Comment by ~saba on ~mil/sxmo-tickets

unclutter-xfixes 1.6 is now available on alpine.

#351 Handling phone-specific sway configuration 11 months 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 11 months 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 11 months 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 1 year, 12 days 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