Difference between revisions of "KDE Connect/Tutorials/Useful commands/da"

(Importing a new version from external source)
(Created page with "====Andre DE/WM (med amixer)====")
Line 18: Line 18:
  
 
=== Volumenkontrol ===
 
=== Volumenkontrol ===
 +
  
 
====Plasma====
 
====Plasma====
Line 31: Line 32:
 
* Forøg lydstyrke: {{Output|1=<nowiki>pactl set-sink-volume $(pactl list short sinks | grep RUNNING | cut -f1) +10%</nowiki>}}
 
* Forøg lydstyrke: {{Output|1=<nowiki>pactl set-sink-volume $(pactl list short sinks | grep RUNNING | cut -f1) +10%</nowiki>}}
 
* Mute/Unmute: {{Output|1=<nowiki>pactl set-sink-mute $(pactl list short sinks | grep RUNNING | cut -f1) toggle</nowiki>}}
 
* Mute/Unmute: {{Output|1=<nowiki>pactl set-sink-mute $(pactl list short sinks | grep RUNNING | cut -f1) toggle</nowiki>}}
 +
 +
====Andre DE/WM (med amixer)====
 +
 +
* Volume down: {{Output|1=<nowiki>amixer -q sset Master 10%-</nowiki>}}
 +
* Volume up: {{Output|1=<nowiki>amixer -q sset Master 10%+</nowiki>}}
 +
Other commands can be built using [https://linux.die.net/man/1/amixer amixer]
  
 
=== Skift udseende og fremtoning ===
 
=== Skift udseende og fremtoning ===

Revision as of 13:00, 6 April 2020

Other languages:
English • ‎català • ‎dansk • ‎français • ‎português do Brasil • ‎українська

Liste med eksempler på kommandoer til KDE Connect

I KDE Connect kan du tilføje dine egne kommandoer og udføre den fra din telefon. Her er nogle nyttige kommandoer. Du er velkommen til at tilføje dine egne.

Kontrollér din computers tilstand

  • Luk ned:
    systemctl poweroff
  • Reboot:
    systemctl reboot
  • Suspendér:
    systemctl suspend
  • Dvale:
    systemctl hibernate
  • Låseskærm:
    loginctl lock-session
  • Lås op:
    loginctl unlock-session
  • Sluk skærm:
    xset dpms force off
  • Tænd skærm:
    xset dpms force on
  • Lås tastatur og mus (ikke skærmen):
    pyxtrlock
  • Lås tastatur og mus op:
    pkill pyxtrlock

Volumenkontrol

Plasma

  • Formindsk lydstyrke:
    qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "decrease_volume"
  • Forøg lydstyrke:
    qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "increase_volume"
  • Mute:
    qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mute"
  • Mute mikrofoner:
    qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mic_mute"

Andre DE/WM (med pactl)

  • Formindsk lydstyrke:
    pactl set-sink-volume $(pactl list short sinks | grep RUNNING | cut -f1) -10%
  • Forøg lydstyrke:
    pactl set-sink-volume $(pactl list short sinks | grep RUNNING | cut -f1) +10%
  • Mute/Unmute:
    pactl set-sink-mute $(pactl list short sinks | grep RUNNING | cut -f1) toggle

Andre DE/WM (med amixer)

  • Volume down:
    amixer -q sset Master 10%-
  • Volume up:
    amixer -q sset Master 10%+

Other commands can be built using amixer

Skift udseende og fremtoning

  • Breeze (Light) tema:
    lookandfeeltool -a 'org.kde.breeze.desktop'
  • Breeze (Dark) tema:
    lookandfeeltool -a 'org.kde.breezedark.desktop'

Indstilling af lysstyrke

  • Forøg lysstyrke:
    qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness $(expr $(qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness) + 375)
  • Formindsk lysstyrke:
    qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness $(expr $(qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness) - 375)

Skærmbilleder

  • Gem lokalt:
    spectacle -b
  • Send til telefon:
    file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; spectacle -bo "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share ${file}

This page was last edited on 6 April 2020, at 13:00. Content is available under Creative Commons License SA 4.0 unless otherwise noted.