Skip to content

Instantly share code, notes, and snippets.

@jsm222
Created June 7, 2017 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsm222/c90480591b7ac730c50158938dd0122d to your computer and use it in GitHub Desktop.
Save jsm222/c90480591b7ac730c50158938dd0122d to your computer and use it in GitHub Desktop.
wiki.freebsd.org/LXQt proposed changes
= LXQt on FreeBSD =
[[http://lxqt.org/|LXQt]] is the Qt port of LXDE, the Lightweight Desktop Environment. It is the product of the merge between the LXDE-Qt and the Razor-qt projects.
Heavily work in progress, it needs some components of Plasma 5 (the new major KDE’s workspace).
[[attachment:lxqt-0.11.1.png|{{attachment:lxqt-0.11.1.png|LXQt 0.11.1|width="150"}}]]
== Install the LXQt (0.11) desktop ==
{{{#!wiki important
Due to missing piece of Plasma5 components in official ports tree, '''you must clone and merge''' the LXQt repository.
}}}
The best way is to fetch `lxqtmerge` script. Adjust '''LOCAL_REPO''' and '''PORTSDIR''' variables in the script before running it.
{{{#!wiki important
You'll need
% pkg install ca_root_nss
if it is not already installed
}}}
{{{
% fetch https://raw.githubusercontent.com/jsm222/lxqt-freebsd/0.11/lxqtmerge.sh
}}}
Below different options:
{{{
usage: lxqtmerge options
options:
-h display this help
-c clone remote repository
-m merge into the ports tree
-u update local repository
-r revert changes
}}}
{{{
# lxqtmerge -c
# lxqtmerge -m
}}}
Now you are able to compile the meta-ports `x11-wm/lxqt` and `x11/lxqt-l10n` (translations of each LXQt components).
=== List of ports ===
* audio/pavucontrol-qt
* audio/pavucontrolqt-l10n
* deskutils/lxqt-notificationd
* deskutils/lxqt-notificationd-l10n
* deskutils/qlipper
* devel/liblxqt
* devel/liblxqt-l10n
* devel/libqtxdg
* devel/lxqt-build-tools
* editors/featherpad
* graphics/lximage-qt
* graphics/lximageqt-l10n
* misc/lxqt-common
* security/lxqt-openssh-askpass
* security/lxqt-openssh-l10n
* security/lxqt-sudo
* security/lxqt-sudo-l10n
* sysutils/libsysstat
* sysutils/lxqt-admin
* sysutils/lxqt-admin-l10n
* sysutils/lxqt-config
* sysutils/lxqt-config-l10n
* sysutils/lxqt-policykit
* sysutils/lxqt-policykit-l10n
* sysutils/lxqt-qtplugin
* x11/compton-conf
* x11/libfm-qt
* x11/libfmqt-l10n
* x11/lxqt-about
* x11/lxqt-about-l10n
* x11/lxqt-compton-l10n
* x11/lxqt-globalkeys
* x11/lxqt-globalkeys-l10n
* x11/lxqt-l10n
* x11/lxqt-runner
* x11/lxqt-runner-l10n
* x11/plasma5-libkscreen
* x11/qterminal
* x11/qterminal-l10n
* x11-fm/pcmanfm-qt
* x11-fm/pcmanfmqt-l10n
* x11-toolkits/qtermwidget
* x11-wm/lxqt
* x11-wm/lxqt-panel
* x11-wm/lxqt-panel-l10n
* x11-wm/lxqt-session
* x11-wm/lxqt-session-l10n
* x11-wm/obconf-qt
* x11-wm/obconfqt-l10n
== Known issues (and fixes) ==
It's advised to use UTF-8 as character encoding, especially for Western Europeans users (some translation are not well displayed in settings widgets).
If PCManFM-qt crashes, when you leave your session, create the `~/Templates` directory. Or install `devel/xdg-user-dirs`.
== Tips ==
PCManFM-qt is able to use UDisks2 service (for removable storages), install `sysutils/bsdisks`.
=== Starting the desktop ===
==== Using .xinitrc ====
{{{
% cp /usr/local/bin/startlxqt ~/.xinitrc
}}}
=== Make lxqt-leave's power commands work ===
LXQt depends on ConsoleKit2 (fork, [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202269|PR 202269]]). In ports tree only ConsoleKit is available (`sysutils/consolekit`). However it can be found in the Xfce development repository (see the [[https://wiki.freebsd.org/Xfce|FAQ]]).
1. Get the port:
{{{
svn co https://subversion.assembla.com/svn/xfce4/trunk/sysutils/consolekit
}}}
2. Copy it to your ports tree (Replacing the existing `sysutils/consolekit`)
* Remove previous `files/` directory (patches are already in ConsoleKit2)
3. Rebuild every port (installed on your system), which depends of `sysutils/consolekit`.
* To know which ports need to be rebuild, try the following command:
{{{
pkg query %ro consolekit
}}}
If it's a fresh install, this command is better:
{{{
pkg rquery %ro consolekit
}}}
{{{#!wiki note
For massive rebuild, using `ports-mgmt/poudriere` or `ports-mgmt/synth` is recommanded way.
}}}
* Jesper Schmitz Mouridsen ([[https://github.com/jsm222|GitHub profile: jsm222]])
* olivierd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment