Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-16 Thread Greg Wooledge
On Fri, Dec 13, 2019 at 04:50:18PM -0600, David Wright wrote: > > PS1='\u@\h $(date +"%d %b %Y %H:%M:%S") :\w\$ ' > > Could \D{format} not do that? Oh, good catch. I've... never used that before. ;-) I scanned the PROMPTING section of the man page too quickly and only saw the \t \T \@ \A parts.

Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread Vipul
> if [ "$color_prompt" = yes ]; then > > PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\$ > ' You forgot to add "\d", in PS1 value, that explains different behavior of prompt in console and Guake. May be, this could fix the problem if [

Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread David Wright
On Fri 13 Dec 2019 at 14:36:09 (-0500), Greg Wooledge wrote: > On Fri, Dec 13, 2019 at 07:20:53PM +, shirish शिरीष wrote: > > Can somebody share how can I have a common prompt which is ok both by > > bash and guake ? > > guake...? No idea what that is. apt-cache says it's a terminal. So > I

Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread Dan Ritter
shirish ??? wrote: > at bottom :- > > On 13/12/2019, Dan Ritter wrote: > > shirish ??? wrote: > >> Dear all, > >> > >> Can somebody share how can I have a common prompt which is ok both by > >> bash and guake ? > >> > >> bash is - > >> > >> $ guake --version > >> Guake Te

Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread shirish शिरीष
gt; I dunno. I am on debian-mate and the only thing I know is that I have guake turned on my startup application/terminal once I enter mate-session. In guake preferences in Shell option it comes the default interpretor as but doesn't tell of a way so I can have it the way I shared using the cur

Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread Greg Wooledge
On Fri, Dec 13, 2019 at 07:20:53PM +, shirish शिरीष wrote: > Can somebody share how can I have a common prompt which is ok both by > bash and guake ? guake...? No idea what that is. apt-cache says it's a terminal. So I'm just going to assume that it works like any other terminal -- bash run

Re: how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread Dan Ritter
shirish ??? wrote: > Dear all, > > Can somebody share how can I have a common prompt which is ok both by > bash and guake ? > > bash is - > > $ guake --version > Guake Terminal: 3.6.3 > VTE: 0.58.2 > VTE runtime: 0.58.2 > Gtk: 3.24.13 > guake is a terminal, not a shell. What happe

how to have a common prompt in bash and guake so I can view date and time as part of prompt ?

2019-12-13 Thread shirish शिरीष
but I would like it to be something like this - shirish@debian 14 Dec 2019 00:43:04 :~$ so at any point in time I know at a glance the date and time. If I'm not mistaken it is this bit - if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\0

Re: How to change date and time format for quoting in Thunderbird?

2017-08-26 Thread Mike Kupfer
Mario Castelán Castro wrote: > When replying to a message in Thunderbird as packaged in Debian 9, the > date and time is automatically placed before the quote, like this: “On > 22/08/17 17:31, $NAME wrote:”. How can I change the format used for the > date and time? http://kb.moz

Re: How to change date and time format for quoting in Thunderbird?

2017-08-26 Thread Mario Castelán Castro
On 25/08/17 15:41, Byung-Hee HWANG (황병희, 黃炳熙) wrote: > "lambda.alex.chromebook" is my chromebook's system-name. The others is > https://raw.githubusercontent.com/soyeomul/Gnus/MaGnus/thanks-mid.rb.message-id I do not understand. -- Do not eat animals, respect them as you respect people. https://

Re: How to change date and time format for quoting in Thunderbird?

2017-08-25 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Dear Mario, In Article <71bb9099-1dac-7567-3aeb-4c1c0ecd8...@yandex.com>, Mario Castelán Castro writes: > I see you are using the “Message-id” field. This is not at all useful > for humans. "lambda.alex.chromebook" is my chromebook's system-name. The others is https://raw.githubusercontent.com

Re: How to change date and time format for quoting in Thunderbird?

2017-08-25 Thread Mario Castelán Castro
On 25/08/17 07:36, Byung-Hee HWANG (황병희, 黃炳熙) wrote: > In Article <3af44f03-ebc9-473c-2d77-36961f66d...@yandex.com>, >> When replying to a message in Thunderbird as packaged in Debian 9, the >> date and time is automatically placed before the quote, like this: “On >>

