Benjamin_Loison commented on issue Benjamin_Loison/linux#60 2025-02-22 12:11:01 +01:00
How to make a user able without root to share a folder with given other user(s)

So the aim is not to create a group for all (used) combinations of user permission access.

Benjamin_Loison commented on issue Benjamin_Loison/linux#60 2025-02-22 12:10:16 +01:00
How to make a user able without root to share a folder with given other user(s)
The persons:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAbVD1Fr1s/4JfZDgkHO2hSZ3jzxkp7l3r9YF4N3mMuWIw
xdDO5OF3iP+/e0hr77lftNy1wbPhK7j7fqlyaFZSHduTiHlFa…
Benjamin_Loison commented on issue Benjamin_Loison/linux#27 2025-02-22 12:06:58 +01:00
Dual boot Windows time inconsistency

Debian 12 GNOME host and guest Virtual Machine Manager virtual machine is not realtime updated on ntpdate on host.

Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-22 11:48:08 +01:00
Log /etc/rc.local std{out,err}
Bash script:
log() {
    # Should ensure that date is not evaluated at script reading
    echo `date` \"$@\"
}

log hey

sudo su --login benjamin_lo…
Benjamin_Loison commented on issue Benjamin_Loison/linux#66 2025-02-22 11:43:38 +01:00
Log /etc/rc.local std{out,err}
Bash script:
sudo su --login benjamin_loison -c "
    log() {
        # Should ensure that date is not evaluated at script reading
        echo `date`…
Benjamin_Loison commented on issue Benjamin_Loison/linux#32 2025-02-21 10:24:22 +01:00
Make my SSH aliases prefer LAN over Internet but with a single command
ssh_on_same_network_preferably CENSORED
Output:
Internet proxy
ssh: Could not resolve hostname CENSORED.ddns.net: No address associated with…
Benjamin_Loison commented on issue Benjamin_Loison/linux#67 2025-02-20 16:44:32 +01:00
Play an alarm

Should pay attention to turn back on audio if it was off, preferably should increase the alarm audio along time. If no audio is playing during all alarm audio, then could modify the global sound…

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

Can run another terminal with a fallback alarm if the SSH connection is stuck or the program takes more time than expected. However, using a single terminal would be nice and if the command end…

Benjamin_Loison commented on issue Benjamin_Loison/linux#67 2025-02-20 16:35:10 +01:00
Play an alarm
Benjamin_Loison commented on issue Benjamin_Loison/linux#67 2025-02-20 16:32:37 +01:00
Play an alarm

RDP is an alternative.

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

No matter -nodisp or not and -X the audio is not transmitted with ssh.

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

Adding -loop 0 works fine, source: the Unix Stack Exchange question 773117.

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

Could just while [ true ] but then need the command to stop at audio end, which does not seem to be the case for ffplay.

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…