Feng Lengshun
Feng Lengshun
Explore posts from servers
UBUniversal Blue
Created by Feng Lengshun on 6/15/2024 in #🛟bazzite-help
Issue with kpeoplevcard for contacts integration with KDE Connect
https://github.com/ublue-os/bazzite/issues/1194 https://universal-blue.discourse.group/t/how-to-install-additional-kde-apps/1948/7 Just reposting this issue here, in case it was missed. I was just browsing the forum and saw that no one seems to have taken a look at it. I don't have a system installed with Bazzite or Linux right now (beyond my server) so I couldn't take a look at the issue.
4 replies
HGLHeroic Games Launcher
Created by rare-sapphire on 11/29/2023 in #🆘-support
Can't run game (Eustia) with "Play" but can run it with "Run .exe" from the game Setting
I was trying to run Aiyoku no Eustia on Heroic. I'm not sure why, but I can't run the game if I hit "Play", but I can run it if I choose "Run .exe" in the Settings page. I have both done flatpak config --user --set languages 'en;ja' and flatpak upgrade -y ; flatpak install --reinstall com.heroicgameslauncher.hgl. I think it's just something about the locale isn't getting passed to the game/Wine when using "Play" but is passed when using "Run .exe". Not sure where the issue is, so I also included the Heroic log.
23 replies
UBUniversal Blue
Created by Feng Lengshun on 11/27/2023 in #🛟bazzite-help
Waydroid won't start (issue with escape sequence)
This is the output:
waydroid show-full-ui
/usr/lib/waydroid/tools/helpers/net.py:34: SyntaxWarning: invalid escape sequence '\d'
return re.search("(\d{1,3}\.){3}\d{1,3}\s", f.read()).group().strip()
[22:58:11] Starting waydroid session
[22:58:11] WayDroid container is not listening
waydroid show-full-ui
/usr/lib/waydroid/tools/helpers/net.py:34: SyntaxWarning: invalid escape sequence '\d'
return re.search("(\d{1,3}\.){3}\d{1,3}\s", f.read()).group().strip()
[22:58:11] Starting waydroid session
[22:58:11] WayDroid container is not listening
I'm not sure what's causing that, tried on zsh (my usual shell), fish, and bash. The net.py has the following output:
cat /usr/lib/waydroid/tools/helpers/net.py
# Copyright 2023 Maximilian Wende
# SPDX-License-Identifier: GPL-3.0-or-later
from shutil import which
import tools.helpers.run
import logging
import re

def adb_connect(args):
"""
Creates an android debugging connection from the host system to the
Waydroid device, if ADB is found on the host system and the device
has booted.
"""
# Check if adb exists on the system.
if not which("adb"):
return

# Start and 'warm up' the adb server
tools.helpers.run.user(args, ["adb", "start-server"])

ip = get_device_ip_address()
if not ip:
return

tools.helpers.run.user(args, ["adb", "connect", ip])
logging.info("Established ADB connection to Waydroid device at {}.".format(ip))

def get_device_ip_address():
# The IP address is queried from the DHCP lease file.
lease_file = "/var/lib/misc/dnsmasq.waydroid0.leases"

try:
with open(lease_file) as f:
return re.search("(\d{1,3}\.){3}\d{1,3}\s", f.read()).group().strip()
except:
pass%
cat /usr/lib/waydroid/tools/helpers/net.py
# Copyright 2023 Maximilian Wende
# SPDX-License-Identifier: GPL-3.0-or-later
from shutil import which
import tools.helpers.run
import logging
import re

def adb_connect(args):
"""
Creates an android debugging connection from the host system to the
Waydroid device, if ADB is found on the host system and the device
has booted.
"""
# Check if adb exists on the system.
if not which("adb"):
return

# Start and 'warm up' the adb server
tools.helpers.run.user(args, ["adb", "start-server"])

ip = get_device_ip_address()
if not ip:
return

tools.helpers.run.user(args, ["adb", "connect", ip])
logging.info("Established ADB connection to Waydroid device at {}.".format(ip))

def get_device_ip_address():
# The IP address is queried from the DHCP lease file.
lease_file = "/var/lib/misc/dnsmasq.waydroid0.leases"

try:
with open(lease_file) as f:
return re.search("(\d{1,3}\.){3}\d{1,3}\s", f.read()).group().strip()
except:
pass%
9 replies
UBUniversal Blue
Created by Feng Lengshun on 9/27/2023 in #🛟bazzite-help
rpm-ostree upgrade sometimes pulls from bazzite repo instead of my selected repo
No description
12 replies
UBUniversal Blue
Created by Feng Lengshun on 8/27/2023 in #🛟bazzite-help
Weird ";5D;5C;5D;5C" output with Ctrl + Left/Right on Konsole (Conflict with old Kinoite configs?)
No description
8 replies