Commit Graph

119 Commits

Author SHA1 Message Date
Michael Stapelberg 67999269fd manpage: improve locale setup in example .xsession (Thanks Harald König)
Harald mentioned he was surprised about the locales we recommend in the
.xsession example, so I’ve re-investigated.

Here is the test program I have used:

    #include <stdio.h>
    #include <locale.h>

    int main() {
        /* SUSv2 setlocale(3) says:
         * Internationalised programs must call setlocale() to initiate
         * a specific language operation. This can be done by calling
         * setlocale() as follows: */
        setlocale(LC_ALL, "");

        printf("LC_NUMERIC is %s\n", setlocale(LC_NUMERIC, NULL));
    }

Then, I have unset LANG and LC_*:

    midna /tmp $ env | grep LANG
    midna /tmp $ env | grep LC
    midna /tmp $

Now, observe that LC_ALL overwrites all specific LC variables:

    midna /tmp $ LC_ALL=de_DE.UTF-8 LC_NUMERIC=en_DK.UTF-8 ./localetest
    LC_NUMERIC is de_DE.UTF-8

However, LANG does not:

    midna /tmp $ LANG=de_DE.UTF-8 ./localetest
    LC_NUMERIC is de_DE.UTF-8
    midna /tmp $ LANG=de_DE.UTF-8 LC_NUMERIC=en_DK.UTF-8 ./localetest
    LC_NUMERIC is en_DK.UTF-8

This is consistent with what perldoc perllocale says:
http://perldoc.perl.org/perllocale.html#ENVIRONMENT
2012-08-27 15:07:18 +02:00
Michael Stapelberg 070a18e598 i3bar: update manpage for the i3bar-protocol
fixes 
2012-08-12 19:26:04 +02:00
Michael Stapelberg 78f5f2204d ipc: implement GET_VERSION to find out the i3 version
This is useful for third-party scripts which require certain features
and want to error out cleanly when they are run with an old i3 version.

Additionally, i3 --version might be different from what’s actually
running (an old version of the binary), so i3-msg -t get_version will be
the best way to figure out the i3 version you are actually running from
this commit on.
2012-08-05 14:30:05 +02:00
Quentin Glidic f80b877c6b man/i3bar: Reference j4status 2012-08-05 14:01:20 +02:00
Michael Stapelberg 4cba4c89ad Add xfce4-terminal to i3-sensible-terminal
Fixes 
2012-08-02 15:20:17 +02:00
Quentin Glidic 8029fae6a9 Move mans to the new Makefile layout 2012-07-22 20:27:13 +02:00
Quentin Glidic bdc078914b i3: Replace loglevels by a global debug logging
File-limited were not used nor really useful
Besides, they are painful to maintain in Makefile rules compared to the
benefit
2012-07-22 18:41:12 +02:00
Michael Stapelberg 21a5d4f4c1 manpages: don’t build i3-wsbar(1) from pod 2012-06-10 18:24:44 +02:00
Michael Stapelberg abd6f24bf2 a few little corrections for the previous commit 2012-04-23 23:21:51 +02:00
Mateusz Poszwa 27b7f6a6e5 man/i3-input.man: Add description of options and improve examples. 2012-04-23 23:16:51 +02:00
Michael Stapelberg c5e777c76e manpages: update i3-msg.man 2012-01-27 22:39:51 +00:00
Michael Stapelberg c7ea8c42b6 Merge branch 'master' into next
Conflicts:
	debian/changelog
2012-01-27 19:34:15 +00:00
Michael Stapelberg 8b8573c36e bump manpage version 2012-01-27 19:23:56 +00:00
Michael Stapelberg ac3541c28c update i3-sensible-* (Thanks Han) 2011-12-29 00:01:49 +01:00
Michael Stapelberg 20b8b1a22a Merge branch 'master' into next 2011-12-24 16:28:48 +01:00
Michael Stapelberg 293f28e68b bump manpage version 2011-12-24 16:10:22 +01:00
Michael Stapelberg 1f2c9306a2 Merge branch 'master' into next
Conflicts:
	testcases/t/159-socketpaths.t
2011-12-18 18:02:08 +00:00
Michael Stapelberg c21172a6f6 Create a secure temp path instead of a predictable one (Thanks Han)
With this commit, i3 will now use either $XDG_RUNTIME_DIR/i3 (XDG_RUNTIME_DIR
is only writable by the user, so this is not a problem) or a secure temporary
location in /tmp, following the pattern /tmp/i3-<user>.XXXXXX
2011-12-18 17:59:31 +00:00
Michael Stapelberg 0af05710b2 add i3-dump-log, a tool to dump the SHM log 2011-12-10 11:27:40 +00:00
Michael Stapelberg eb7b933e2b man: change URL (Thanks aksr) 2011-11-29 22:36:00 +00:00
Michael Stapelberg 4954b7241d bump manpage version to 4.1 2011-11-11 22:33:45 +00:00
Michael Stapelberg 1b9067c6a2 Add manpages for i3-sensible-{pager,editor,terminal} 2011-11-11 22:29:10 +00:00
Michael Stapelberg a3268248eb update manpage for 'bar' config (Thanks eeemsi) 2011-10-22 18:23:29 +01:00
Michael Stapelberg 12e096cf73 i3-input: update manpage 2011-09-18 13:57:39 +01:00
Michael Stapelberg f7b23e3a41 bump version number in man/asciidoc.conf 2011-08-28 19:47:03 +02:00
Michael Stapelberg 998d44a3d4 update i3.man 2011-07-31 23:34:28 +02:00
Michael Stapelberg d53c6f5c30 add a manpage for i3-migrate-config-to-v4 2011-07-31 23:22:50 +02:00
Michael Stapelberg 052b69a4bf add a manpage for i3-config-wizard 2011-07-31 23:08:25 +02:00
Michael Stapelberg c2f8a0efee bump version number (no, we’re not releasing yet) 2011-07-24 00:14:26 +02:00
Michael Stapelberg 9a68a2df90 manpage: update i3(1) 2011-07-23 22:03:07 +02:00
Michael Stapelberg 1a10a089e8 manpages: don’t regenerate manpages on every 'make'
Conflicts:

	man/Makefile
