############ Various tips ############ Read vk.com without javascript on Firefox ----------------------------------------- When javascript is disabled, vk.com automagcally redirects you to a page saying "Your browser is out of date" instead of rendering the actual content, which it able to do even without javascript. To prevent the redirect, go to ``about:config`` and set the ``accessibility.blockautorefresh`` setting to ``true``. [#superuser.com-1]_ Attach to tmux session without changing DISPLAY env var --------------------------------------------------------- Sometimes I ssh into my PC from another one and attach to running tmux session, do the work, disconnect and forget about it. Tut then after a while I notice that I can't start graphical programs from the terminal, or to be precise, from the shell sessions running in the tmux panes that have been created after I did attach to tmux from under the SSH session. I found the solution in the man page of ``tmux(1)``:: If -E is used, the update-environment option will not be applied. So just use this command to attach and the ``DISPLAY`` environment variable will be untouched in tmux session:: tmux a -E Footnotes --------- .. [#superuser.com-1] `Prevent automatic redirects in Firefox / superuser.com `_