https://wiki.archlinux.org/api.php?action=feedcontributions&user=Moljac024&feedformat=atomArchWiki - User contributions [en]2024-03-29T00:55:36ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Commandline_Tools&diff=68660Commandline Tools2009-05-13T08:07:42Z<p>Moljac024: </p>
<hr />
<div>{{stub}}<br />
<br />
This page serves as a list of console applications.<br />
<br />
*'''System monitor:''' top, htop, powertop<br />
*'''Editor:''' nano, vim, emacs<br />
*'''File Manager:''' mc<br />
*'''Window Manager:''' screen, dvtm<br />
*'''Audio player:''' cmus, moc, mpd<br />
*'''Web Browser:''' w3m, lynx, links, elinks<br />
*'''Email client:''' mutt<br />
*'''RSS News Reader:''' newsbeuter, snownews<br />
*'''IM Client:''' mcabber (Jabber), bitlbee (multi), finch (multi), [http://dev.ojnk.net/ pork] (multi)<br />
*'''IRC Clients:''' irssi, weechat<br />
*'''Torrenting Client:''' rtorrent, transmission-cli<br />
*'''CD/DVD Tools:''' growisofs bashburn</div>Moljac024https://wiki.archlinux.org/index.php?title=Commandline_Tools&diff=68659Commandline Tools2009-05-13T07:52:20Z<p>Moljac024: </p>
<hr />
<div>{{stub}}<br />
<br />
This page serves as a list of console applications.<br />
<br />
*'''Email client:''' mutt<br />
*'''Web Browser:''' w3m, lynx, links, elinks<br />
*'''RSS News Reader:''' newsbeuter, snownews<br />
*'''Window Manager:''' screen<br />
*'''File Manager:''' mc<br />
*'''IM Client:''' mcabber (Jabber), bitlbee (multi), finch (multi), [http://dev.ojnk.net/ pork] (multi)<br />
*'''Torrenting Client:''' rtorrent<br />
*'''Editor:''' nano, vim, emacs<br />
*'''IRC Clients:''' irssi, weechat<br />
*'''CD/DVD Tools:''' growisofs bashburn</div>Moljac024https://wiki.archlinux.org/index.php?title=JWM&diff=61340JWM2009-02-11T12:32:06Z<p>Moljac024: /* Verifying Configuration Changes */</p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
<br />
== Introduction ==<br />
'''JWM''' (Joe's Window Manager) is a small and particularly customizable [[Window Managers and Desktop Environments - What are they?|window manager]] for the [http://en.wikipedia.org/wiki/X_Window_System X11 Window System]. JWM is under active development and is both maintained by [http://joewing.net/about.shtml Joe Wingbermuehle] and written in C. "...[A]lthough development on JWM has slowed quite a bit, [Joe Wingbermuehle is] still working on it on and off and...will hopefully have a new release ready one of these days".<sup>[1]</sup> JWM uses approximately 5 MB of RAM under normal operating conditions. As of January 2009, the size of the JWM version present in the [[Official Repositories|official Arch Linux repositories]] is under 76 Kb packaged (compare to [[Dwm|dwm]] at under 17 Kb) and under 171 Kb installed (compare to [[Dwm|dwm]] at 68 Kb). A minimally compiled version consumes less than 136 Kb of disk space. JWM is generally regarded as the lightest and fastest stacking window manager available for X11 and is the default window manager base for distributions such as [http://www.puppylinux.org/ Puppy Linux], [http://damnsmalllinux.org/ Damn Small Linux] and [http://www.slitaz.org/en/ SliTaz GNU/Linux]. Some of the more outstanding features of JWM are its native support for customizeable panels, desktop buttons and its inclusion of a system tray.<br />
<br />
<sup>[1]</sup> Wingbermuehle, Joe. <u>News</u>. 06 Sep. 2008. 11 Feb. 2009 <http://joewing.net/index.shtml>.<br />
<br />
== Package Installation ==<br />
<br />
JWM is part of the [[Official Repositories|official Arch Linux (community/X11) repositories]].<br />
<br />
$ pacman -Si jwm<br />
<pre>Repository : community<br />
Name : jwm<br />
Version : 2.0.1-2<br />
URL : http://joewing.net/programs/jwm/<br />
Licenses : GPL2 <br />
Groups : None<br />
Provides : None<br />
Depends On : libx11 libxft libjpeg fribidi libxpm libxinerama libpng <br />
Optional Deps : None<br />
Conflicts With : None<br />
Replaces : None<br><br />
Download Size : 75.71 K<br><br />
Installed Size : 170.93 K<br><br />
Packager : Arch Linux (http://www.archlinux.org)<br><br />
Architecture : i686<br><br />
Build Date : Fri 16 Nov 2007 10:20:50 AM PST<br><br />
MD5 Sum : dcc2934fa7208a4acb5ca9c90c3cab33<br><br />
Description : A lightweight window manager for the X11 Window System</pre><br />
<br />
Install the latest version of JWM:<br />
# pacman -Sy jwm<br />
<br />
== Starting JWM ==<br />
To start JWM, simply type:<br />
$ xinit /usr/bin/jwm<br />
<br />
or add the proper entry (<tt>jwm</tt> or <tt>exec jwm</tt>) in your [[Xinitrc|~/.xinitrc]] file.<br />
$ startx<br />
<br />
See the [[Start X at boot|ArchWiki entry regarding starting X at boot and login]] for additional details.<br />
<br />
== Configuration ==<br />
In adherence to the principles of [[The_Arch_Way|The Arch Way]], the look, feel and function of the JWM desktop is controlled by way of a single configuration file: <tt>~/.jwmrc</tt><br><br />
A sample configuration file is installed upon program installation and is located at: <tt>/etc/system.jwmrc</tt> which must be first created by the user:<br />
<br />
$ cd ~<br />
$ touch .jwmrc<br />
or<br />
$ cp /etc/system.jwmrc ~/.jwmrc<br />
<br />
All that is left at this point is to establish the look, feel and function of the desktop by editing the XML-based <tt>.jwmrc</tt> file. The [http://joewing.net/programs/jwm/config.shtml Configuration section of the developer's site] details the many tags and attributes made available to the end user in order customize the environment to their liking. From desktop backgrounds, to button colors, to icons, to text labels, to keybindings, the options are all there. <br />
<br />
==== Verifying Configuration Changes ====<br />
$ jwm -p<br />
Runs the native configuration file checking utility of JWM and returns syntax errors (including associated line numbers) present in the configuration file, if any. If the syntax is correct and the configuration file is deemed properly marked up, there is no error code returned. Changes in the configuration file are available immediately after restarting, or refreshing JWM via the <code>Restart</code> command. There is no need to restart the X server via <code>Ctrl+Alt+BACKSPACE</code>, nor the need to logout and login for changes to apply. The <code>Restart</code> command is made available to the user as a command on the initial root menu. <b>Users are recommended to use this tool between configuration changes</b> in order to ensure valid markup and a stable environment.<br />
<br />
==== Configurable options in .jwmrc ====<br />
* Root Menu<br />
* Includes<br />
* Trays<br />
* Group Settings<br />
* Window Style<br />
* Clock Style<br />
* Tray Style<br />
* Task List Style<br />
* Pager Style<br />
* Menu Style<br />
* Popup Style<br />
* Fonts<br />
* Colors<br />
* Icons<br />
* Key Bindings<br />
* Mouse Bindings<br />
* Desktops<br />
<br />
== Useful Tips & Tricks ==<br />
* [http://parcellite.sourceforge.net/ Parcellite] can be swallowed (integrated) within a panel(s) to serve as a lightweight X11 clipboard manager.<br />
* [[Wicd | Wicd]] can be swallowed (integrated) within a panel(s) to provide GUI network connection management.<br />
* The desktop can be managed with [http://pcmanfm.sourceforge.net/ PCMan File Manager].The advantage of using PCMan File Manager is that it also doubles as a powerful GUI file manager.<br />
* [[Conky | Conky]] can be run within the JWM <tt><StartupCommand></tt> to provide the display of various data streams. This tip is particularly useful for [[Laptop|laptop]] users who wish to display battery life and AC adapter status information on the desktop, or within a window.<br />
* Reboot and shutdown commands can be run within <tt><Key></tt> and/or <tt><Program></tt> tags. The following illustrates how a system with [[sudo | sudo]] installed and properly configured can be rebooted with <code>Ctrl+Alt+r</code> and powered off (<tt>shutdown -P now</tt>) with <code>Ctrl+Alt+p</code> by way of keybound commands:<br />
<tt><Key mask="CA" key="r">exec:xterm -e "sudo reboot"</Key><br><br />
<Key mask="CA" key="p">exec:xterm -e "sudo poweroff"</Key></tt><br />
* Or through a menu: <br />
<tt><Program label="Restart">xterm -e "sudo reboot"</Program><br><br />
<Program label="Poweroff">xterm -e "sudo poweroff"</Program></tt><br />
* See the [[Allow users to shutdown|ArchWiki entry regarding allowing users to shutdown]] for additional information.<br />
<br />
{{Box Note|For users wishing to power down a system <tt>poweroff</tt> or <tt>shutdown -P now</tt> may be preferable to <tt>shutdown -h now</tt> as it leaves no doubt as to the intention of the user initiated command.|}}<br />
{{Box Note|xterm is typically preferred over other terminal applications here for its footprint and efficiency of processing. However, feel free to substitute xterm with a terminal application of your choice.|}}<br />
<br />
* Minor, though appreciable gains in UI response can be gleaned by not using menu icons and by disabling the use of [[Fonts|FreeType antialiased fonts]]. Further gains can be accomplished by removing support for external libraries with a custom build. See the [[ABS - The Arch Build System|ArchWiki entry regarding the Arch Build System]] for further details.<br />
<br />
==== Sample PKGBUILD Minimal Build ====<br />
<br />
<pre>pkgname=jwm<br />
pkgver=2.0.1<br />
pkgrel=100<br />
pkgdesc="A lightweight window manager for the X11 Window System"<br />
arch=('i686' 'x86_64')<br />
url="http://joewing.net/programs/jwm/"<br />
license=('GPL2')<br />
depends=('libx11')<br />
backup=('etc/system.jwmrc')<br />
source=(http://joewing.net/programs/jwm/releases/jwm-$pkgver.tar.bz2)<br />
md5sums=('48f323cd78ea891172b2a61790e8c0ec')<br />
<br />
build() {<br />
cd "$srcdir/$pkgname-$pkgver"<br />
<br />
./configure --disable-confirm --disable-icons --disable-png \ <br />
--disable-xpm --disable-jpeg --disable-fribidi --disable-xinerama \<br />
--disable-shape --disable-xft --disable-xrender --disable-debug \ <br />
--prefix=/usr/local --sysconfdir=/etc<br />
make || return 1<br />
make BINDIR=$pkgdir/usr/local/bin \<br />
MANDIR=$pkgdir/usr/local/man \<br />
SYSCONF=$pkgdir/etc install || return 1<br />
}</pre><br />
<br />
== Annoyances & Workarounds [[DRAFT STATUS]] ==<br />
<br />
* Opening tty1 to examine output errors<br />
* Thunar > gnome-fs-home error > install gnome-icon-theme<br />
* Parcellite binding failures & Parcellite fails to accomodate backspaces and underscores<br />
* Contact dev of xfce-clipman-plugin to allow standalone executable vs. existing lib (e.g xfce4-screenshooter 1.5.0)<br />
* xclock replacement with calendar (emulate Orage)?<br />
* PCMan File Manager 'My Documents' desktop folder > edit source code<br />
* Keybinding of <Restart/> (refresh) and <Exit/> (logout)<br />
<br />
== Package Removal [[DRAFT STATUS]] ==<br />
<br />
To remove the JWM package while retaining its configuration files and dependencies: <br />
# pacman -R jwm<br />
# pacman -Rn jwm<br />
# pacman -Rs jwm<br />
# pacman -Rns jwm<br />
<br />
== Additional Resources ==<br />
* [http://joewing.net/programs/jwm/index.shtml Joe's Window Manager] - JWM Official Site<br />
<br />
Examples of what can be accomplished with a bit of creativity and substitution can be found at:<br />
* [http://puppylinux.org/wiki/how-tos/general/joeswindowmanager Puppy Linux WiKi >> Joe's Window Manager (JWM)] <br />
* [http://www.murga-linux.com/puppy/viewtopic.php?t=23260 Puppy Linux JWM Themes Exchange]</div>Moljac024