Re: single quote "'" in bash xterm or lxterminal

2023-12-24 Thread Mike McClain
This is reported by "xev" in response to the "'" key: KeyPress event, serial 48, synthetic NO, window 0x1e1, root 0x3af, subw 0x0, time 1860575, (170,-87), root:(1005,201), state 0x10, keycode 48 (keysym 0x27, apostrophe), same_screen YES, XLookupString gives 1 bytes: (27) "'" X

Change suspend type from kde menu

2023-12-24 Thread Valerio Vanni
Is there any way to change the way system is suspended from kde menu and from power saving in kde settings? I mean changing the command issued. I don't know exactly what the default command is, probably systemctl. /usr/sbin/pm-suspend works better with kernel modules, and I'd like to use that

Re: difference in seconds between two formatted dates ...

2023-12-24 Thread Greg Wooledge
On Mon, Dec 25, 2023 at 12:24:55AM +, Albretch Mueller wrote: > I am trying to use it in an > obvious human readable way right in the file names. With that restriction, "always use UTC" is going to be your best path forward. It should be possible to convert a well-chosen human-readable time/

Re: difference in seconds between two formatted dates ...

2023-12-24 Thread Albretch Mueller
On 12/25/23, David Wright wrote: > On Sun 24 Dec 2023 at 23:05:53 (+), Albretch Mueller wrote: >> On 12/18/23, Max Nikulin wrote: ... >> Why would %S be in the range >> second (00..60), instead of (00..59)?: > > Leap seconds—see the example already in the thread: > https://lists.debian.org/

Re: difference in seconds between two formatted dates ...

2023-12-24 Thread David Wright
On Sun 24 Dec 2023 at 23:05:53 (+), Albretch Mueller wrote: > On 12/18/23, Max Nikulin wrote: > > Timestamp format you have chosen is ambiguous. > > > > TZ=Europe/Berlin date -d '@1698539400' '+%Y%m%d%H%M%S' > > 20231029023000 > > > > TZ=Europe/Berlin date -d '@1698543000' '+%Y%m%d%H%M%S' > >

Re: difference in seconds between two formatted dates ...

2023-12-24 Thread Albretch Mueller
On 12/18/23, Max Nikulin wrote: > Timestamp format you have chosen is ambiguous. > > TZ=Europe/Berlin date -d '@1698539400' '+%Y%m%d%H%M%S' > 20231029023000 > > TZ=Europe/Berlin date -d '@1698543000' '+%Y%m%d%H%M%S' > 20231029023000 > > You had issues with setting time and timezone, so '+%s' may g

sudo+use_pty+urxvt+pipe [WAS: apt-get aborts in subshell with redirections on Debian 12]

2023-12-24 Thread John Crawley
On 26/09/2023 11:52, John Crawley wrote: On 25/09/2023 20:21, Greg Wooledge wrote: On Mon, Sep 25, 2023 at 11:14:24AM +0200, Michael wrote: so i looked into /etc/sudoers and all /etc/sudoers.d/* and found two suspicous flags: /etc/sudoers: Defaults   use_pty /etc/sudoers.d/0pwfeedback: De

Re: Help: network abuse

2023-12-24 Thread David Christensen
On 12/23/23 22:16, Timothy M Butterworth wrote: On Sat, Dec 23, 2023 at 8:58 PM David Christensen wrote: I believe Debian includes packages for various intrusion detection systems. Does anyone have any comments or recommendations? Debian has SNORT and Suricata. I use Suricata. It works well a