Tag: linux

  • Fix the screenshot keyboard shortcut

    Fix the screenshot keyboard shortcut

    by

    in

    I love my Logitech MX Keys for Business keyboard. It is wireless, has a low profile and feels soft. I got one for work, and then one for home as well. But they turn out to be slightly different. For one of them, the screenshot key wasn’t working with my Dell Precision 5480 with Ubuntu…

  • Fix SSH backspace coming out as “^?”

    by

    in

    When using SSH at FS Data, pressing backspace in Vim were coming out as ^? so editing files was a hassle. (I am on a Linux workstation btw.) I found a solution in the Vim documentation, via a Stack Overflow post. I just opened ~/.vimrc and added the following: :if &term == “xterm-256color” :  set…

  • PhpStorm keymap in Ubuntu

    by

    in

    I am used to using PhpStorm on a Mac, but now I am with Ubuntu on a ThinkPad so the keymapping is all off. I want to use the Mac OS X keymap, but contrary to my expectation, pressing the Windows key does not produce the Meta symbol so I cannot access half the shortcuts.…

  • Single-machine dev mail setup

    by

    in

    I sometimes work on websites where sending email is a central task. To be able to efficiently test my code on my Ubuntu development machine, I have created a simple setup from the following requirements: No mail should reach the internet I should be able to quickly read every message that is “sent” from PHP…