kdeconnect commands for MX Linux

Message
Author
sirinler
Posts: 5
Joined: Wed Jul 08, 2020 12:05 pm

kdeconnect commands for MX Linux

#1 Post 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}

Image

User avatar
Adrian
Developer
Posts: 8862
Joined: Wed Jul 12, 2006 1:42 am

Re: kdeconnect commands for MX Linux

#2 Post by Adrian »

Nice, how well does it work in Xfce? Since I started to work on MX-KDE version I found this kdeconnect invaluable.

sirinler
Posts: 5
Joined: Wed Jul 08, 2020 12:05 pm

Re: kdeconnect commands for MX Linux

#3 Post 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
Last edited by sirinler on Thu Jul 09, 2020 11:31 am, edited 1 time in total.

User avatar
Eadwine Rose
Administrator
Posts: 14428
Joined: Wed Jul 12, 2006 2:10 am

Re: kdeconnect commands for MX Linux

#4 Post by Eadwine Rose »

The spoiler box is the one with the </>, next to the "
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

sirinler
Posts: 5
Joined: Wed Jul 08, 2020 12:05 pm

Re: kdeconnect commands for MX Linux

#5 Post 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.

Post Reply

Return to “General”