Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
lektor
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
Kubat
lektor
Validations
b3d2e11c
Vérifiée
Valider
b3d2e11c
rédigé
1 year ago
par
Kubat
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
MISC: Update readme
parent
d9461d8b
Aucune branche associée trouvée
Branches contenant la validation
Aucune étiquette associée trouvée
1 requête de fusion
!197
Draft: Refactor the whole code.
Modifications
2
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
2 fichiers modifiés
README.md
+12
-12
12 ajouts, 12 suppressions
README.md
utils/scripts/docker/package_appimages.bash
+1
-1
1 ajout, 1 suppression
utils/scripts/docker/package_appimages.bash
avec
13 ajouts
et
13 suppressions
README.md
+
12
−
12
Voir le fichier @
b3d2e11c
...
...
@@ -33,7 +33,7 @@ The lektord and related binaries and source code are under the MIT license. Plea
To visualize dependencies of the rust part of lektor, you can call the script
[
print-cargo-deps.bash
](
/utils/scripts/print-cargo-deps.bash
)
from the workspaces. You will also
need to have
`
dot
`
utility from the
`
graphviz
`
package to be installed for that script to work.
need to have dot utility from the graphviz package to be installed for that script to work.
### Building instructions
...
...
@@ -91,16 +91,16 @@ appimagetool --comp xz --sign --sign-key $YOUR_SIGN_KEY Amadeus
### Launch instructions
To run lektor, you can simply run the binary
like:
`./lektord`
. Be sure to place the
`liblektor_c.so`
shared library
*
*next*
*
to the
`
lektord
`
binary before executing it. If lektord did
not exit normally. Lektor will use
specialized software (hwdec set to yes), if you have an nvidia
card with optimus (in almose every
laptop), please use
`
optirun
`
or
`
primusrun
`
.
To run lektor, you can simply run the binary. Be sure to place the
liblektor_c.so shared library
*next*
to the lektord binary before executing it. If lektord did
not exit normally. Lektor will use
specialized software (hwdec set to yes), if you have an nvidia
card with optimus (in almose every
laptop), please use optirun or primusrun.
### How to update the lektord database
To update the lektor database, you first need to launch
`
lektord
`
, then use the
`lkt -Au`
to update
To update the lektor database, you first need to launch lektord, then use the
`lkt -Au`
to update
the database and import users' favorite lists as playlists. You can also perform the update action
from the
`
amadeus
`
client, in the search section.
from the amadeus client, in the search section.
While connected to kurisu, you need to obtain a token, it can be achieved by visiting the page
https://kurisu.iiens.net/api/download.php?token while being connected. You must copy this token in
...
...
@@ -109,14 +109,14 @@ section.
### How to send commands to lektor
To send commands to lektor, you can use
`
lkt
`
or build your own by calling directly the REST API
with
curl or other things. For graphical things, you can use
`
amadeus
`
which is a client written in
To send commands to lektor, you can use lkt or build your own by calling directly the REST API
with
curl or other things. For graphical things, you can use amadeus which is a client written in
[
iced
](
https://iced.rs/
)
.
The
`
lektord
`
daemon and the
`
amadeus
`
client implements the
The lektord daemon and the amadeus client implements the
[
MPRIS Specification
](
https://specifications.freedesktop.org/mpris-spec/latest/
)
. As such you can
use any MPRIS-able client to control them (playerctl, directly calling dbus things, etc.) By default
`
lektord
`
enables MPRIS while
`
amadeus
`
doesn't, this behaviour can be changed in the config files.
lektord enables MPRIS while amadeus doesn't, this behaviour can be changed in the config files.
### How to configure lektor
...
...
@@ -128,5 +128,5 @@ The default configuration file will be created on the first launch of the tool.
configuration folder the lektord program will store its configuration in
`lektord.toml`
, lkt in
`lkt.toml`
, amadeus in
`amadeus.toml`
, etc.
For
`
amadeus
`
, you can edit its configuration file in the settings section.
For amadeus, you can edit its configuration file in the settings section.
Ce diff est replié.
Cliquez pour l'agrandir.
utils/scripts/docker/package_appimages.bash
+
1
−
1
Voir le fichier @
b3d2e11c
...
...
@@ -97,7 +97,7 @@ this_dir="\$(readlink -f "\$(dirname "\$0")")"
source "
\$
HOOK"
done
}
exec "
\$
this_dir/usr/bin/
${
EXEC
}
"
"
$@
"
exec "
\$
this_dir/usr/bin/
${
EXEC
}
"
$@
EOF
# Pack the AppImage
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter