News for hackers. Stuff that matters.
Re:In defence of swap: common misconceptions by hinoki on Tuesday June 09, 2020 @02:45AM (#23464326)
I’ve case you are serious, replace chrome with:

  #!/bin/bash
  echo 1000 > /proc/$$/oom_score_adj
  path_to_real_chrome
Re:In defence of swap: common misconceptions by mappu on Tuesday June 09, 2020 @03:51AM (#23464652)
What's the maintainable way of doing this, that can survive chrome package updates and also handle http URIs opened from other applications?
Re:In defence of swap: common misconceptions by steerablesafe on Tuesday June 09, 2020 @03:55AM (#23464666)
How do you typically start chrome? I guess you could just change the .desktop file somewhere in $HOME, system updates don't touch that.
Re:In defence of swap: common misconceptions by zbentley on Wednesday June 10, 2020 @02:27AM (#23474535)
Won't that just OOM-shield the shell launching chrome and not the chrome process itself?

I think you want "exec path_to_real_chrome".