400 reputation
18
bio website
location
age
visits member for 3 years, 2 months
seen Mar 5 at 7:52

Feb
26
comment What to do when a linux desktop freezes?
Problem: some modern keyboards do not have a SysRq key... (the one I'm typing from right now doesn't, for instance - although it does have "print screen", "scroll lock" and "pause/break")
Nov
8
awarded  Popular Question
Oct
21
revised How to prevent tmux from reading .profile/.zprofile/.bash_profile
Added solution based on @Marco 's comment (would be answer if question not closed)
Oct
21
comment Changing tmux .bash_profile behavior
I asked a similar question and was redirected here. @jw013 's comment gives an effective way of changing this weird behaviour of tmux from within tmux (rather than tinkering the .*profile files), but it requires a -g flag to be effective, as in set -g default-command zsh
Oct
21
comment How to prevent tmux from reading .profile/.zprofile/.bash_profile
@Marco Your last comment actually solved my problem perfectly. Thanks a lot! And sorry for the (mostly) duplicate question...
Oct
21
comment How to prevent tmux from reading .profile/.zprofile/.bash_profile
@jasonwryan I somehow missed that comment - and in fact it doesn't work as is, sadly, but Marco's variant in the comment above does exactly what I was looking for (the -g is fundamental, apparently - I'll add it to the original comment).
Oct
21
revised How to prevent tmux from reading .profile/.zprofile/.bash_profile
deleted 99 characters in body
Oct
21
revised How to prevent tmux from reading .profile/.zprofile/.bash_profile
added 754 characters in body
Oct
21
comment How to prevent tmux from reading .profile/.zprofile/.bash_profile
regarding duplicate question : I did find unix.stackexchange.com/questions/61719/… while searching before, but I don't want to test for tmux from within my .*profile scripts, but rather to change something on .tmux.conf so that shells in tmux don't read those scripts. Will edit question accordingly.
Oct
21
comment How to prevent tmux from reading .profile/.zprofile/.bash_profile
@Marco : then why do the shells within new tmux sessions, windows and panes behave like login shells, whereas the shells inside a new xterm don't and other subshells don't?
Oct
21
asked How to prevent tmux from reading .profile/.zprofile/.bash_profile
Sep
24
answered Why not always use rsync?
Sep
3
comment Executing a script in .zshrc
Shouldn't the last line be . x rather than . z?
May
1
comment How to do integer & float calculations, in bash or other languages/frameworks?
Just always use bc -l rather than plain bc, then never worry about scale.
Jan
19
awarded  Popular Question
Jul
31
accepted convert single-page landscape pdf into rescaled double-page portrait pdf
Jul
31
comment convert single-page landscape pdf into rescaled double-page portrait pdf
This worked when commenting out p.scaleBy(math.sqrt(2)), which for some reason produced a blank output pdf. Fortunately, evince is smart enough to print the resulting split pdf in full A4 anyway, so this did answer my question and avoids using any explicit geometry, which is a really good thing. Note on ArchLinux: first line must be explicitly #!/usr/bin/env python2 as python3 is the default.
Jul
27
answered convert single-page landscape pdf into rescaled double-page portrait pdf
Jul
27
comment convert single-page landscape pdf into rescaled double-page portrait pdf
Folllowing a link from your link, I found a way to do it. I'm going to add it as a separate answer for clarity.
Jul
27
comment convert single-page landscape pdf into rescaled double-page portrait pdf
@Marco Thanks for the tip! Do you have a suggestion for an alternative?