Page 1 of 1
kdeconnect commands for MX Linux
Posted: Wed Jul 08, 2020 12:19 pm
by sirinler
As you know, you can remotely send commands to your computer from your android phone using kdeconnect.
I tailored the commands I was using on my Kubuntu for my new MX Linux:
Hibernate: xfce4-session-logout --hibernate
Reboot: xfce4-session-logout --reboot --fast
Shutdown: xfce4-session-logout --halt --fast
Suspend: xfce4-session-logout --suspend
Takes a screenshot and sends to your phone: file=/tmp/$(hostname)_$(date "+%Y%m%d_%H%M%S").png; xfce4-screenshooter -f -s "${file}" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share ${file}

Re: kdeconnect commands for MX Linux
Posted: Wed Jul 08, 2020 1:08 pm
by Adrian
Nice, how well does it work in Xfce? Since I started to work on MX-KDE version I found this kdeconnect invaluable.
Re: kdeconnect commands for MX Linux
Posted: Thu Jul 09, 2020 4:04 am
by sirinler
Adrian wrote: ↑Wed Jul 08, 2020 1:08 pm
Nice, how well does it work in Xfce? Since I started to work on MX-KDE version I found this kdeconnect invaluable.
Right? I like getting notifications and call alerts without having to check my phone.
The commands work as expected but I don't have the kde phone icon in my system tray. It works but it's just not there.
One question, I switched to MX Linux distro because on my system Kubuntu was a bit laggy. Is there any big difference on MX-KDE performance-wise?
Code: Select all
CPU:
Topology: Dual Core
model: Intel Celeron 2957U
bits: 64 type: MCP arch: Haswell family: 6 model-id: 45 (69) stepping: 1
microcode: 26 L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 5587
Speed: 1397 MHz min/max: 800/1400 MHz Core speeds (MHz): 1: 1397
2: 1397
Vulnerabilities: Type: itlb_multihit
status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache
flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass mitigation: Speculative Store Bypass
disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user
pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB:
conditional, IBRS_FW, STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics
vendor: Samsung Co driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:0a06
Display: x11 server: X.Org 1.20.4 driver: modesetting
unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel Haswell Mobile
v: 4.5 Mesa 18.3.6 compat-v: 3.0 direct render: Yes
4 gigabytes of RAM
Re: kdeconnect commands for MX Linux
Posted: Thu Jul 09, 2020 4:25 am
by Eadwine Rose
The spoiler box is the one with the </>, next to the "
Re: kdeconnect commands for MX Linux
Posted: Thu Jul 09, 2020 11:31 am
by sirinler
Eadwine Rose wrote: ↑Thu Jul 09, 2020 4:25 am
The spoiler box is the one with the </>, next to the "
Thanks! I edited the post.