在 i3wm 上将 KDE Con​​nect 与手机配对

raj*_*dev 2 kde i3

我正在尝试使用笔记本电脑将我的 Android 手机连接到 KDE Con​​nect 应用程序。

我的系统是一个 Minimal Debian Sid 系统,只有 i3wm,没有安装其他备用桌面环境或窗口管理器。

当我从手机向计算机发起配对请求时,我会收到一条通知,如下面的屏幕截图所示。

在此处输入图片说明

当我点击通知时,没有任何反应。在 Gnome 或 KDE 等桌面环境中,通知还有一个接受或拒绝按钮,而 i3wm 的默认通知处理程序则不是这种情况。

那么我现在如何让我的笔记本电脑与 KDE Con​​nect 配对?任何可以在这里完成工作的备用通知处理程序?

几个月前,当我尝试将蓝牙扬声器与我的笔记本电脑配对时,我遇到了类似的情况,这需要我输入配对密钥代码,这是不可能通过这样的通知设置实现的。

我的设置细节:Debian GNU/Linux Unstable(sid) WM: i3

按照 cocoa1231 的说明操作后,我尝试从 /usr/lib/

rajudev@sanganak:/usr/lib/x86_64-linux-gnu/libexec$ ./kdeconnectd 
kdeconnect.core: KdeConnect daemon starting
kdeconnect.core: onStart
kdeconnect.core: KdeConnect daemon started
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a new device "xiaomi"
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "xiaomi"
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "xiaomi"
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "xiaomi"
kdeconnect.core: creating pairing handler for "22d1625020250fbf"
kdeconnect.core: Pair request
kdeconnect.core: Sending onNetworkChange to  1  LinkProviders
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: Starting client ssl (but I'm the server TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "xiaomi"
Device pairing error "Timed out"
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "xiaomi"
kdeconnect.core: Socket successfully established an SSL connection
kdeconnect.core: It is a known device "xiaomi"
Run Code Online (Sandbox Code Playgroud)

小智 5

您将要运行/usr/lib/kdeconnectd并将其添加到 i3config 中

exec --no-startup-id /usr/lib/kdeconnectd
Run Code Online (Sandbox Code Playgroud)

以便它每次都有效。并通过指示器启动设置。奇怪的是它不会直接启动。必须启动指标并从那里启动设置(在配对过程中)

对于配对过程,dunst 不支持交互式通知,因此打开 KDE Con​​nect Indicator 并从指示器启动设置,当您尝试配对时,您可以从配置对话框中接受。这里