Hyprland flameshot 安裝
GitHub 已經(jīng)給出將在一段較長時(shí)間內(nèi)可用的安裝方法
https://github.com/flameshot-org/flameshot/issues/2978#issuecomment-1640667406
下面內(nèi)容來自上面的這個(gè)鏈接:
The most recent trial after a long time with Hyprland on Linux 6.4.3:
Using latest versions on every dependency:
git clone?https://github.com/flameshot-org/flameshot.git
cd flameshot
git fetch origin pull/3059/head:pr_3059
git checkout pr_3059
mkdir build
rm -rf ./external/singleapplication
cd build && cmake .. -DUSE_WAYLAND_CLIPBOARD=true -DUSE_WAYLAND_GRIM=true -DUSE_EXTERNAL_SINGLEAPPLICATION=1 -DENABLE_CACHE=0
make -j$(nproc)
The?mentioned PR?fixes the lagging issue.
env?QT_SCREEN_SCALE_FACTORS="0.5"?fixes the scaling issue if you use 2x scaling.
With "flameshot gui", I see the screenshot window (my fullscreen), I select a location then problems start:
For example when I move my mouse, artifacts and screen tearing starts to appear. This doesn't carry over to the saved screenshot. It only occurs "during" selection and processing period and it doesn't look good.
Can't copy the screenshot, or use some functions such as "pinning". It basically kills the flameshot without any errors.
The output I see on the terminal is below:
flameshot: warning: grim's screenshot component is implemented based on wlroots, it may not be used in GNOME or similar desktop environments
QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()