Robert Schütz
b0067b6027
Make it the third option
...
Because it doesn't make sense to source /etc/cdmrc before the one in
$XDG_CONFIG_HOME
2016-01-29 23:01:05 +01:00
Robert Schütz
66d537eee1
Source $XDG_CONFIG_HOME/cdm/cdmrc as fourth option
2016-01-29 14:11:16 +01:00
polyphemus
19a610675d
Exit with return code 2 when dialog selection was canceled
...
This makes it more practical to use 'cdm && exit' in a tty when you
decide to cancel when you're already in the dialog selection window.
2014-03-22 15:17:48 +01:00
Rob Cornish
d897a52323
Added optional logging of startx output
...
Previously all startx output from cdm-xlaunch was sent to /dev/null.
This commit adds a 'startxlog' configuration option which allows this
behaviour to be overridden.
2014-03-09 22:45:23 +11:00
Casper Ti. Vector
0cc83fe4f1
cdm-xlaunch: again fix the background process issue.
2013-05-22 13:52:26 +08:00
Casper Ti. Vector
cf9c480864
cdm-xlaunch: fix typo introduced in commit 3c8e2bab
.
2013-05-22 00:57:06 +08:00
polyphemus
e2f4ccfcf8
Fix passing multiple arguments to programs from Exec key from .desktop files. Was missing quotes around variables, now checks which's return code.
2013-04-04 13:37:39 +02:00
Ghost1227
b70bbc45a0
Merge pull request #23 from polyphemus/develop
...
Miscellaneous cleanup
2013-04-03 09:15:22 -07:00
polyphemus
f8ff090e92
Add '/usr/share/xsessions' to comments as possible sessions location.
2013-04-03 11:42:51 +02:00
polyphemus
3412c9dc7c
Check if directories exist before try to \'find\' files in them.
2013-04-03 11:39:18 +02:00
polyphemus
536010fea5
Cleanup of $binlist behaviour. Show error when no programs are found. Don't use $countdown if only one program is available. Don't call clear when only one program is available/dialog is not called.
2013-04-03 11:38:49 +02:00
polyphemus
91eb686b79
Small wording changes in comments.
2013-04-03 11:13:24 +02:00
polyphemus
1d7c337d60
Make alternative method of calling startx a configuration option. This changes the default startx call back to not using a subshell.
2013-04-03 11:03:55 +02:00
Ghost1227
89473c35f3
Merge pull request #21 from polyphemus/startx-fix
...
Small change to call to startx, run in subshell.
2013-03-25 14:53:36 -07:00
polyphemus
3c8e2bab14
Small change to call to startx, run in subshell. Previous solution failed to start on my setup (Ubuntu 12.10).
2013-03-24 23:29:24 +01:00
polyphemus
3f1389862b
Add support for /usr/share/xsessions. Only fallback on .desktop files when $binlist is not set by cdmrc or /etc/X11/Sessions/ files. Resolves issue #17 .
2013-03-24 23:23:39 +01:00
Ghost1227
07765240fd
Updated author info and copyright
2012-11-15 10:35:24 -06:00
Casper Ti. Vector
c63e76c680
Reduce nestedness in processing of `binlist'.
...
Now users can use `~' instead of `$HOME' again.
2012-11-09 23:23:00 +08:00
Casper Ti. Vector
2e61a0520e
profile.sh: revert 97afbbf0
for reasons given in comments.
2012-11-09 22:09:22 +08:00
Casper Ti. Vector
97a16d4c88
cdmrc: notify users to explicitly use $HOME' instead of
~'.
2012-11-09 22:07:59 +08:00
Casper Ti. Vector
6f01247aee
Improve quoting for serverargs' and
launchflags'.
2012-11-09 22:07:55 +08:00
Casper Ti. Vector
7aa1654039
Minor improvements to coding style.
2012-11-09 22:06:23 +08:00
Casper Ti. Vector
2ea165a1bc
cdm: simplify processing of /etc/X11/Sessions.
2012-11-09 22:06:09 +08:00
Casper Ti. Vector
b1f9ca34b2
Revert commit 2c8cc1a4
, and fix the problem in a correct way.
2012-11-09 22:05:59 +08:00
Casper Ti. Vector
0b8ca1d3b8
Polish vim modelines.
2012-11-09 19:38:20 +08:00
Casper Ti. Vector
5dce1c0dbf
cdm-xlaunch: use "$@"' instead of
$*' for better quoting.
2012-11-09 19:22:19 +08:00
Jakub Klinkovský
0931bb698f
but namelist should really contain only the basename
2012-11-06 23:02:52 +01:00
Jakub Klinkovský
26f157d868
fixed bug: binlist should contain full path because startx expects it
2012-11-06 22:44:36 +01:00
Jakub Klinkovský
ef8fe99bc9
fixed bug: flaglist not initialized properly
2012-11-06 21:00:04 +01:00
Jakub Klinkovský
2c8cc1a444
Fixed bug - '()' is not recognized as empty array
2012-11-06 19:43:04 +01:00
Esa Lakaniemi
06a8406bbf
Untrap before calling console programs
...
At least bash refuses to let you untrap signals that have been trapped by a parent process. Not untrapping it here means effectively and unrevokably disabling ^C in any child process of any child bash shell. It's irritating and confusing and probably not intended to happen.
2012-10-18 20:38:42 +03:00
Esa Lakaniemi
0404623d51
Update src/cdm-xlaunch
...
Replaced nohup with setsid: If using nohup, launching X from the first terminal will succeed but cdm will then shortly proceed to kill the process afterward. This problem is completely fixed by using setsid.
2012-10-18 20:31:08 +03:00
Jakub Klinkovský
1bb3691d37
after discussion - use spaces instead of tabs
2012-09-12 19:30:38 +02:00
Jakub Klinkovský
277ed46ee8
fixed formatting - use only tabs, no spaces
2012-09-12 18:21:22 +02:00
Jakub Klinkovský
5ec919f7c0
fixed formatting - use only tabs, no spaces
2012-09-12 18:14:21 +02:00
Jakub Klinkovský
6321427214
added option to run X in current TTY - entry in cdmrc
2012-09-12 00:12:31 +02:00
Jakub Klinkovský
97afbbf072
added option to run X in current TTY
2012-09-12 00:06:55 +02:00
Casper Ti. Vector
4c5742336b
consolekit -> ConsoleKit in comments.
2012-08-25 00:44:16 +08:00
Casper Ti. Vector
98dca034c3
Make better use of exitnormal().
2012-08-25 00:43:00 +08:00
Casper Ti. Vector
e14c9fdaf5
Redirect all output of warn() and error() to stderr.
2012-08-25 00:41:52 +08:00
Casper Ti. Vector
8dd6f4f4b8
Fix yesno() implementation.
2012-08-25 00:39:54 +08:00
Casper Ti. Vector
723149c6bd
Merge branch 'master' of https://github.com/ghost1227/cdm
2012-08-23 13:33:34 +08:00
Casper Ti. Vector
6eb00db562
Convert Gentoo-specific code to more universal form.
2012-08-23 12:59:02 +08:00
Casper Ti. Vector
adc4e7270b
Fix config file sourcing.
2012-08-09 14:59:32 +08:00
Casper Ti. Vector
4fbb39db0d
s/sanisation/sanitation/
2012-08-08 21:42:50 +08:00
Casper Ti. Vector
8c3367cadf
% s/\$self/\$name/g
2012-07-27 22:14:39 +08:00
Casper Ti. Vector
589b6a2f5a
Minor adjustment to order of options.
2012-07-27 22:13:21 +08:00
ShadowKyogre
d0a3ae0176
Officially fix this issue: https://bbs.archlinux.org/viewtopic.php?pid=1130930#p1130930
2012-07-16 18:45:45 -07:00
Casper Ti. Vector
320df8e1d0
Minor rewording.
2012-06-04 21:42:41 +08:00
Casper Ti. Vector
102a680db4
More logical order of options...
2012-05-13 17:03:44 +08:00