Fix Steam pressure-vessel missing xwayland DISPLAY
This cause most game to just not start. Cause the flatpak-portal doesn't
have DISPLAY.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Unify sxmo state switch and ensure consistency
If two power handler trigger at the same time, the current behavior is
that we switch two time to the same target state.
This move the flock to a central script that make sure only one switch
is ocurring at the same time. Concurrent switch will wait for the
previous one to finish before guessing the new target state.
This also refactorise the sxmo_proximitylock.sh to make it simple,
stripping the two related proximitylock and proximityunlock states.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Drop fast wifi reconnection behavior
As this does not works for a long time, and this is mostly Pinephone
specific, we drop this from Sxmo.
If someone want to investigate futher to keep something similar, I would
recomment to find a more global solution than this Sxmo specific trick.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Peter John Hartman <peterjohnhartman@gmail.com>
Differenciate TERMCMD and SXMO_TERMINAL
Without this, sxmo_open.sh and so sxmo_files.sh fails to setup the
correct window titles for terminal desktop programs
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
Apps: add portfolio
A python/gtk file manager for mobile devices, with minimalist aims
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
sxmo_migrate.sh: fix "3 Use your [u]ser version as-is" empty configversion
Integrate epy|epr epub readers
- inhibit idle to leave the screen on while reading
- map vol keys to page scroll when locked
- quit using "q" to store progress
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Rework terminal handlers to deal correctly with terminals with touch support
This is principally a refactorisation of those handlers, primarily to
strip some cases where foot handle correctly scrolling by itself now.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
sxiv -> nsxiv
Apparently in edge sxiv has been retired, but there is still nsixv.
Fortunately, our code checks for *sxiv*, so changing this was pretty
simple.
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
sxmo_hook_tailtextlog.sh remove leading line "no matching node"