Benjamin_Loison commented on issue Benjamin_Loison/linux#67 2025-02-20 16:24:31 +01:00
Play an alarm

DuckDuckGo search ffplay loop.

Benjamin_Loison commented on issue Benjamin_Loison/linux#67 2025-02-20 16:23:53 +01:00
Play an alarm
ffplay -nodisp alarm.opus 
Output:
ffplay version 5.1.6-0+deb12u1 Copyright (c) 2003-2024 the FFmpeg developers
  built with gcc 12 (Debian…
Benjamin_Loison opened issue Benjamin_Loison/linux#67 2025-02-20 16:12:27 +01:00
Play an alarm
Benjamin_Loison commented on issue Benjamin_Loison/linux#32 2025-02-20 12:21:49 +01:00
Make my SSH aliases prefer LAN over Internet but with a single command
ssh_on_same_network_preferably -X CENSORED
Output:
Internet proxy
unknown option -- _
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface…
Benjamin_Loison commented on issue Benjamin_Loison/cryptpad#28 2025-02-19 15:28:29 +01:00
Double clicking *Drive* file opens a new tab instead of leveraging current one

At least have the choice of the behavior.

An issue with an attachment
Benjamin_Loison created repository Benjamin_Loison/Repository_with_an_issue_attac… 2025-02-19 00:55:10 +01:00
Benjamin_Loison closed issue Benjamin_Loison/linux#66 2025-02-18 17:02:48 +01:00
Log /etc/rc.local std{out,err}
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 17:01:11 +01:00
Log /etc/rc.local std{out,err}

I tested on my host Debian 12 GNOME laptop flat wifi:

/etc/rc.local:
#!/bin/sh

LOCAL_USER_NAME=benjamin_loison
SERVER_HOST_NAME=CENSORED_VP…
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 16:45:30 +01:00
Log /etc/rc.local std{out,err}

There is no need to wait 30 seconds after boot in my Virtual Machine Manager virtual machine to access it via SSH:

autossh --help 2>&1 
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 16:42:21 +01:00
Log /etc/rc.local std{out,err}
/etc/rc.local:
#!/bin/sh

USER_NAME=benjamin_loison
SERVER_HOST_NAME=CENSORED_VPS
SERVER_PORT=2224

SCRIPT="$0"
FOLDER_NAME=`echo -n…
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 16:30:51 +01:00
Log /etc/rc.local std{out,err}

Without autossh:

cat _etc_rc_local/std{out,err}.txt
Output:
Start of /etc/rc.local at Tue Feb 18 04:24:02 PM CET 2025
End of /etc/rc.local…
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 16:22:19 +01:00
Log /etc/rc.local std{out,err}

Let us not add tail -c +2 to be precise, despite being less clean in this case.

Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 16:11:26 +01:00
Log /etc/rc.local std{out,err}
/etc/rc.local:
#!/bin/sh

SCRIPT='/etc/rc.local'
FOLDER_NAME=etc_rc_local
su --login benjamin_loison -c "
    mkdir $FOLDER_NAME/
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 15:51:00 +01:00
Log /etc/rc.local std{out,err}

Tested on Debian 12 GNOME.

Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 15:46:54 +01:00
Log /etc/rc.local std{out,err}
/etc/rc.local:
#!/bin/sh

SCRIPT='/etc/rc.local'
FOLDER_NAME=etc_rc_local
su --login benjamin_loison -c "
    mkdir $FOLDER_NAME/
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-18 15:40:46 +01:00
Log /etc/rc.local std{out,err}
head -n 5 etc_rc_local/std{out,err}.txt
Output:
==> etc_rc_local/stdout.txt <==
Start of /etc/rc.local at Tue Feb 18 03:38:16 PM CET 2025
Tue…