Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

December 13 2014

19:53
Play fullscreen
Cloud chamber @ brmlab

November 28 2014

brmlab
23:40
brmlab
22:31

Suspend firefox process when not in use with i3-wm

The task is to stop firefox process eating your resources when its just at the moment not in use. If you are using i3-wm as your window manager it is relatively easy to do. The trick is having an workspace assigned for all Firefox windows and sending STOP or CONT signals to Firefox process while switching between workspaces at the same time. Sure you can decide not to STOP when switching to a specific workspace (workspace called "mail" in this case). In the example below you can also see how to do this for unnamed workspaces (workspaces 4 a 5 has no name).

~/.i3/config:
assign [class="^Thunderbird"] 1: mail
assign [class="^Firefox"] 2: ff                         
assign [class="^Gajim"] 3: IM

set $WS1 mail
set $WS2 ff
set $WS3 IM

# switch to workspace
bindsym $mod+1 workspace 1: $WS1
bindsym $mod+2 workspace 2: $WS2; exec killall -CONT firefox /usr/lib/firefox/plugin-container
bindsym $mod+3 workspace 3: $WS3; exec killall -STOP firefox /usr/lib/firefox/plugin-container
bindsym $mod+4 workspace 4; exec killall -STOP firefox /usr/lib/firefox/plugin-container
bindsym $mod+5 workspace 5; exec killall -STOP firefox /usr/lib/firefox/plugin-container

you'll probably also want to preserve that feature when link/URL clicked in another program (i.e. mail client like Thunderbird) is opened in new tab of your firefox. For this reason, it is good idea to add following line to beginning of the shell script /usr/bin/firefox:

/usr/bin/firefox:
killall -CONT firefox
/usr/lib/firefox/plugin-container

Another good idea is to configure Firefox to use your favourite external downloader for the downloads at the background.
Reposted bydanielbohrermax-power

November 08 2014

20:50
Play fullscreen
High Voltage Marshmallows

October 22 2014

brmlab
00:23
5372 557c 500
Today's lecture on coreboot! See slides & recording. (English)

October 18 2014

brmlab
03:12
3037 dcb6 500
AS/400 up and running!
Reposted bysydnor sydnor

October 11 2014

brmlab
23:06
transillumination for DNA electrophoresis gel at biolab, very brm
Reposted bysydnorkrybusKurkaWyluzujpieszczotySzavislavMySecretGarden

October 04 2014

brmlab
20:38
Play fullscreen
Moar power!
20:32
Play fullscreen
New 20kW high voltage power supply
Reposted bymetafnord metafnord

September 07 2014

brmlab
14:31
1500 fd2f 500
Lead ingots
brmlab
14:28
1491 99bf 500
Club-Mate glass
Reposted bysydnorWeksAndidanielbohrerfetergentSpinNE555

August 30 2014

brmlab
22:02
6201 3c02 500
hardware clock

August 12 2014

brmlab
21:47
Popcorn.

August 03 2014

brmlab
12:50
4834 1bd5 500
finished.
Reposted bymetafnordalphabetlisaWeksCarridwenrashfaelSpinNE555bradypusvoydyouamn0g

July 29 2014

brmlab
21:41
0480 b0d3 500
Brmsono, second edition

July 28 2014

brmlab
11:08
5056 d183 500
Reposted byAndialphabetCarridwenbradypus
brmlab
07:40
Brmlabáci v nepřirozeném prostředí - výlet údolím Kamenice

July 12 2014

brmlab
03:56
3983 684f 500
Dawn over Brmlab

June 27 2014

brmlab
17:49
6880 9664 500
brm!
Reposted byalphabetCarridwenbradypus

June 06 2014

brmlab
23:56
6657 5095 500
Nightly weathersonde hunts. It is dawning awfully early nowadays. :-)
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl