-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added more audio and video players updated GNOME rules for GNOME3 (not sure if GNOME Shell is any better in terms of cgroups than gnome-panel, haven't tested that) added UI rules for Pantheon Shell and Unity added low-prio rules for BitTorrent clients added high-prio rule for D-bus added memory limit rules for GUI terminals with potentinally infinite scrollback added high-prio rules for screencasters (can be used as a base for matching realtime video capture)
- Loading branch information
Showing
10 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# torrent clients, downloaders, all that stuff | ||
# TODO: find a way to do network scheduling | ||
#maybe Trickle will work for that... | ||
# I'm not completely sure what prio should I use for | ||
# such things... let them be daemons for now. | ||
|
||
# Multi-frontend | ||
transmission* daemon.bg | ||
deluge* daemon.bg | ||
# qbittorrent has Qt and command-line UIs | ||
qbittorrent* daemon.bg | ||
|
||
# GNOME/GTK | ||
flush daemon.bg | ||
gnome-btdownload daemon.bg | ||
|
||
# KDE/Qt | ||
ktorrent daemon.bg | ||
|
||
# TODO: | ||
#bittornado and vuze are missing, | ||
#because they use complicated name patterns. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# dbus-daemon powers interprocess communication, so it should be responsive. | ||
dbus-daemon user.bg_high inherit=0 | ||
|
||
#TODO: | ||
# Find out what do "dbus" processes do | ||
# Consider realtime privileges |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# GUI terminals | ||
|
||
# the problem about them is that when they're set to | ||
# infinite line width, they may eat up all available RAM. | ||
|
||
gnome-terminal user.poison reason=memory inherit=0 | ||
pantheon-terminal user.poison reason=memory inherit=0 | ||
konsole user.poison reason=memory inherit=0 | ||
yakuake user.poison reason=memory inherit=0 | ||
evilvte user.poison reason=memory inherit=0 | ||
guake user.poison reason=memory inherit=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Pantheon Shell | ||
|
||
plank user.ui | ||
wingpanel user.ui | ||
slingshot user.ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# screencasters | ||
|
||
kazam user.bg_high | ||
eidete user.bg_high | ||
cmd:ffmpeg*x11grab* user.bg_high | ||
cmd:avconv*x11grab* user.bg_high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Ubuntu-specific stuff | ||
|
||
# This file is created for elementary OS | ||
# and incorporates rules useful for ubuntu | ||
# and its derivatives | ||
|
||
# aptdaemon is a notorious background resource hog | ||
aptd daemon.bg | ||
|
||
# makes LiveUSBs, usually lengthy process | ||
usb-creator-* user.idle | ||
|
||
# ubuntu's notification system | ||
notify-osd user.ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Unity | ||
|
||
unity-panel-service user.ui | ||
unity-2d-* user.ui | ||
unity-window-decorator user.ui | ||
cmd:*/usr/lib/unity-lens-* user.ui | ||
cmd:*/usr/lib/unity-scope-* user.ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters