Fixes KDEConnect firewall setting
This commit is contained in:
parent
0ac98e3911
commit
f8f605ae70
2 changed files with 4 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ device {
|
||||||
}
|
}
|
||||||
|
|
||||||
device {
|
device {
|
||||||
name = evremap-virtual-input-for-/dev/input/event30
|
name = evremap-virtual-input-for-/dev/input/event17
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
kb_variant = altgr-intl
|
kb_variant = altgr-intl
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,9 @@
|
||||||
addApplications kdeconnect
|
addApplications kdeconnect
|
||||||
|
|
||||||
setupKDEConnect() {
|
setupKDEConnect() {
|
||||||
|
if [ firewall-cmd --state ]; then
|
||||||
sudo firewall-cmd --permanent --add-port=1714-1764/{tcp,udp}
|
sudo firewall-cmd --permanent --add-port=1714-1764/{tcp,udp}
|
||||||
|
fi
|
||||||
|
|
||||||
echo "-- For some reason, its recommended to reboot your device to make kdeconnect work..."
|
echo "-- For some reason, its recommended to reboot your device to make kdeconnect work..."
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue