欢迎光临散文网 会员登陆 & 注册

Hyprland flameshot 安装

2023-07-27 17:42 作者:st-_-st  | 我要投稿

GitHub 已经给出将在一段较长时间内可用的安装方法

https://github.com/flameshot-org/flameshot/issues/2978#issuecomment-1640667406

下面内容来自上面的这个链接:

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:

  1. 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.

  2. 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()


Hyprland flameshot 安装的评论 (共 条)

分享到微博请遵守国家法律