Skip to content

linuxdeepin/deepin-editor

Repository files navigation

Deepin Editor

Deepin Editor is a desktop text editor that supports common text editing features.

Dependencies

The master branch is current development branch, build dependencies may changes without update README.md, refer to ./debian/control for a working build depends list

  • libqt5widgets5
  • libdtkcore-dev
  • libdtkwidget-dev
  • qt5-default
  • libpolkit-qt5-1-dev
  • libkf5syntaxhighlighting-dev
  • libkf5codecs-dev
  • qttools5-dev-tools
  • qtbase5-private-dev
  • libxcb-util0-dev
  • libdtkwm-dev
  • libxtst-dev

Installation

  1. Make sure you have installed all dependencies.

Package name may be different between distros, if deepin-editor is available from your distro, check the packaging script delivered from your distro is a better idea.

Assume you are using Deepin or other debian-based distro which got deepin-editor delivered:

$ sudo apt-get build-dep deepin-edtor
  1. Build editor daemon
sudo cp com.deepin.editor.policy /usr/share/polkit-1/actions
sudo cp com.deepin.editor.conf /usr/share/dbus-1/system.d/
sudo cp com.deepin.editor.daemon.service /usr/share/dbus-1/system-services

cd ./daemon
mkdir build
cd build
qmake ..
make
sudo ./deepin-editor-daemon
  1. Build editor
cd deepin-editor
mkdir build
cd build
cmake ..
make
./deepin-editor
  1. Install editor:
$ sudo make install

Config file

configure save at: ~/.config/deepin/deepin-editor/config.conf

Getting help

Any usage issues can ask for help via

Getting involved

We encourage you to report issues and contribute changes

License

Deepin Editor is licensed under GPL-3.0-or-later.