Links related to tag linux

protondb : les jeux windows sous linux

Avec Proton et Steam Play, beaucoup de jeux Windows fonctionnent maintenant sur Linux !

Leftover dbus processes after launching a dbus-using application remotely and then closing the application - redhat

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 6
    • 7

Issue

  • When processes needing dbus are launched remotely (via ssh, LSF, or a similar tool), dbus processes keep running even after the main process is closed, blocking the remote session and preven...

Solution

For interactive use, make sure to launch dbus-run-session before the shell. For instance, add this to .bashrc:

if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
  exec dbus-run-session -- bash
  echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
fi

Write bash_logout script which will be in charge of killing remaining dbus-* programs for the session, assuming it's the last bash

# ~/.bash_logout

# Check if we are the "parent" shell in a ssh session
[ "$(cat /proc/$PPID/comm)" == "sshd" ] || return

cgroup=$(awk -F ':' '$2 == "name=systemd" { print $3 }' /proc/self/cgroup)
[ -n "$cgroup" ] || return

# Search for "dbus-[daemon|launch]" programs running for this session

for pid in $(cat /sys/fs/cgroup/systemd/$cgroup/tasks 2>/dev/null); do
    comm=$(cat /proc/$pid/comm 2>/dev/null)
    case "$comm" in
    dbus-daemon|dbus-launch)
        echo "Killing '$comm' (PID $pid) ..."
        kill $pid
        ;;
    esac
done
Vim 9.0 : vim online - vim

Vim 9.0 released

After many years of gradual improvement Vim now takes a big step with a major release. Besides many small additions the spotlight is on a new incarnation of the Vim script language: Vim9 script.

June 2022After many years of gradual improvement Vim now takes a big step with a major release. Besides many small additions the spotlight is on a new incarnation of the Vim script lang...

Quitter Android ou iOS pour un smartphone sous linux

Si vous êtes en quete de vous "liberer" de ces OS lourds/bourrés de trackers :P alors voici quelques projets pour cela, mais il y en a vraiment TROOOOOOP peu à mon goût

Smartphones

'Distribution' pour smartphone :

  • PostmarketOS basée sur Alpine Linux2 (la meme distrib utilisée pour faire ses tests de CI ;)
  • PureOS basée sur Debian

Trop peu de constructeurs de mobiles proposent ces solutions, hélas

Jason Self: "This is depressing to think about nonfree firmwar…" - bobcall

This is depressing to think about nonfree firmware eating the world:

Uncompressed source code of Linux 5.16.7: 1.1GB

The "source" of nonfree firmware: Over 700MB and growing so it's a good percentage of the size of the ENTIRE KERNEL ITSELF.

Free firmware with actual source code? 24.5MB and not growing

The Slackware Linux Project - slackware

Hey folks! It's been a long time, but as usual we had to get everything just exactly perfect, and you just can't rush that. We are very happy to announce the availability of the new Slackware 15.0 stable release. There have been way too many changes to even begin to cover them here, but for our dedicated user base suffice to say that you'll find things modern but also familiar. We've gone ...

Configurer Yum derrière un proxy - memo-linux

Cet article est un petit mémo sur la configuration de yum derrière un proxy.

Yum est le gestionnaire de paquets RPM utilisé sous Red Hat, CentOS ou encore Fedora.
Cependant, si la machine est dérrière un proxy Yum ne pourra pas accéder aux différents mirroires sur internet. Pour ce fair, il faut aller modifier son fichier de configuration yum.conf.

Configuration de yum derrière un proxy

Edition du f...