screen -S 12129.testsession -X sessionname newname
(option -X sends a command "sessionname" to a screen)
https://www.crybit.com/rename-screen-sessio
Voting 0
The idea is that the first user creates an UNIX socket, the rest are connected to that.
== /etc/pulse/default.pa: ==
load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulseaudio-socket
== /etc/pulse/client.conf ==
default-server = unix:/tmp/pulseaudio-socket
pulseaudio -k
pulseaudio -D
https://bbs.archlinux.org/viewtopic.php?id=221719
Voting 0
-
https://github.com/SimulaVR/Simula
Voting 0
xdg-mime default org.gnome.gedit.desktop text/plain
https://superuser.com/questions/12484...-as-default-for-all-supported-types-i
Voting 0
event=button/power PBTN
action=dosuspend
"acpid -ld" to start a stand alone verbose acpid to see the event names
Duplicates from "input layer" and "netlink layer" can cause issues (be specific)
https://superuser.com/questions/69990...change-behavior-of-linux-power-button
Voting 0
/etc/systemd/logind.conf
HandlePowerKey=ignore
https://askubuntu.com/questions/36291...utton-to-shutdown-directly-the-system
Voting 0
Regenerating configure files
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in
https://github.com/SIPp/sipp/issues/61
Voting 0
base=$(cut -d '.' -f1 /proc/uptime);
seconds=$(date +%s);
dmesg | sed 's/]//;s/).( ^ » *)(.*)/1n3/' |
while read first; do
read second;
first=`date +"%d/%m/%Y %H:%M:%S" --date="@$(($seconds - $base + $first))"`;
printf " %s » %sn" "$first" "$second";
done
http://unix.stackexchange.com/questio...readable-dmesg-time-stamps-on-openwrt
Voting 0