在Linux系统中我们可以使用Flameshot来截取屏幕图片和编辑,目前最新版本是Flameshot 0.6.0,提供rpm、deb、AppImage、zip、tar.gz安装包下载。如果你需要的是一个能够用于标注、模糊、上传到imgur的新式截图工具,Flameshot是一个好的选择,它非常实用,下面介绍它的安装及配置使用方法。
Features使用截图
Features主要功能 注释 (高亮、标示、添加文本、框选) 图片模糊 图片裁剪 上传到 Imgur 用另一个应用打开截图
Flameshot 0.6.0更新内容 1.Features Allow systray customization with themes. Use "flameshot-tray" as the name of the icon. Unification of the desktop file with actions. Notification when screenshots are saved in the clipboard. Use datetime as default name for pics. Undo/Redo with Ctrl+z and Ctrl+Shift+z. Add "Take Screenshot" option as menu item in the systray. Add Side-Panel (open it with Space). Add autostart to config flags. Add Pin tool. Filename: replace colons with dashes. Add Text tool. Delete Imgur image button after uploading it from the preview window. Capture single screen: flameshot screen (capture the screen containing the mouse) and flameshot screen -n 1 (capture the first screen). Store settings colors in hexadecimal format. 2.Fixes flameshot full -c shouldn't block the desktop. Now you can overwrite exported configuration with the same name as a previous exports. Fix flameshot --raw wait time with delay. Fix negative selection geometry bug. Improved hidpi support with some bugs fixed.
下载Flameshot
安装Flameshot 1.如果你使用的是Ubuntu系统,那可以在Ubuntu软件中心中搜索就能找到Flameshot并完成安装。也可以在终端中运行以下命令安装: sudo apt install flameshot 2.更多安装Flameshot的命令(在root用户中执行) Arch:pacman -S flameshot Debian 10+:apt install flameshot Ubuntu 18.04+:apt install flameshot Fedora:dnf install flameshot
配置Flameshot 安装Flameshot完成后,你还需要进一步的配置。尽管可以通过搜索来随时启动Flameshot,但如果想使用PrtSc键触发启动,则需要指定对应的键盘快捷键。以下是相关配置步骤: 1.进入系统设置中的“键盘设置” 2.页面中会列出所有现有的键盘快捷键,拉到底部就会看见一个“+”按钮 3.点击 “+” 按钮添加自定义快捷键并输入以下两个字段: 1].“名称”:任意名称均可 2].“命令”:/usr/bin/flameshot gui 最后将这个快捷操作绑定到PrtSc键上,可能会提示与系统的截图功能相冲突,但可以忽略掉这个警告。配置之后,你的自定义快捷键页面大概会是以下这样(将键盘快捷键映射到Flameshot):
附:Flameshot用法 Example commands: 1.Capture with GUI: flameshot gui 2.Capture with GUI with custom save path: flameshot gui -p ~/myStuff/captures 3.Open GUI with a delay of 2 seconds: flameshot gui -d 2000 4.Fullscreen capture with custom save path (no GUI) and delayed: flameshot full -p ~/myStuff/captures -d 5000 5.Fullscreen capture with custom save path copying to clipboard: flameshot full -c -p ~/myStuff/captures 6.Capture the screen containing the mouse and print the image (bytes) in PNG format: flameshot screen -r 7.Capture the screen number 1 and copy it to the clipboard: flameshot screen -n 1 -c In case of doubt choose the first or the second command as shortcut in your favorite desktop environment. A systray icon will be in your system's panel while Flameshot is running. Do a right click on the tray icon and you'll see some menu items to open the configuration window and the information window. Check out the information window to see all the available shortcuts in the graphical capture mode.
附:在终端中配置Flameshot You can use the graphical menu to configure Flameshot, but alternatively you can use your terminal or scripts to do so. 1.Open the configuration menu: flameshot config 2.Show the initial help message in the capture mode: flameshot config --showhelp true 3.For more information about the available options use the help flag: flameshot config -h
相关主题 |