Giter Club home page Giter Club logo

desktop's Introduction

Pure Writer Desktop

https://writer.drakeet.com/desktop

PureWriter for Android:

Get it on Google Play

Pure Writer Desktop

Build

./gradlew jfxNative

Download

https://github.com/purewriter/desktop/releases

LICENSE

=======

Copyright (C) 2019 Drakeet <[email protected]>

This file is part of Pure Writer Desktop

Pure Writer Desktop is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

rebase-server is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with rebase-server. If not, see <http://www.gnu.org/licenses/>.

desktop's People

Contributors

drakeet avatar yjun123 avatar zzndb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

desktop's Issues

Linux 下 fcitx 输入法无法使用

OS: Debian sid x86_64
DE: Xfce4

编译了最新版 PureWriter 0.2.2 版本,发现 fcitx 输入法无法使用。表现为在桌面端输入法切换不起任何作用,其他软件没有问题。

➜  ~ apt show pure-writer                                                                                                                                                                                                                      
Package: pure-writer                                                                                                                                                                                                                           
Version: 0.2.2                                                                                                                                                                                                                                 
Status: install ok installed                                                                                                                                                                                                                   
Priority: optional                                                                                                                                                                                                                             
Section: unknown                                                                                                                                                                                                                               
Maintainer: drakeet.com <Unknown>                                                                                                                                                                                                              
Installed-Size: 263 MB                                                                                                                                                                                                                         
Provides: pure-writer                                      
Download-Size: unknown                                     
APT-Manual-Installed: yes                                  
APT-Sources: /var/lib/dpkg/status                          
Description: Pure Writer                                   

➜  ~ uname -a                                              
Linux MyDebian 5.6.0-1-amd64 #1 SMP Debian 5.6.7-1 (2020-04-29) x86_64 GNU/Linux                                                                                                                                                               
➜  ~ java -version                                         
java version "1.8.0_251"                                   
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)                                                                  
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)                                                       
➜  ~ echo $JAVA_HOME                                       
/usr/lib/jvm/oracle-java8-jdk-amd64                        
➜  ~ echo $JRE_HOME                                        
/usr/lib/jvm/oracle-java8-jdk-amd64/jre                    
➜  ~ echo $LD_LIBRARY_PATH                                 
/usr/lib/jvm/oracle-java8-jdk-amd64/jre/lib/amd64:/usr/lib/jvm/oracle-java8-jdk-amd64/jre/lib/amd64/server                                                                                                                                        
➜  ~ dpkg -l |grep "fcitx\|rime"                           
ii  fcitx                                  1:4.2.9.7-4                     all          Flexible Input Method Framework                                                                                                                        
ii  fcitx-bin                              1:4.2.9.7-4                     amd64        Flexible Input Method Framework - essential binaries                                                                                                   
ii  fcitx-config-common                    0.4.10-3                        all          graphic Fcitx configuration tool - common files                                                                                                        
ii  fcitx-config-gtk                       0.4.10-3                        amd64        graphic Fcitx configuration tool                                                                                                                       
ii  fcitx-data                             1:4.2.9.7-4                     all          Flexible Input Method Framework - essential data files                                                                                                 
ii  fcitx-frontend-all                     1:4.2.9.7-4                     all          Flexible Input Method Framework - frontends metapackage                                                                                                
ii  fcitx-frontend-gtk2                    1:4.2.9.7-4                     amd64        Flexible Input Method Framework - GTK+ 2 IM Module frontend                                                                                            
ii  fcitx-frontend-gtk3                    1:4.2.9.7-4                     amd64        Flexible Input Method Framework - GTK+ 3 IM Module frontend                                                                                            
ii  fcitx-frontend-qt5:amd64               1.2.4-1                         amd64        Free Chinese Input Toy of X - Qt5 IM Module frontend                                                                                                   
ii  fcitx-libs-dev                         1:4.2.9.7-4                     amd64        Flexible Input Method Framework - library development files                                                                                            
ii  fcitx-module-dbus                      1:4.2.9.7-4                     amd64        Flexible Input Method Framework - D-Bus module and IPC frontend                                                                                        
ii  fcitx-module-kimpanel                  1:4.2.9.7-4                     amd64        Flexible Input Method Framework - KIMPanel protocol module                                                                                             
ii  fcitx-module-lua                       1:4.2.9.7-4                     amd64        Flexible Input Method Framework - Lua module                                                                                                           
ii  fcitx-module-x11                       1:4.2.9.7-4                     amd64        Flexible Input Method Framework - X11 module and XIM frontend                                                                                          
ii  fcitx-modules                          1:4.2.9.7-4                     amd64        Flexible Input Method Framework - core modules                                                                                                         
ii  fcitx-rime:amd64                       0.3.2-7                         amd64        Fcitx wrapper for RIME engine                                                                                                                          
ii  fcitx-ui-classic                       1:4.2.9.7-4                     amd64        Flexible Input Method Framework - Classic user interface                                                                                               
ii  fcitx5-module-quickphrase-editor:amd64 1.2.4-1                         amd64        Flexible Input Method Framework - Quick Phrase editor module                                                                                           
ii  gir1.2-fcitx-1.0                       1:4.2.9.7-4                     amd64        GObject introspection data for fcitx                                                                                                                   
ii  libcolorhug2:amd64                     1.4.4-2                         amd64        library to access the ColorHug colourimeter -- runtime                                                                                                 
ii  libfcitx-config4:amd64                 1:4.2.9.7-4                     amd64        Flexible Input Method Framework - configuration support library                                                                                        
ii  libfcitx-core0:amd64                   1:4.2.9.7-4                     amd64        Flexible Input Method Framework - library of core functions                                                                                            
ii  libfcitx-gclient1:amd64                1:4.2.9.7-4                     amd64        Flexible Input Method Framework - D-Bus client library for Glib                                                                                        
ii  libfcitx-qt5-1:amd64                   1.2.4-1                         amd64        Free Chinese Input Toy of X - D-Bus client libraries for Qt5                                                                                           
ii  libfcitx-qt5-data                      1.2.4-1                         all          Free Chinese Input Toy of X - data files for Qt5 integration                                                                                           
ii  libfcitx-utils0:amd64                  1:4.2.9.7-4                     amd64        Flexible Input Method Framework - utility support library                                                                                              
ii  librime-bin                            1.5.3+dfsg1-5                   amd64        Rime Input Method Engine - utilities                              
ii  librime-data                           0.38.20180515-3                 all          Rime Input Method Engine, the schema data
ii  librime-data-bopomofo                  0.38.20180515-3                 amd64        RIME schema data - Bopomofo (a.k.a Zhu Yin)
ii  librime-data-cangjie5                  0.38.20180515-3                 amd64        RIME schema data - Cangjie5
ii  librime-data-double-pinyin             0.38.20180515-3                 amd64        RIME schema data - Double Pinyin (a.k.a Zi Ran Ma Shuang Pin)
ii  librime-data-emoji                     0.38.20180515-3                 amd64        RIME schema data - Emoji
ii  librime-data-luna-pinyin               0.38.20180515-3                 amd64        RIME schema data - Luna Pinyin
ii  librime-data-stroke                    0.38.20180515-3                 amd64        RIME schema data - Stroke
ii  librime-data-terra-pinyin              0.38.20180515-3                 amd64        RIME schema data - Terra Pinyin (a.k.a Earth Pinyin)
ii  librime1:amd64                         1.5.3+dfsg1-5                   amd64        Rime Input Method Engine - core library

