modified: README.md

This commit is contained in:
2025-11-01 22:38:19 +00:00
parent 3a69f9095e
commit 08f1806207

View File

@@ -87,11 +87,11 @@ Categories=Game;smart-tv;
**Install:** **Install:**
``` bash ``` bash
sudo apt install software-properties-common apt-transport-https ca-certificates curl -y apt install software-properties-common apt-transport-https ca-certificates curl -y
curl -fSsL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-edge.gpg > /dev/null curl -fSsL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-edge.gpg > /dev/null
echo 'deb [signed-by=/usr/share/keyrings/microsoft-edge.gpg] https://packages.microsoft.com/repos/edge stable main' | sudo tee /etc/apt/sources.list.d/microsoft-edge.list echo 'deb [signed-by=/usr/share/keyrings/microsoft-edge.gpg] https://packages.microsoft.com/repos/edge stable main' | sudo tee /etc/apt/sources.list.d/microsoft-edge.list
sudo apt install microsoft-edge-stable apt update -y
sudo apt install wtype #requires to force youtube rebresh on load apt install microsoft-edge-stable -y
``` ```
**Run:** **Run:**
@@ -108,33 +108,28 @@ Plugin only works correcly if other instance of edge is running for example for
### gamepass ### gamepass
- **~/scripts/start-gamepass.sh** Added as an edge app to <https://www.xbox.com/play>
``` bash
#!/bin/bash
edge start msedge --profile-directory="GamePass" --app=https://www.xbox.com/play --start-fullscreen
```
- **/.local/share/applications/gamepass.desktop**
``` bash
[Desktop Entry]
Type=Application
Name=YouTube
Exec=/home/mf/scripts/start-gamepass.sh &
Icon=/home/mf/.local/share/waydroid/data/icons/com.android.vending.png
```
## System ## System
**OS:** proxmox pve (Debian Based) **OS:** proxmox pve (Debian Based)
Create user
ueradd -Ag tv
### Kde Plasma ### Kde Plasma
**Install:** **Install:**
``` bash ``` bash
sudo sudo apt install kde-plasma apt install kde-plasma-desktop -y
```
Disable Sleep states
``` bash
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
``` ```
### flatpak ### flatpak
@@ -142,7 +137,7 @@ sudo sudo apt install kde-plasma
**Install:** **Install:**
``` bash ``` bash
sudo apt install flatpak sudo apt install flatpak -y
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
``` ```
@@ -150,6 +145,10 @@ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub
**Install:** **Install:**
``` bash
sudo apt install pipx pip -y
```
``` bash ``` bash
sudo apt install pipx pip sudo apt install pipx pip
sudo mkdir -p /opt/virtual-smart-tv/pipx sudo mkdir -p /opt/virtual-smart-tv/pipx
@@ -190,9 +189,9 @@ On kde settings-> keyboard -> shortcuts KWin -> Present Windows (Current Desktop
#### evtest #### evtest
``` bash ``` bash
sudo apt instal evtest apt install evtest -y
#check remote control events #check remote control events
sudo evtest evtest
``` ```
#### evdevremapkeys #### evdevremapkeys
@@ -253,13 +252,11 @@ sudo systemctl status g20s-bluetooth-keys-remap
Thanks for: <https://github.com/stanford-scs/hid-g20s>, for the real solution. Thanks for: <https://github.com/stanford-scs/hid-g20s>, for the real solution.
``` bash ``` bash
sudo apt install dkms apt install dkms
sudo apt install evtest apt install proxmox-headers-$(uname -r)
#sudo apt install dkms linux-headers-$(uname -r)
sudo apt install proxmox-headers-$(uname -r)
git clone https://github.com/stanford-scs/hid-g20s.git git clone https://github.com/stanford-scs/hid-g20s.git
cd hid-g20s cd hid-g20s
sudo ./install.sh ./install.sh
# should show the device and basic remote functions should be working # should show the device and basic remote functions should be working
cat /proc/bus/input/devices | grep G20S cat /proc/bus/input/devices | grep G20S
@@ -269,7 +266,6 @@ sudo lsmod | grep g20s
# hid 253952 5 usbhid,hid_apple,hid_g20s,hid_generic,uhid # hid 253952 5 usbhid,hid_apple,hid_g20s,hid_generic,uhid
sudo dmesg | grep g20s sudo dmesg | grep g20s
sudo lsmod | grep g20s sudo lsmod | grep g20s
sudo evtest | grep G20S
sudo dkms status sudo dkms status
# hid-g20s/1.0, 6.14.11-4-pve, x86_64: installed (Original modules exist) # hid-g20s/1.0, 6.14.11-4-pve, x86_64: installed (Original modules exist)
@@ -296,7 +292,7 @@ SUBSYSTEM=="hid", ATTRS{modalias}=="hid:b0005g0001v00001D5Ap0000C081", \
SUBSYSTEM=="bluetooth", ATTR{product}=="0xc081", ATTR{vendor}=="0x1d5a", \ SUBSYSTEM=="bluetooth", ATTR{product}=="0xc081", ATTR{vendor}=="0x1d5a", \
RUN+="/sbin/modprobe hid-g20s" RUN+="/sbin/modprobe hid-g20s"
#ACTION=="add", SUBSYSTEM=="hid", ATTRS{name}=="G20S", RUN+="/sbin/modprobe -r hid_g20s; /sbin/modprobe hid_g20s" ACTION=="add", SUBSYSTEM=="hid", ATTRS{name}=="G20S", RUN+="/sbin/modprobe -r hid_g20s; /sbin/modprobe hid_g20s"
``` ```
**Problem - requires restart bluetooth -** after first connection for remote control to work (for example after reboot). **Problem - requires restart bluetooth -** after first connection for remote control to work (for example after reboot).