modified: README.md
This commit is contained in:
56
README.md
56
README.md
@@ -87,11 +87,11 @@ Categories=Game;smart-tv;
|
||||
**Install:**
|
||||
|
||||
``` 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
|
||||
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
|
||||
sudo apt install wtype #requires to force youtube rebresh on load
|
||||
apt update -y
|
||||
apt install microsoft-edge-stable -y
|
||||
```
|
||||
|
||||
**Run:**
|
||||
@@ -108,33 +108,28 @@ Plugin only works correcly if other instance of edge is running for example for
|
||||
|
||||
### gamepass
|
||||
|
||||
- **~/scripts/start-gamepass.sh**
|
||||
|
||||
``` 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
|
||||
```
|
||||
Added as an edge app to <https://www.xbox.com/play>
|
||||
|
||||
## System
|
||||
|
||||
**OS:** proxmox pve (Debian Based)
|
||||
|
||||
Create user
|
||||
|
||||
ueradd -Ag tv
|
||||
|
||||
### Kde Plasma
|
||||
|
||||
**Install:**
|
||||
|
||||
``` 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
|
||||
@@ -142,7 +137,7 @@ sudo sudo apt install kde-plasma
|
||||
**Install:**
|
||||
|
||||
``` bash
|
||||
sudo apt install flatpak
|
||||
sudo apt install flatpak -y
|
||||
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:**
|
||||
|
||||
``` bash
|
||||
sudo apt install pipx pip -y
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo apt install pipx pip
|
||||
sudo mkdir -p /opt/virtual-smart-tv/pipx
|
||||
@@ -190,9 +189,9 @@ On kde settings-> keyboard -> shortcuts KWin -> Present Windows (Current Desktop
|
||||
#### evtest
|
||||
|
||||
``` bash
|
||||
sudo apt instal evtest
|
||||
apt install evtest -y
|
||||
#check remote control events
|
||||
sudo evtest
|
||||
evtest
|
||||
```
|
||||
|
||||
#### 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.
|
||||
|
||||
``` bash
|
||||
sudo apt install dkms
|
||||
sudo apt install evtest
|
||||
#sudo apt install dkms linux-headers-$(uname -r)
|
||||
sudo apt install proxmox-headers-$(uname -r)
|
||||
apt install dkms
|
||||
apt install proxmox-headers-$(uname -r)
|
||||
git clone https://github.com/stanford-scs/hid-g20s.git
|
||||
cd hid-g20s
|
||||
sudo ./install.sh
|
||||
./install.sh
|
||||
# should show the device and basic remote functions should be working
|
||||
|
||||
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
|
||||
sudo dmesg | grep g20s
|
||||
sudo lsmod | grep g20s
|
||||
sudo evtest | grep G20S
|
||||
sudo dkms status
|
||||
# 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", \
|
||||
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).
|
||||
|
||||
Reference in New Issue
Block a user