Processed: Re: Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Processing commands for [EMAIL PROTECTED]: > reassign 230422 x11-common Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d} Bug reassigned from package `xfree86-common' to `x11-common'. > thank you Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
reassign 230422 x11-common thank you > Yes, it does. We would for example like to kill processes, remove > temp files or similar, and it would be a lot easier if some Xreset.d/ > like mechanism is available. > > For example, we would like to supply a script in the debian-edu-config > package to clean up commonly left behind processes when a user log > out, and get it enabled without having to edit any file, especially a > file in another package. > Ok, thanks. Reassigning to x11-common since xfree86-common does not exist anymore. > Sorry for missing the ping. Better late than never :) Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
reopen 230422 thanks [Brice Goglin] > About 3 years ago, you reported a bug to the Debian BTS regarding > the missing /etc/X11/Xreset{,.d}. Does this problem still matter > today? If not, I will close this bug in the next weeks. Yes, it does. We would for example like to kill processes, remove temp files or similar, and it would be a lot easier if some Xreset.d/ like mechanism is available. For example, we would like to supply a script in the debian-edu-config package to clean up commonly left behind processes when a user log out, and get it enabled without having to edit any file, especially a file in another package. > Closing this bug since I didn't get any reply from the submitter > after my ping a month ago. If anybody ever reproduces this problem, > feel free to reopen. Sorry for missing the ping. Friendly, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Hi, About 3 years ago, you reported a bug to the Debian BTS regarding the missing /etc/X11/Xreset{,.d}. Does this problem still matter today? If not, I will close this bug in the next weeks. Thanks, Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
[Marc Wilson] > What patch would you be adding against xdm, exactly, since xdm already > knows how to do this quite well on its own? Something like inserting a file with something like this: #!/bin/sh # Do xdm specific stuff here # invoke global X reset script . /etc/X11/Xreset # Do more xdm specific stuff here The file /etc/X11/Xreset could then include something like this (copied from Xsession): #!/bin/sh message () { # pretty-print messages of arbitrary length; use xmessage if it # is available and $DISPLAY is set MESSAGE="$PROGNAME: $*" echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} >&2 if [ -n "$DISPLAY" ] && which xmessage > /dev/null 2>&1; then echo "$MESSAGE" | fold -s -w ${COLUMNS:-80} | xmessage -center -file - fi } errormsg () { # exit script with error message "$*" exit 1 } internal_errormsg () { # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message # One big call to message() for the sake of xmessage; if we had two then # the user would have dismissed the error we want reported before seeing the # request to report it. errormsg "$*" \ "Please report the installed version of the \"xfree86-common\"" \ "package and the complete text of this error message to" \ "." } run_parts () { # until run-parts --noexec is implemented if [ -z "$1" ]; then internal_errormsg "run_parts() called without an argument." fi if [ ! -d "$1" ]; then internal_errormsg "run_parts() called, but \"$1\" does not exist or is" \ "not a directory." fi for F in $(ls $1); do if expr "$F" : '[[:alnum:]_-]\+$' > /dev/null 2>&1; then if [ -f "$1/$F" ]; then echo "$1/$F" fi fi done } SYSSESSIONDIR=/etc/X11/Xreset.d SESSIONFILES=$(run_parts $SYSSESSIONDIR) if [ -n "$SESSIONFILES" ]; then for SESSIONFILE in $SESSIONFILES; do . $SESSIONFILE done fi exit 0 If all ?dm implementations in Debian supported this, it would be easy for the Debian-Edu / Skolelinux to hook into the configuration. Of course, we could add separate hooks for each ?dm package and try to keep them in sync, but the task is so similar that I believe it is best to store it in one file shared by all display managers. > See xdm(1). I've read it. :)
Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
On Fri, Jan 30, 2004 at 11:23:50PM +0100, Petter Reinholdtsen wrote: > > Package: xfree86-common > Version: 4.2.1-16 > Severity: wishlist > > In skolelinux, we would like to run a script when the users are > logging out, to do general cleanup. For this, it would be useful if > the display managers had hooks in Xreset we could use to have our > script executed. > > Could you please add /etc/X11/Xreset and /etc/X11/Xreset.d (like the > current /etc/X11/Xsession{.d}), and thus make it possible for the > display managers to share one such file? > > If you are interested in adding this feature, I'll provide a patch and > send bugreports against wdm, xdm and kdm to ask them to use this file. What patch would you be adding against xdm, exactly, since xdm already knows how to do this quite well on its own? Well, it doesn't do anything silly like /etc/X11/Xreset.d, but it does support Xreset and has pretty much forever. The fact that Debian doesn't ship one just means that you get to create one. See xdm(1). -- Marc Wilson | For the next hour, WE will control all that you see [EMAIL PROTECTED] | and hear.
Bug#230422: xfree86-common: Should include /etc/X11/Xreset{.d}
Package: xfree86-common Version: 4.2.1-16 Severity: wishlist In skolelinux, we would like to run a script when the users are logging out, to do general cleanup. For this, it would be useful if the display managers had hooks in Xreset we could use to have our script executed. Could you please add /etc/X11/Xreset and /etc/X11/Xreset.d (like the current /etc/X11/Xsession{.d}), and thus make it possible for the display managers to share one such file? If you are interested in adding this feature, I'll provide a patch and send bugreports against wdm, xdm and kdm to ask them to use this file. (Not sure why gdm do not include a Xreset file, but it did not appear on http://packages.debian.org/cgi-bin/search_contents.pl?word=Xreset>). I'll file a bug on gdm too just to keep all of them consistent. :)