Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
3512583c
Commit
3512583c
authored
Mar 27, 2021
by
Nibaldo González
Browse files
Highlighting/themes documentation: remove references to Kate's flatpak package
parent
c424e81c
Changes
1
Show whitespace changes
Inline
Side-by-side
doc/katepart/development.docbook
View file @
3512583c
...
...
@@ -235,16 +235,12 @@ GenericDataLocation</option></userinput> which usually are
and
<
filename
class
=
"directory"
>/
usr
/
share
/</
filename
>.
</
para
>
<
para
>
In
Flatpak
and
Snap
packages
,
the
above
directory
will
not
work
as
the
data
location
is
different
for
each
application
.
In
a
Flatpak
application
,
that
location
is
usually
<
filename
class
=
"directory"
><
envar
>$
HOME
</
envar
>/.
var
/
app
/<
replaceable
>
flatpak
-
package
-
name
</
replaceable
>/
data
/</
filename
>
<
para
>
In
Flatpak
and
Snap
packages
,
the
above
directory
will
not
work
as
the
data
location
is
different
for
each
application
.
In
a
Flatpak
application
,
the
location
of
custom
&
XML
;
files
is
usually
<
filename
class
=
"directory"
><
envar
>$
HOME
</
envar
>/.
var
/
app
/<
replaceable
>
flatpak
-
package
-
name
</
replaceable
>/
data
/
org
.
kde
.
syntax
-
highlighting
/
syntax
/</
filename
>
and
in
a
Snap
application
that
location
is
<
filename
class
=
"directory"
><
envar
>$
HOME
</
envar
>/
snap
/<
replaceable
>
snap
-
package
-
name
</
replaceable
>/
current
/.
local
/
share
/</
filename
>.
For
example
,
for
<
ulink
url
=
"https://flathub.org/apps/details/org.kde.kate"
>&
kate
;
's Flatpak package</ulink>,
the custom &XML; files are located in
<filename class="directory"><envar>$HOME</envar>/.var/app/org.kde.kate/data/org.kde.syntax-highlighting/syntax/</filename>
and for <ulink url="https://snapcraft.io/kate">&kate;'
s
Snap
package
</
ulink
>,
it
is
<
filename
class
=
"directory"
><
envar
>$
HOME
</
envar
>/
snap
/
kate
/
current
/.
local
/
share
/
org
.
kde
.
syntax
-
highlighting
/
syntax
/</
filename
>.
<
filename
class
=
"directory"
><
envar
>$
HOME
</
envar
>/
snap
/<
replaceable
>
snap
-
package
-
name
</
replaceable
>/
current
/.
local
/
share
/
org
.
kde
.
syntax
-
highlighting
/
syntax
/</
filename
>.
</
para
>
<
para
>
On
&
Windows
;
these
files
are
located
<
filename
>%
USERPROFILE
%&#
92
;
AppData
&#
92
;
Local
&#
92
;
org
.
kde
.
syntax
-
highlighting
&#
92
;
syntax
</
filename
>.
...
...
@@ -1390,17 +1386,12 @@ and are commonly <filename class="directory"><envar>$HOME</envar>/.local/share/<
and <filename class="
directory
">/usr/share/</filename>.
</para>
<para>In Flatpak and Snap packages, the above
theme
directory will not work
<para>In Flatpak and Snap packages, the above directory will not work
as the data location is different for each application.
In a Flatpak application, usually is
<filename class="
directory
"><envar>$HOME</envar>/.var/app/<replaceable>flatpak-package-name</replaceable>/data/</filename>
and in a Snap application is
<filename class="
directory
"><envar>$HOME</envar>/snap/<replaceable>snap-package-name</replaceable>/current/.local/share/</filename>.
For example, for <ulink url="
https
://
flathub
.
org
/
apps
/
details
/
org
.
kde
.
kate
">&kate;'s Flatpak package</ulink>,
the custom color theme files are located in
<filename class="
directory
"><envar>$HOME</envar>/.var/app/org.kde.kate/data/org.kde.syntax-highlighting/themes/</filename>
and for <ulink url="
https
://
snapcraft
.
io
/
kate
">&kate;'s Snap package</ulink>, it is
<filename class="
directory
"><envar>$HOME</envar>/snap/kate/current/.local/share/org.kde.syntax-highlighting/themes/</filename>.
In a Flatpak application, the location of custom theme files is usually
<filename class="
directory
"><envar>$HOME</envar>/.var/app/<replaceable>flatpak-package-name</replaceable>/data/org.kde.syntax-highlighting/themes/</filename>
and in a Snap application that location is
<filename class="
directory
"><envar>$HOME</envar>/snap/<replaceable>snap-package-name</replaceable>/current/.local/share/org.kde.syntax-highlighting/themes/</filename>.
</para>
<para>On &Windows; these files are located
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment