Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Samuel Thibault
Julien Cristau, le Fri 25 Feb 2011 18:44:22 +0100, a écrit : > Why "at best"? It sounds like checking whether the active VT is in > KD_TEXT is exactly what's needed here. No, because that may just be an fbterm, still using the normal keyboard processing, and not Xorg. Samuel -- To UNSUBSCRIBE

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Samuel Thibault
Julien Cristau, le Sat 26 Feb 2011 01:18:27 +0100, a écrit : > On Sat, Feb 26, 2011 at 01:15:33 +0100, Samuel Thibault wrote: > > > Julien Cristau, le Fri 25 Feb 2011 18:44:22 +0100, a écrit : > > > Why "at best"? It sounds like checking whether the active VT is in > > > KD_TEXT is exactly what's

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Julien Cristau
On Sat, Feb 26, 2011 at 01:15:33 +0100, Samuel Thibault wrote: > Julien Cristau, le Fri 25 Feb 2011 18:44:22 +0100, a écrit : > > Why "at best"? It sounds like checking whether the active VT is in > > KD_TEXT is exactly what's needed here. > > No, because that may just be an fbterm, still using

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Julien Cristau
On Fri, Feb 25, 2011 at 20:20:47 +0200, Anton Zinoviev wrote: > On Fri, Feb 25, 2011 at 06:44:22PM +0100, Julien Cristau wrote: > > > > Why "at best"? It sounds like checking whether the active VT is in > > KD_TEXT is exactly what's needed here. > > How can this be tested? > Something like this

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Anton Zinoviev
On Fri, Feb 25, 2011 at 06:44:22PM +0100, Julien Cristau wrote: > > Why "at best"? It sounds like checking whether the active VT is in > KD_TEXT is exactly what's needed here. How can this be tested? Anton Zinoviev -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subj

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Julien Cristau
On Fri, Feb 25, 2011 at 14:05:07 +0100, Samuel Thibault wrote: > Otavio Salvador, le Fri 25 Feb 2011 13:01:59 +, a écrit : > > if pidof X > /dev/null; then > > echo "X is running" > > else > > echo "X isn't running" > > fi > > Errr, surely not :) > > What Anton wants is to know wheth

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Lennart Sorensen
On Fri, Feb 25, 2011 at 07:30:53PM +0200, Anton Zinoviev wrote: > On Fri, Feb 25, 2011 at 12:23:27PM -0500, Lennart Sorensen wrote: > > > > Is 'fgconsole' of any help if one could combine it with knowing which > > vt's have X currently running? > > Indeed! Probably linux only though. -- Len So

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Anton Zinoviev
On Fri, Feb 25, 2011 at 12:23:27PM -0500, Lennart Sorensen wrote: > > Is 'fgconsole' of any help if one could combine it with knowing which > vt's have X currently running? Indeed! Anton Zinoviev -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Lennart Sorensen
On Fri, Feb 25, 2011 at 06:00:43PM +0100, Cyril Brulebois wrote: > Anton Zinoviev (25/02/2011): > > Testing the standard output and standard input never worked because > > they are redirected by Debconf. In particular /usr/bin/tty outputs > > "not a tty". For a long time the following code worke

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Cyril Brulebois
Hi, Anton Zinoviev (25/02/2011): > Testing the standard output and standard input never worked because > they are redirected by Debconf. In particular /usr/bin/tty outputs > "not a tty". For a long time the following code worked: > > case `readlink /proc/self/fd/2` in > /dev/tty[0-

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Anton Zinoviev
On Fri, Feb 25, 2011 at 02:05:07PM +0100, Samuel Thibault wrote: > > What Anton wants is to know whether X is currently at the front or not. > And you can't rely on DISPLAY being set (since you could be from sudo su > -), and you can't rely on stdin being the VT (since you could be from > screen).

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Otavio Salvador
On Fri, Feb 25, 2011 at 13:05, Samuel Thibault wrote: > Otavio Salvador, le Fri 25 Feb 2011 13:01:59 +, a écrit : >> if pidof X > /dev/null; then >>     echo "X is running" >> else >>     echo "X isn't running" >> fi > > Errr, surely not :) heh. > What Anton wants is to know whether X is cur

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Samuel Thibault
Otavio Salvador, le Fri 25 Feb 2011 13:01:59 +, a écrit : > if pidof X > /dev/null; then > echo "X is running" > else > echo "X isn't running" > fi Errr, surely not :) What Anton wants is to know whether X is currently at the front or not. And you can't rely on DISPLAY being set (sinc

Bug#614127: confirmed on allmachines: painfull

2011-02-25 Thread Otavio Salvador
On Fri, Feb 25, 2011 at 00:20, Samuel Thibault wrote: > Anton Zinoviev, le Thu 24 Feb 2011 07:28:18 +0200, a écrit : >> True.  Other people have complained about this too.  Unfortunately I >> don't know a reliable way to test whether we are on the console or in X >> and it is generally dangerous t

Bug#614127: confirmed on allmachines: painfull

2011-02-24 Thread Samuel Thibault
Anton Zinoviev, le Thu 24 Feb 2011 07:28:18 +0200, a écrit : > True. Other people have complained about this too. Unfortunately I > don't know a reliable way to test whether we are on the console or in X > and it is generally dangerous to reconfigure the console if X is active. Maybe dpkg-reco

Bug#614127: confirmed on allmachines: painfull

2011-02-23 Thread Anton Zinoviev
On Wed, Feb 23, 2011 at 10:57:05PM -0600, Javier Vasquez wrote: > > Found the issue with the failure, but I don't like the solution, :-) > One of the things keyboard-configuration doesn't ask, is whether there > are alternative languages to the primary ones, I suppose this is not going to change b

Bug#614127: confirmed on allmachines: painfull

2011-02-23 Thread Javier Vasquez
On Wed, Feb 23, 2011 at 10:50 PM, Anton Zinoviev wrote: > reassign 614127 console-setup > severity 614127 normal > forcemerge 614550 614127 > thanks > > On Wed, Feb 23, 2011 at 09:35:42PM -0600, Javier Vasquez wrote: >> >> Package: console-setup >> Version: 1.69 >> >> Package: xkb-data >> Version:

Processed: Re: Bug#614127: confirmed on allmachines: painfull

2011-02-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > reassign 614127 console-setup Bug #614127 [console-data] keyboard layout doesn't keep after reboot Bug reassigned from package 'console-data' to 'console-setup'. Bug No longer marked as found in versions console-data/2:1.10-9. > severity 614127 no