Re: How to change date and time format for quoting in Thunderbird?

2017-08-25 Thread Byung-Hee HWANG (황병희, 黃炳熙)
In Article <3af44f03-ebc9-473c-2d77-36961f66d...@yandex.com>, Mario Castelán Castro writes: > When replying to a message in Thunderbird as packaged in Debian 9, the > date and time is automatically placed before the quote, like this: “On > 22/08/17 17:31, $NAME wrote:”. How c

How to change date and time format for quoting in Thunderbird?

2017-08-24 Thread Mario Castelán Castro
When replying to a message in Thunderbird as packaged in Debian 9, the date and time is automatically placed before the quote, like this: “On 22/08/17 17:31, $NAME wrote:”. How can I change the format used for the date and time? In addition, I want to change the format of $NAME to include his e

Re: date and time lost after reboot

1999-10-23 Thread Anthony Campbell
On 22 Oct 1999, Greg Wooledge wrote: > Anthony Campbell ([EMAIL PROTECTED]) wrote: > > > I think something is writing to > > the hardware clock on closing down but what could this be? > > /etc/rc*.d/*hwclock.sh (which are symlinks to /etc/init.d/hwclock.sh). > > The relevant code from my version

Re: date and time lost after reboot

1999-10-22 Thread Greg Wooledge
Anthony Campbell ([EMAIL PROTECTED]) wrote: > I think something is writing to > the hardware clock on closing down but what could this be? /etc/rc*.d/*hwclock.sh (which are symlinks to /etc/init.d/hwclock.sh). The relevant code from my version of hwclock.sh is this: stop|restart|reload)

Re: date and time lost after reboot

1999-10-22 Thread aphro
Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- On Fri, 22 Oct 1999, Anthony Campbell wrote: > I'm finding that if I reboot, go into DOS, and then reboot to Debian > I've lost my date and time settin

Re: date and time lost after reboot

1999-10-22 Thread Jean-Yves BARBIER
On Fri, Oct 22, 1999 at 06:45:18PM +0100, Anthony Campbell wrote: > I'm finding that if I reboot, go into DOS, and then reboot to Debian ^^^ That's the PB, the simili-dos from Billou think they have the right to write to the cmos clock without notice you! Ea

date and time lost after reboot

1999-10-22 Thread Anthony Campbell
I'm finding that if I reboot, go into DOS, and then reboot to Debian I've lost my date and time settings. This isn't a battery problem because it's a laptop which is continuously plugged in; I can put it to sleep and wake it up without problems. I think something is writing t

Re: date and time

1996-12-04 Thread Paul Christenson
On Wed, 27 Nov 1996, Graeme Stewart wrote: > > "michael" == Fundamental <[EMAIL PROTECTED]> writes: > > michael> my debian time is wrong:) The time in my cmos is correct, > michael> but the time that debian displays is incorrect > > After doing a `date -s "Now"' to get the system ti

Re: date and time

1996-11-29 Thread Daniel Stringfield
On Thu, 28 Nov 1996, Fundamental wrote: > my debian time is wrong:) > > The time in my cmos is correct, but the time that debian displays is > incorrect, like really wrong. Whenever i manually set the date on it works > fine untill the next time the machine is rebooted, then it goes all screwy >

date and time

1996-11-28 Thread Christian Lynbech
The workaround I have been using is to start up windows95 and set the clock and date there. Then it remembers. I guess that DOS and windows 3 has equivalent options. But I would also like to know how to do it from within linux. ---+-

Re: date and time

1996-11-28 Thread Graeme Stewart
> "michael" == Fundamental <[EMAIL PROTECTED]> writes: michael> my debian time is wrong:) The time in my cmos is correct, michael> but the time that debian displays is incorrect After doing a `date -s "Now"' to get the system time right, use `clock -w' or `clock -wu' to set the CMOS

date and time

1996-11-28 Thread Fundamental
my debian time is wrong:) The time in my cmos is correct, but the time that debian displays is incorrect, like really wrong. Whenever i manually set the date on it works fine untill the next time the machine is rebooted, then it goes all screwy again. is there anyway to set the debian time and d