2011-07-23 22:02:27 +02:00
Michael Stapelberg 642c4aaf6e manpages: extract manpage for i3-wsbar using pod2man(1) 2011-07-23 21:57:35 +02:00
Michael Stapelberg c55abca115 add i3-nagbar. tells you about config file errors (for example) 2011-07-10 14:33:19 +02:00
Sardem FF7 cd6f93be3f Rename bind to bindcode
Also fallback when using just 'bind' to be backward-compatible
2011-04-18 23:52:45 +02:00
Axel Wagner 4caf85aa0b Use I3SOCK-environment-variable 2011-01-12 10:15:48 +01:00
Axel Wagner 3d274cf2f9 Add font-option to i3-input 2011-01-02 12:22:39 +01:00
Michael Stapelberg 960a2014fc remove superflous newlines (breaks asciidoc) 2010-03-21 01:55:02 +01:00
Michael Stapelberg 234ed6c99b docs: merge spelling and grammar fixes by sasha (Thanks!) 2010-03-21 01:50:10 +01:00
Michael Stapelberg be6a64e43f manpage: correctly document the search order for XDG 2010-03-16 00:12:01 +01:00
Michael Stapelberg 67d80ee1d2 Update i3.man 2010-03-15 22:41:39 +01:00
Michael Stapelberg 2af2bc36c9 Document the new options 2010-02-13 19:58:43 +01:00
Michael Stapelberg fbe8dafe63 manpage: mention i3-msg and i3-input in SEE ALSO (Thanks artoj) 2010-01-20 22:34:25 +01:00
Michael Stapelberg 6779a0e27f Makefile: Use POSIX-compliant method to delete multiple files (for-loop) 2009-11-10 14:37:51 +01:00
Michael Stapelberg c04f990320 Bump version in manpage 2009-11-09 21:29:10 +01:00
Michael Stapelberg f89ca2fce0 Add manpage for i3-input 2009-11-09 21:28:15 +01:00
Michael Stapelberg 153462824b Add cursor keys for focussing, moving, snapping to the default config 2009-10-26 15:13:25 +01:00
Michael Stapelberg 8437239541 Add manpage for i3-msg 2009-08-24 12:22:42 +02:00
Michael Stapelberg 4be7a34470 Update manpage 2009-08-19 14:32:51 +02:00
Michael Stapelberg 319f6d669f manpage: document killing of windows better (Thanks Moredread) 2009-06-26 04:25:51 +02:00
Michael Stapelberg c2f01fdd84 manpage: Document setting background color (Thanks Moredread) 2009-06-25 22:40:13 +02:00
Michael Stapelberg cba36914a8 Implement selecting the next tiling/floating window (using "focus")
Also update documentation (manpage, userguide).
To make the code easier to read/write when checking if a client is
floating, introduce client_is_floating().
2009-06-21 16:14:15 +02:00
Michael Stapelberg 94cead993c Don’t process autostart when restarting (new parameter -a) 2009-05-26 17:09:34 +02:00
Michael Stapelberg 6bb0c82588 Use UTF-8 for all locale types in the manpage.
Though this does not make a difference, it is a cleaner way like this.
2009-05-20 21:51:47 +02:00
Michael Stapelberg c763a07d11 manpage: Fix wrong keybindings 2009-05-03 16:52:53 +02:00
Michael Stapelberg eb201abdaa Manpage: Remove alpha warning, remove TODO list and add a hint to the bugtracker instead 2009-04-30 17:31:09 +02:00
Michael Stapelberg 1d4e311abb Update manpage 2009-03-16 08:18:52 +01:00
Michael Stapelberg eb2ceb95bf Cleanup makefiles, add version to i3 -v and i3 startup 2009-03-15 23:15:16 +01:00
Michael Stapelberg cb9c7078be Implement kill-command to kill the current window, document it 2009-03-14 22:09:36 +01:00
Michael Stapelberg cc0b060628 Implement exit command, document it in manpage, add it to defaultconfig (Mod1+Shift+e) 2009-03-14 21:31:22 +01:00
Michael Stapelberg 21e62ae9b7 Add docbook-xml as build dependency, revert last commit 2009-03-14 18:55:47 +01:00
Michael Stapelberg a6f00488d6 Add -L to not invoke xmllint which fails on some systems because it can’t download the DTD 2009-03-14 18:45:55 +01:00
Michael Stapelberg 70644c6379 Update the overview of default bindings 2009-03-14 01:26:09 +01:00
Michael Stapelberg 95cd4334a9 Fix errors in i3.config, update manpage 2009-03-14 01:21:51 +01:00
Michael Stapelberg b51604bde6 Update default config/manpage 2009-03-08 00:51:38 +01:00
Michael Stapelberg f90563011f Implement option parsing (-c <configfile>) 2009-03-04 16:06:39 +01:00
Michael Stapelberg 3911d18982 Implement moving windows to other workspaces 2009-03-04 08:59:03 +01:00
Michael Stapelberg 2bcf7b32d7 More examples in the manpage 2009-02-26 22:36:07 +01:00
Michael Stapelberg 761e8c07e0 Update manpage 2009-02-25 01:18:07 +01:00
Michael Stapelberg 57f631b7a7 Add first version of a manpage 2009-02-15 18:51:19 +01:00