Changes

Jump to: navigation, search

Package:Qtile

38 bytes removed, 4 years ago
Ugraded doc to qtile 0.10.6 and removed python 3.3 specific explanations
Very likely, you don't need to enable multiple python ABIs for qtile. To make your mind, here are the few things to know to choose the right ABI:
* Python 2.7 uses [[Package:Trollius|trollius]], Python >=3.3 4 uses [[Package:Asyncio|asyncio]], Python 3.4 has asyncio (which is now built-in).* GoogleCalendar and Wlan widgets depend widget depends on packages that are python 2.7 only. If you plan to use one of these widgetsthis widget, use python 2.7 ABItarget.
Once you've emerged qtile with the useflags and python ABI target of your choice, 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]].
In order to run qtile with xinit, add this line to your <code>~/.xinitrc</code>:
{{tip|As far as possible, when a default behavior is explained, a link to the related configuration snippet is given so that you can get more information and tweak it as you want.}}
When Qtile is run and no valid configuration file is found, it fallsback fallbacks to [https://github.com/qtile/qtile/blob/v0.9.1/libqtile/resources/default_config.py the default configuration]. So, the first time you run qtile, you should be welcomed with a black background and [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L111-L121 a bottom bar]. On the left of this bottom bar, stands the list of your workspaces [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L85 represented by the characters 'a', 's', 'd', 'f', 'u', 'i', 'o', 'p']. On the right of the bottom bar, you should see [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L116-L118 "default config" followed by the date and time].
You can press [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L82 <code>Mod4 + r</code> to open a prompt box], then type a program name to launch it. You can also [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L74 run xterm with the shortcut <code>Mod4 + Return</code>]. To [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L78 close a window, press <code>Mod4 + w</code>].
Workspaces are highlighted in [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/widget/groupbox.py#L136 L153 white font] when windows are opened in them (against [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/widget/groupbox.py#L137 L154 gray font] when it contains no window). The current workspace is [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/widget/groupbox.py#L164 L169 surrounded with a blue border], if you have multiple screens, workspaces currently displayed in other screens are [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/widget/groupbox.py#L169 L174 surrounded with a gray border]. You can [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L90 go to a given workspace pressing <code>Mod4 + <workspace ID></code>] (a, s, d, f, u, i, o or p by default). If you go to a workspace that is already displayed in another screen, workspaces will be swapped. You can [https://github.com/qtile/qtile/blob/v0.910.16/libqtile/resources/default_config.py#L95 move the current window to a given workspace pressing <code>Mod4 + Shift + <workspace ID></code>].
== Configuration ==
<console>
$##i## mkdir -p ~/.config/qtile
$##i## wget -O ~/.config/qtile/config.py https://raw.githubusercontent.com/qtile/qtile/v0.910.16/libqtile/resources/default_config.py
$##i## vim ~/.config/qtile/config.py
</console>
{{warning|Don't forget to replace "v0.910.16" with the version you installed or it may not work.}}
=== Customize bars ===
wiki-staff
336
edits

Navigation menu