Both sides previous revisionPrevious revisionNext revision | Previous revision |
dcore:dwm_tutorial [2016/06/11 05:57] – nitram | dcore:dwm_tutorial [2016/06/13 03:58] (current) – [dCore dwm with dmenu and conky-cli Tutorial] nitram |
---|
===== dCore dwm with dmenu and conky-cli Tutorial ===== | ===== dCore dwm with dmenu and conky-cli Tutorial ===== |
| |
This tutorial demonstrates how to quickly install and set up dwm in dCore with dmenu and conky-cli. It utilizes pre-compiled dwm direct from Ubuntu using preset keyboard shortcuts. These applications are well documented online. Additional steps required for those wishing to re-compile with patches and custom shortcuts. See the dwm tutorial for basic usage. Tested on dCore-wily. | This tutorial explains how to quickly install and set up dwm in dCore with dmenu and conky-cli. It utilizes pre-compiled dwm direct from Ubuntu using preset keyboard shortcuts. These applications are well documented online. Additional steps required for those wishing to re-compile with patches and custom shortcuts. See the dwm tutorial for basic usage. Review the resource links below for much more information. Tested on dCore-wily. |
| |
dmenu works well and picks up OnDemand SCEs, negating the need for an //officially// supported OnDemand menu. Press Alt-p to display known system applications across the top tags, title and status bar areas. Begin typing the name of the desired application, the menu sorts and highlights the matched program. Press Enter to select, PageUp/Down to scroll, Escape cancels. OnDemand items are automatically loaded and launched provided they have a proper desktop file (ie. most graphic extensions). | dmenu works well and picks up OnDemand SCEs, negating the need for an officially supported OnDemand and System Tools menu. Press Alt-p to display known system applications across the status bar. Begin typing the name of the desired application, the menu sorts and highlights the closest match. Press Enter to select, PageUp/Down to scroll, Escape cancels. OnDemand items are automatically loaded and launched provided they have a proper desktop file (ie. most graphic extensions). |
| |
conky-cli is efficient and extensible, requiring minimal configuration, basic .conkyrc only 3 lines below. It runs in the upper status bar and is always visible except when accessing dmenu. | conky-cli is efficient and extensible. It requires minimal configuration, the .conkyrc below contains only two lines! It runs in the upper status bar and is always visible except when accessing dmenu. |
| |
== Install Packages == | ==== Import Packages ==== |
| |
Import dwm, dmenu and conky-cli at boot: | Import dwm, dmenu and conky-cli at boot: |
</code> | </code> |
| |
== Set Boot Code == | ==== Configure Boot Code ==== |
| |
Change the boot manager's boot code to ''desktop=dwm''. | Change the boot manager's boot code to ''desktop=dwm''. |
| |
== dmenu Setup == | ==== Setup dmenu ==== |
| |
dmenu_run | Provided dmenu is in sceboot.lst a ~/.cache/dmenu_run file is automatically created, no further intervention required. |
| |
== Conky Config == | ==== Setup Conky ==== |
| |
Create desired /home/$USER/.conkyrc config, simple example: | Create desired ~/.conkyrc config, simple example: |
<code> | <code> |
update_interval 2 | |
TEXT | TEXT |
C:${cpu cpu1}% M:${memperc}% S:${swapperc}% Up:${uptime} ${time %a %b %d %I:%M%P} | C:${cpu cpu1}% M:${memperc}% S:${swapperc}% Up:${uptime} ${time %a %b %d %I:%M%P} |
</code> | </code> |
| |
== Conky Start == | To start conky-cli at boot create a ~/.X.d/conky file containing: |
| |
To start conky-cli at boot create a /home/$USER/.X.d/conky file containing: | |
<code> | <code> |
conky | while read LINE; do xsetroot -name "$LINE"; done & | conky | while read LINE; do xsetroot -name "$LINE"; done & |
</code> | </code> |
| |
Resources: | Enjoy! |
| |
| ==== Resources ==== |
*[[http://dwm.suckless.org/|dwm]] | *[[http://dwm.suckless.org/|dwm]] |
*[[https://wiki.archlinux.org/index.php/dwm|Arch Linux dwm wiki]] | *[[https://wiki.archlinux.org/index.php/dwm|Arch Linux dwm wiki]] |
*[[http://conky.sourceforge.net/docs.html|Conky man page]] | *[[http://conky.sourceforge.net/docs.html|Conky man page]] |
*[[http://wiki.tinycorelinux.net/_detail/dcore:dcorescreenshot:dwm_dmenu_dcore-wily.png?id=dcore%3Ascreenshots|dCore dwm screenshot]] | *[[http://wiki.tinycorelinux.net/_detail/dcore:dcorescreenshot:dwm_dmenu_dcore-wily.png?id=dcore%3Ascreenshots|dCore dwm screenshot]] |
| |
| **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]** |
| |
| |