Friday, June 29, 2018

How to configure PHPStorm to use PHP-CS-Fixer

Program: /usr/local/bin/php-cs-fixer
Arguments: fix $ProjectFileDir$/src --rules=@Symfony,line_ending,full_opening_tag,indentation_type --verbose --show-progress=dots
Working Directory: $ProjectFileDir$





Keymap


Click or search for Keymap in settings. Then in the keymap window find External Tools and then again External Tools and Then whatever you named your external tool we just configured. Double click your external tool or the green pencil at the top and select Add Keyboard Shortcut from the list. Then type a key combo (I use Alt+F) and hit OK, and then, hit OK again on settings.

Alt-Tab does not switch immediately in xfce

Yes, I noticed that too! I'm surprised they forgot something as important as that.
Install CompizConfig Settings Manager:
To open terminal hit Alt+Ctrl+T and run following commands:
sudo apt-get install compizconfig-settings-manager
Or search for compizconfig-settings-manager in Software Center and install from there.
Then go to System Tools > Preferences > CompizConfig, if you can't find System Tools, look for CompizConfig Settings Manager in Unity Dash.
Go at the very bottom where it says Windows Management
Put a check-mark in Application Switcher

systemd-timesyncd

sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd