Chakib Benziane
663107c7c2
posix shell compliant
4 years ago
Evertiro
b66652d56b
Update cdm
6 years ago
Jan Beinke
4aeae144ed
Respect XDG Base Directory Specification fallback
...
This will solve #38 .
7 years ago
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
8 years ago
Robert Schütz
66d537eee1
Source $XDG_CONFIG_HOME/cdm/cdmrc as fourth option
8 years ago
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.
10 years ago
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.
10 years ago
Casper Ti. Vector
0cc83fe4f1
cdm-xlaunch: again fix the background process issue.
11 years ago
Casper Ti. Vector
cf9c480864
cdm-xlaunch: fix typo introduced in commit 3c8e2bab
.
11 years ago
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.
11 years ago
Ghost1227
b70bbc45a0
Merge pull request #23 from polyphemus/develop
...
Miscellaneous cleanup
11 years ago
polyphemus
f8ff090e92
Add '/usr/share/xsessions' to comments as possible sessions location.
11 years ago
polyphemus
3412c9dc7c
Check if directories exist before try to \'find\' files in them.
11 years ago
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.
11 years ago
polyphemus
91eb686b79
Small wording changes in comments.
11 years ago
polyphemus
1d7c337d60
Make alternative method of calling startx a configuration option. This changes the default startx call back to not using a subshell.
11 years ago
Ghost1227
89473c35f3
Merge pull request #21 from polyphemus/startx-fix
...
Small change to call to startx, run in subshell.
11 years ago
polyphemus
3c8e2bab14
Small change to call to startx, run in subshell. Previous solution failed to start on my setup (Ubuntu 12.10).
11 years ago
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 .
11 years ago
Ghost1227
07765240fd
Updated author info and copyright
12 years ago
Casper Ti. Vector
c63e76c680
Reduce nestedness in processing of `binlist'.
...
Now users can use `~' instead of `$HOME' again.
12 years ago
Casper Ti. Vector
2e61a0520e
profile.sh: revert 97afbbf0
for reasons given in comments.
12 years ago
Casper Ti. Vector
97a16d4c88
cdmrc: notify users to explicitly use `$HOME' instead of `~'.
12 years ago
Casper Ti. Vector
6f01247aee
Improve quoting for `serverargs' and `launchflags'.
12 years ago
Casper Ti. Vector
7aa1654039
Minor improvements to coding style.
12 years ago
Casper Ti. Vector
2ea165a1bc
cdm: simplify processing of /etc/X11/Sessions.
12 years ago
Casper Ti. Vector
b1f9ca34b2
Revert commit 2c8cc1a4
, and fix the problem in a correct way.
12 years ago
Casper Ti. Vector
0b8ca1d3b8
Polish vim modelines.
12 years ago
Casper Ti. Vector
5dce1c0dbf
cdm-xlaunch: use `"$@"' instead of `$*' for better quoting.
12 years ago
Jakub Klinkovský
0931bb698f
but namelist should really contain only the basename
12 years ago
Jakub Klinkovský
26f157d868
fixed bug: binlist should contain full path because startx expects it
12 years ago
Jakub Klinkovský
ef8fe99bc9
fixed bug: flaglist not initialized properly
12 years ago
Jakub Klinkovský
2c8cc1a444
Fixed bug - '()' is not recognized as empty array
12 years ago
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.
12 years ago
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.
12 years ago
Jakub Klinkovský
1bb3691d37
after discussion - use spaces instead of tabs
12 years ago
Jakub Klinkovský
277ed46ee8
fixed formatting - use only tabs, no spaces
12 years ago
Jakub Klinkovský
5ec919f7c0
fixed formatting - use only tabs, no spaces
12 years ago
Jakub Klinkovský
6321427214
added option to run X in current TTY - entry in cdmrc
12 years ago
Jakub Klinkovský
97afbbf072
added option to run X in current TTY
12 years ago
Casper Ti. Vector
4c5742336b
consolekit -> ConsoleKit in comments.
12 years ago
Casper Ti. Vector
98dca034c3
Make better use of exitnormal().
12 years ago
Casper Ti. Vector
e14c9fdaf5
Redirect all output of warn() and error() to stderr.
12 years ago
Casper Ti. Vector
8dd6f4f4b8
Fix yesno() implementation.
12 years ago
Casper Ti. Vector
723149c6bd
Merge branch 'master' of https://github.com/ghost1227/cdm
12 years ago
Casper Ti. Vector
6eb00db562
Convert Gentoo-specific code to more universal form.
12 years ago
Casper Ti. Vector
adc4e7270b
Fix config file sourcing.
12 years ago
Casper Ti. Vector
4fbb39db0d
s/sanisation/sanitation/
12 years ago
Casper Ti. Vector
8c3367cadf
% s/\$self/\$name/g
12 years ago
Casper Ti. Vector
589b6a2f5a
Minor adjustment to order of options.
12 years ago