Difference between revisions of "Package:Qtile"

From Funtoo
Jump to navigation Jump to search
m
(Detailed post-installation steps)
Line 17: Line 17:


It is generally a good idea to enable the <code>dbus</code> useflag to deal with dbus messages. The <code>widget-*</code> useflags are only needed if you would like to include the given widgets. These widgets are included in Qtile, but require additional dependencies.
It is generally a good idea to enable the <code>dbus</code> useflag to deal with dbus messages. The <code>widget-*</code> useflags are only needed if you would like to include the given widgets. These widgets are included in Qtile, but require additional dependencies.
You can skip to [[#Getting Started]] if you use a [[:Category:Display_Managers|display manager]]. The following lines describe how to use qtile with [[Pacakge:Xinit|Xinit]].
Once you emerged qtile with the useflags of your choice, you can add this line to your <code>~/.xinitrc</code>:
{{file|name=~/.xinitrc|body=
exec --sh-syntax --exit-with-session qtile
}}
You might also want to pass <code>ck-launch-session</code> and/or <code>dbus-launch</code> if you want respectively [[Package:ConsoleKit|ConsoleKit]] and/or [[Package:Dbus|dbus]] support (note that the latter requires the `dbus` useflag). Your <code>~/.xinitrc</code> would then look like:
{{file|name=~/.xinitrc|desc=with consolekit and dbus support|body=
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session qtile
}}
And run <code>xinit</code> to launch qtile. You can also configure a display manager instead, but this is not covered in this document.


{{EbuildFooter}}
{{EbuildFooter}}


[[Category:Desktop]]
[[Category:Desktop]]

Revision as of 11:21, May 22, 2015

Qtile

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


About Qtile

Qtile is a highly configurable tiling window manager distributed under MIT license. It handles both tiling and floating layouts. It is especially a good alternative to Awesome for those who are more used to Python than Lua. Indeed, Qtile is written and configured entirely in Python. So whether you are Python guru or whether you are learning Python for a few time, Qtile is an ideal choice to get your environment fit your needs and feel. If you don't know Python, you can still stuck to the default configuration or pick out one of the configuration examples but a basic understanding of Python language is recommended though.

Installation

root # emerge -av qtile

It is generally a good idea to enable the dbus useflag to deal with dbus messages. The widget-* useflags are only needed if you would like to include the given widgets. These widgets are included in Qtile, but require additional dependencies. You can skip to #Getting Started if you use a display manager. The following lines describe how to use qtile with Xinit.

Once you emerged qtile with the useflags of your choice, you can add this line to your ~/.xinitrc:

   ~/.xinitrc
exec --sh-syntax --exit-with-session qtile

You might also want to pass ck-launch-session and/or dbus-launch if you want respectively ConsoleKit and/or dbus support (note that the latter requires the `dbus` useflag). Your ~/.xinitrc would then look like:

   ~/.xinitrc - with consolekit and dbus support
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session qtile

And run xinit to launch qtile. You can also configure a display manager instead, but this is not covered in this document.