桌面数据丢失

在PC端输入时,与Android端连接有时会丢失,但是Android端和PC端还是有很长一段时间显示已连接,导致PC端输入的大量内容由于没有备份在突然断开时无法保存也无法找回。(第一次写的时候丢东西,不得不从头来一次😭)

希望能从PC端引入备份。

Why was such a great project abandoned?

Why was such a great project abandoned? While the mobile app works awesome, the Linux app is hopeless. It makes me not feel like paying for the PRO version because it is not worth it. Please make an equivalent for Linux. A simple and clear application for writing.

macOS10.15.7系统下运行0.3.1版后不显示任何内容程序就退出

macOS10.15.7系统下运行0.3.1版后不显示任何内容程序就退出
进入终端手动打开
显示如下内容
jdk版本是1.8

[ 6:59下午 ] [ konghaomin@KongHaomin-MacBookPro:/Applications/Pure Writer.app/Contents/MacOS ]
$ which java
/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/bin/java
[ 6:59下午 ] [ konghaomin@KongHaomin-MacBookPro:/Applications/Pure Writer.app/Contents/MacOS ]
$ java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
[ 6:59下午 ] [ konghaomin@KongHaomin-MacBookPro:/Applications/Pure Writer.app/Contents/MacOS ]
$ ./Pure\ Writer
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:873)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:748)
Caused by: javafx.fxml.LoadException:
file:/Applications/Pure%20Writer.app/Contents/Java/project-jfx.jar!/com/drakeet/purewriter/editor.fxml:39

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097)
at com.drakeet.purewriter.Main.start(Main.kt:36)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

Caused by: java.lang.NullPointerException
at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:89)
at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1705)
at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:667)
at com.sun.javafx.font.PrismFontFactory.createFont(PrismFontFactory.java:556)
at com.sun.javafx.font.PrismFontLoader.loadFont(PrismFontLoader.java:206)
at javafx.scene.text.Font.(Font.java:319)
at com.sun.javafx.fxml.builder.JavaFXFontBuilder.build(JavaFXFontBuilder.java:74)
at com.sun.javafx.fxml.builder.JavaFXFontBuilder.build(JavaFXFontBuilder.java:42)
at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:763)
at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2823)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2532)
... 14 more
Exception running application com.drakeet.purewriter.Main
[ 6:59下午 ] [ konghaomin@KongHaomin-MacBookPro:/Applications/Pure Writer.app/Contents/MacOS ]
$

Linux 兼容性问题

Archlinux AUR:https://aur.archlinux.org/packages/purewriter-desktop-bin/

whale@whalechoi ~$ purewriter 1 ↵
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd
Exception in thread "main" java.lang.NullPointerException
at com.drakeet.purewriter.Wwwwwwwwwwwwwwwwwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:101)
at com.drakeet.purewriter.Wwwwwwwwwwwwwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:97)
at com.drakeet.purewriter.Wwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:131)
at com.drakeet.purewriter.Wwwwwww$Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:84)
at com.drakeet.purewriter.Wwwwwww$Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:13)
at com.drakeet.purewriter.Wwwwwwwwwwwwwwwwwwwwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:66)
at com.drakeet.purewriter.Wwwwwwwwwwwwwwwwwwwwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:60)
at com.drakeet.purewriter.Wwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:64)
at com.drakeet.purewriter.Wwwwwww.Wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww(Wwwwwww:59)
at com.drakeet.purewriter.Wwwwwww.main(Wwwwwww:152)

Linux兼容问题

我电脑UBUNTU, 显卡用的是1050,但是运行这个jar不能使用NVIDIA的驱动,否则会报错...

Fix additional icon shown on linux

From desktop specification :

StartupWMClass=STRING
  If true, it is KNOWN that the application will map at least one
  window with the given string as its WM class or WM name hint.

From askubuntu, WMClass can be got with xprop WM_CLASS command

> xprop WM_CLASS
WM_CLASS(STRING) = "com-drakeet-purewriter-Wwwwwww", "com-drakeet-purewriter-Wwwwwww"

So, adding StartupWMClass=com-drakeet-purewriter-Wwwwwww to desktop file(pure-writer-Pure_Writer.desktop) can fix this problem.
But seems that this file is auto generated(with a Unknown Categories), hope that there is a place to specific startupwmclass key.

Also there is a input method(fcitx5) position problem, same problem like 1 and 2.

桌面版频繁断开问题

手机端勾选了自动连接,但是桌面端还是会频繁断开。
不确定复现的条件,如果有可能的话,希望在以后的版本改善。
挺喜欢桌面端跟手机端同步记录的功能,桌面端有基础功能就满足了。
感谢,已入pro支持。

bugFix:Parrot Sec Linux&others 底盘启动失败

修改启动命令为/opt/pure-writer/lib/runtime/bin/java -jar '/opt/pure-writer/lib/app/app.so' 或者直接写成bash桌面启动。

末:套娃他好吗?底盘快捷打开另一个快捷,要不是跟着过去看了然后顺手改了,或许还需要等蛮久修复的。

在桌面版 for macOS中输入的逗号和句号都会变成英文半角标点

软件版本:
手机版:纯纯写作 v15.0.2
桌面版:Pure Writer Desktop v0.2.2
操作系统:macOS 10.15.4
中文输入法:百度五笔(百度输入法 for Mac v5.3.0.5)/ 鼠须管
问题描述:
成功连接手机上的纯纯写作后,在macOS中输入中文标点“,”自动变成英文标点“,”,输入中文标点“。”自动变成英文标点“.”。两个中文输入法都有这个问题。汉字和破折号输入没问题。初步确定是纯纯写作桌面版 for macOS本身的问题。

关于桌面版功能的一些小建议。

希望在现有基础上可以添加以下功能:

  1. 可以命名文章标题。
  2. 添加markdown预览模式
  3. 手机端app的发现功能,可在桌面版扫描发现手机端。s
    感谢开发者的辛勤开发😁

添加Windows arm64版支持~~

arm64设备续航牛,但是模拟x86_32,x86_64效率不高,希望编译时增加arm64支持。
谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢!

Cannot properly displaying Korean

Hello, I just install and tested, but it cannot displaying korean character.
I tested with Windows 10 20H2 x64 and Arch Linux x64.

image

Thanks.

Edit: 202H → 20H2

可否适配m1芯片?

虽然也能运行,但是还想希望能直接跑原生架构。
感觉会快一点?(精神洁癖)
不知道是否有技术难度,如果很难就算了
目前vscode写md感觉良好😂

enhancement: 鼠标右键弹出的菜单文字没有本地化

在 设置 --> 语言 选项里选择了“自动跟随系统”或者是中文(简体或繁体)选项,编辑器里的右键菜单仍然显示为英文。

如图:

image

可以的话,希望能够把右键菜单的文本也本地化一下。😁

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.