惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
小众软件
小众软件
S
SegmentFault 最新的问题
GbyAI
GbyAI
量子位
爱范儿
爱范儿
L
LangChain Blog
Vercel News
Vercel News
A
About on SuperTechFans
腾讯CDC
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
V
Visual Studio Blog
美团技术团队
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
nwg-screenshot-applet not working with hyprland.lua confi...
a_manthey · 2026-06-24 · via Arch Linux Forums

#1 Today 14:00:32

a_manthey
Member
Registered: 2017-08-21
Posts: 43

nwg-screenshot-applet not working with hyprland.lua config

the applet is started by this line in autostart.lua:

hl.on("hyprland.start", function () 
    ...
    hl.exec_cmd("nwg-screenshot-applet")
    ...
end)
 

,
icon appears in tray, menu is shown on left click but no screenshots are saved.

After starting in terminal i get this:

[andreas@nb-andreas-14 ~]$ nwg-screenshot-applet
error: [string "return hl.dispatch(exec screenshot focused)"]:1: ')' expected near 'screenshot'

 → Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.
error: [string "return hl.dispatch(exec screenshot fullscreen..."]:1: ')' expected near 'screenshot'

 → Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.
error: [string "return hl.dispatch(exec screenshot swappy)"]:1: ')' expected near 'screenshot'

 → Note: dispatch in lua is a shorthand for hl.dispatch(...), your syntax might need to be updated.