remove wayland scaling stuff
This commit is contained in:
@@ -105,23 +105,18 @@ nmcli connection add type VLAN con-name $NMCLI_DEVICE.2 dev $NMCLI_DEVICE id 2
|
|||||||
|
|
||||||
Flatpak installs are from Flathub unless otherwise noted.
|
Flatpak installs are from Flathub unless otherwise noted.
|
||||||
|
|
||||||
|
Add flathub with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
```
|
||||||
|
|
||||||
### VSCode
|
### VSCode
|
||||||
|
|
||||||
Write code.
|
Write code.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
flatpak install com.visualstudio.code
|
flatpak install com.visualstudio.code
|
||||||
|
|
||||||
# Fix wayland scaling issues
|
|
||||||
cp /var/lib/flatpak/exports/share/applications/com.visualstudio.code ~/.local/share/applications
|
|
||||||
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
|
|
||||||
sed \
|
|
||||||
-ri 's/(Exec=.* run )(.*)(com.visualstudio.code)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
|
|
||||||
~/.local/share/applications/com.visualstudio.code
|
|
||||||
|
|
||||||
# Validate desktop database and reload
|
|
||||||
desktop-file-validate ~/.local/share/applications/com.nextcloud.talk.desktop
|
|
||||||
update-desktop-database
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Add to settings.json so the host shell is spawned
|
Add to settings.json so the host shell is spawned
|
||||||
@@ -157,17 +152,6 @@ Password manager.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
flatpak install com.bitwarden.desktop
|
flatpak install com.bitwarden.desktop
|
||||||
|
|
||||||
# Fix wayland scaling issues
|
|
||||||
cp /var/lib/flatpak/exports/share/applications/com.bitwarden.desktop.desktop ~/.local/share/applications
|
|
||||||
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
|
|
||||||
sed \
|
|
||||||
-ri 's/(Exec=.* run )(.*)(com.bitwarden.desktop)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
|
|
||||||
~/.local/share/applications/com.bitwarden.desktop.desktop
|
|
||||||
|
|
||||||
# Validate desktop database and reload
|
|
||||||
desktop-file-validate ~/.local/share/applications/com.bitwarden.desktop.desktop
|
|
||||||
update-desktop-database
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### MPV
|
### MPV
|
||||||
@@ -184,17 +168,6 @@ Sync your files.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
flatpak install com.nextcloud.desktopclient.nextcloud
|
flatpak install com.nextcloud.desktopclient.nextcloud
|
||||||
|
|
||||||
# Fix wayland scaling issues
|
|
||||||
cp /var/lib/flatpak/exports/share/applications/com.visualstudio.code ~/.local/share/applications
|
|
||||||
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
|
|
||||||
sed \
|
|
||||||
-ri 's/(Exec=.* run )(.*)(com.visualstudio.code)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
|
|
||||||
~/.local/share/applications/com.visualstudio.code
|
|
||||||
|
|
||||||
# Validate desktop database and reload
|
|
||||||
desktop-file-validate ~/.local/share/applications/com.nextcloud.talk.desktop
|
|
||||||
update-desktop-database
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -231,18 +204,6 @@ Talk to your business partners?
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
flatpak install me.proton.Mail
|
flatpak install me.proton.Mail
|
||||||
|
|
||||||
# Fix wayland scaling issues
|
|
||||||
cp /var/lib/flatpak/exports/share/applications/me.proton.Mail.desktop ~/.local/share/applications
|
|
||||||
|
|
||||||
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
|
|
||||||
sed \
|
|
||||||
-ri 's/(Exec=.* run )(.*)(me.proton.Mail)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
|
|
||||||
~/.local/share/applications/me.proton.Mail.desktop
|
|
||||||
|
|
||||||
# Validate desktop database and reload
|
|
||||||
desktop-file-validate ~/.local/share/applications/me.proton.Mail.desktop
|
|
||||||
update-desktop-database
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -462,17 +423,6 @@ Chrom
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
flatpak install io.github.ungoogled_software.ungoogled_chromium
|
flatpak install io.github.ungoogled_software.ungoogled_chromium
|
||||||
|
|
||||||
# Fix wayland scaling issues
|
|
||||||
cp /var/lib/flatpak/exports/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop ~/.local/share/applications
|
|
||||||
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
|
|
||||||
sed \
|
|
||||||
-ri 's/(Exec=.* run )(.*)(io.github.ungoogled_software.ungoogled_chromium)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
|
|
||||||
~/.local/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop
|
|
||||||
|
|
||||||
# Validate and reload desktop database
|
|
||||||
desktop-file-validate ~/.local/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop
|
|
||||||
update-desktop-database
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Signal
|
### Signal
|
||||||
@@ -481,17 +431,6 @@ Chat when Nextcloud Talk is down
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
flatpak install org.signal.Signal
|
flatpak install org.signal.Signal
|
||||||
|
|
||||||
# Fix wayland scaling issues
|
|
||||||
cp /var/lib/flatpak/exports/share/applications/org.signal.Signal.desktop ~/.local/share/applications
|
|
||||||
# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field
|
|
||||||
sed \
|
|
||||||
-ri 's/(Exec=.* run )(.*)(org.signal.Signal)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \
|
|
||||||
~/.local/share/applications/org.signal.Signal.desktop
|
|
||||||
|
|
||||||
# Validate and reload desktop database
|
|
||||||
desktop-file-validate ~/.local/share/applications/org.signal.Signal.desktop
|
|
||||||
update-desktop-database
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user