2018 年 6 月 COPR 中值得尝试的 4 个很酷的新项目
COPR Fedora
![](/data/attachment/album/201807/15/124434vfv2bojtobboovwg.jpg)


COPR 是个人软件仓库[集合](https://copr.fedorainfracloud.org/)，它不在 Fedora 中。这是因为某些软件不符合轻松打包的标准。或者它可能不符合其他 Fedora 标准，尽管它是免费和开源的。COPR 可以在 Fedora 套件之外提供这些项目。COPR 中的软件不被 Fedora 基础设施不支持或没有被该项目所签名。但是，这是一种尝试新的或实验性的软件的一种巧妙的方式。


这是 COPR 中一组新的有趣项目。


### Ghostwriter


[Ghostwriter](http://wereturtle.github.io/ghostwriter/) 是 [Markdown](https://daringfireball.net/) 格式的文本编辑器，它有一个最小的界面。它以 HTML 格式提供文档预览，并为 Markdown 提供语法高亮显示。它提供了仅高亮显示当前正在编写的段落或句子的选项。此外，Ghostwriter 可以将文档导出为多种格式，包括 PDF 和 HTML。最后，它有所谓的“海明威”模式，其中删除被禁用，迫使用户现在智能编写，而在稍后编辑。


![](/data/attachment/album/201807/15/124435l7v4p99mp8l4kz76.png)


#### 安装说明


仓库目前为 Fedora 26、27、28 和 Rawhide 以及 EPEL 7 提供 Ghostwriter。要安装 Ghostwriter，请使用以下命令：



```
sudo dnf copr enable scx/ghostwriter
sudo dnf install ghostwriter

```

### Lector


[Lector](https://github.com/BasioMeusPuga/Lector) 是一个简单的电子书阅读器程序。Lector 支持最常见的电子书格式，如 EPUB、MOBI 和 AZW，以及漫画书格式 CBZ 和 CBR。它很容易设置 —— 只需指定包含电子书的目录即可。你可以使用表格或书籍封面浏览 Lector 库内的书籍。Lector 的功能包括书签、用户自定义标签和内置字典。![](/data/attachment/album/201807/15/124435uaxxhbqu3o2iuoiu.png)


#### 安装说明


该仓库目前为 Fedora 26、27、28 和 Rawhide 提供Lector。要安装 Lector，请使用以下命令：



```
sudo dnf copr enable bugzy/lector
sudo dnf install lector

```

### Ranger


Ranerger 是一个基于文本的文件管理器，它带有 Vim 键绑定。它以三列显示目录结构。左边显示父目录，中间显示当前目录的内容，右边显示所选文件或目录的预览。对于文本文件，Ranger 将文件的实际内容作为预览。![](/data/attachment/album/201807/15/124435gx2f1qiivil8liig.png)


#### 安装说明


该仓库目前为 Fedora 27、28 和 Rawhide 提供 Ranger。要安装 Ranger，请使用以下命令：



```
sudo dnf copr enable fszymanski/ranger
sudo dnf install ranger

```

### PrestoPalette


PrestoPeralette 是一款帮助创建平衡调色板的工具。PrestoPalette 的一个很好的功能是能够使用光照来影响调色板的亮度和饱和度。你可以将创建的调色板导出为 PNG 或 JSON。


![](/data/attachment/album/201807/15/124436myb910aupvppjsty.png)


#### 安装说明


仓库目前为 Fedora 26、27、28 和 Rawhide 以及 EPEL 7 提供 PrestoPalette。要安装 PrestoPalette，请使用以下命令：



```
sudo dnf copr enable dagostinelli/prestopalette
sudo dnf install prestopalette

```



---


via: <https://fedoramagazine.org/4-try-copr-june-2018/>


作者：[Dominik Turecek](https://fedoramagazine.org) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
COPR is a [collection](https://copr.fedorainfracloud.org/) of personal repositories for software that isn’t carried in Fedora. Some software doesn’t conform to standards that allow easy packaging. Or it may not meet other Fedora standards, despite being free and open source. COPR can offer these projects outside the Fedora set of packages. Software in COPR isn’t supported by Fedora infrastructure or signed by the project. However, it can be a neat way to try new or experimental software.

Here’s a set of new and interesting projects in COPR.


## Ghostwriter

[Ghostwriter](http://wereturtle.github.io/ghostwriter/) is a text editor for [Markdown](https://daringfireball.net/) format with a minimal interface. It provides a preview of the document in HTML and syntax highlighting for Markdown. It offers the option to highlight only the paragraph or sentence currently being written. In addition, Ghostwriter can export documents to several formats, including PDF and HTML. Finally, it has the so-called “Hemingway” mode, in which erasing is disabled, forcing the user to write now and edit later.

### Installation instructions

The repo currently provides Ghostwriter for Fedora 26, 27, 28, and Rawhide, and EPEL 7. To install Ghostwriter, use these commands:

sudo dnf copr enable scx/ghostwriter sudo dnf install ghostwriter

## Lector

[Lector](https://github.com/BasioMeusPuga/Lector) is a simple ebook reader application. Lector supports most common ebook formats, such as EPUB, MOBI, and AZW, as well as comic book archives CBZ and CBR. It’s easy to setup — just specify the directory containing your ebooks. You can browse books in Lector’s library using either a table or book covers. Among Lector’s features are bookmarks, user-defined tags, and a built-in dictionary.

### Installation instructions

The repo currently provides Lector for Fedora 26, 27, 28, and Rawhide. To install Lector, use these commands:

sudo dnf copr enable bugzy/lector sudo dnf install lector

## Ranger

Ranger is a text-based file manager with Vim key bindings. It displays the directory structure in three columns. The left one shows the parent directory, the middle the contents of the current directory, and the right a preview of the selected file or directory. In the case of text files, Ranger shows actual contents of the file as a preview.

### Installation instructions

The repo currently provides Ranger for Fedora 27, 28, and Rawhide. To install Ranger, use these commands:

sudo dnf copr enable fszymanski/ranger sudo dnf install ranger

## PrestoPalette

PrestoPalette is a tool that helps create balanced color palettes. A nice feature of PrestoPalette is the ability to use lighting to affect both lightness and saturation of the palette. You can export created palettes either as PNG or JSON.


### Installation instructions

The repo currently provides PrestoPalette for Fedora 26, 27, 28, and Rawhide, and EPEL 7. To install PrestoPalette, use these commands:

sudo dnf copr enable dagostinelli/prestopalette sudo dnf install prestopalette

## 鄭仕群

Nice suggestions！Many Thanks！

## Riley

Great post. PrestoPalette is a really cool app that I had never heard of.

## Ujjwal Dey

I read and went through the links regarding Markdown and Ghostwriter etc and understand nothing from it. What exactly is a Markdown Format / Editor, what is its purpose and why would any human on the planet need one? The great Features listed by Ghostwriter website also makes no sense. What is the need for these strange features and who uses it for what goal exactly? I am glad it is free and open source but can’t say anyone would pay money to buy one anyway.

## Willian

If you’re using a blog like Jenkyll or Hugo, you will have to use Markdown to format your text. One example. GitHub, Reddit, etc. use Markdown too.

That said, I don’t like Ghostwriter, or any similar markdown editor like it. I prefer a mix of WYSIWYG editor and a Markdown Editor, but it’s hard to find one that strikes the right balance to me.

## Ujjwal Dey

I am trying to learn this Linux culture and the strange ways users do things instead of simple obvious ways to do it. Jenkyll, Markdown would be like people who prefer using Notepad instead of Microsoft Word in Windows OS because Notepad is free with the OS.

For a layman like me, there seems to be no actual utility or more importantly any need to torture yourself by using Markdown, Jenkyll, Ghostwriter, etc. when you can use many simple new blog tools or just use HTML for a static website.

I am guessing a Markdown Editor will help you save tons of money and bytes (space) in webhosting and server space and bandwidth. But from the websites / blogs I have visited these Markdown fans only use Text, no images or videos uploaded to the server, so how would it be expensive using any of the other free blog software or webpage editors, etc.?

There is no safety if you can use this ‘.text’ suffix trick to view the Markdown source for the content of any page on Markdown websites.

Regarding any known utility, Need, purpose : How exactly is this blog easy to read on a computer or any device?

http://www.aaronsw.com/weblog/

Does this Fedora Magazine use Markdown or Jenkyll or whatever it is that Linux users love so much? I believe they use WordPress like most of humanity on the internet.

Why not use Libre Office and so many other great tools also available for free to edit text. Or so many WYSIWYG Editors existing for decades.

I really wish there was a book on Linux that helped newbies understand the Linux culture instead of all the million technical books on Linux.

## Matthew Bunt

Markdown is not a replacement for word processing software. To me, the point of markdown is to be easily human readable (and writable) whether you are reading the original text file or a rendered version. It’s also a (somewhat non-standardized) file format so you can easily use tools that turn markdown into html. Most people do not use markdown for writing emails or novels. They use markdown for blogs or software documentation and as you’ve already discovered, there are many different ways to accomplish the same task.

## wereturtle

Actually, that is exactly what I use my own Markdown editor for: Word processing. Markdown is very ideal for novels due to a novel’s minimal formatting. Obviously, when you start getting into nested tables and other more complicated things, Markdown isn’t very good anymore. But for simple blogs, novels, etc., it’s awesome.

## Murpholinox Peligro

One example> You can use markdown or html code to create a blog with Jekyll (https://jekyllrb.com/). For me it is far easier to do it in markdown.

## Ttny

@Ujjwal Dey

Markdown format is mostly used by developers or admins to write quick documents in a decent presentable format with less effort. Once you get the hang of it, it’s much quicker to write in

format than it is to use MSWord or LOWriter. This format can then be parsed and viewed in whatever manner you want.

Markdown isn’t a tool for everyone. If you’re only using Linux for some arbitrary reason that is not technical, markdown isn’t a tool for you either. If you are writing software or scripts and want to share your work with others, then Markdown is the accepted standard. It’s easier to parse, view in raw format, and is used by all major git service providers.

If you think markdown is complex, wait until you see LaTeX.

## wereturtle

Hello, I am the creator/maintainer of ghostwriter. I thought I’d chime in as to why someone would want to use a Markdown editor. Believe it or not, I use it for writing novels. I originally started with Libreoffice, but despite my very simple formatting, I noticed odd quirks when searching for where (for example) bold or italic formatting had been applied. Under the hood, the rich text formatting was not quite what I had expected. Markdown allows me to search for formatting and replace formatting very easily. Want to find all the bold formatting? Just search for “**”.

Then there is also the fact that plain text is simply faster than rich text for large documents. Libreoffice does handle a large novel admirably. However, I have sometimes had crashes on large documents, especially on earlier versions. I don’t like splitting my work into multiple files. It makes it harder come submission time. With plaintext, even the largest documents are lightning fast and never crash in 99% of plain text editors. And, I can use Pandoc to convert to epub easily for self-publishing. Just a few clicks and a quick conversion to azw with Calibre, and I’m reading my own work on my Kindle. I can’t say the same for Libreoffice.

As for who would pay for such an editor? Check out MacOS. There are a plethora of Markdown editors being sold for it, from Byword to iaWriter to Ulysses III. Some cost more than others. Last I checked, Ulysses III ran for $45. And it’s geared toward novel writing, to boot!

Obviously, Markdown won’t be for everybody, but it does work for a lot of people. Just try it out and see if you like it. If you don’t, you can convert your document to your favorite format easily enough.

## Qoyyuum

Was wondering if you guys could also cover how to use Mutt in Fedora. Thanks!

## Qoyyuum

Ghostwriter is cool but I prefer Typora for the added advantage of drawing flowcharts and sequence with mermaid.

## Jan

On fc28 ranger (at least up to 1.7.2) is also in @System repo.

## Martijn

Have been looking for a tool like Ranger for a while now, thanks for sharing 🙂

## ww2w

why typora is not in fedora?

## Paul W. Frields

@ww2w: Because it’s not open source.