Browsed by
Month: May 2018

Configure Windows keyboard shortcuts in XFCE

Configure Windows keyboard shortcuts in XFCE

My windows manager of choice for Linux is XFCE.

While working in XFCE I realized that I got so accustomed to the Windows 10 keyboard shortcuts for tiling windows, I wanted to have the same functionality in XFCE.

And it is no problem to make that happen.

Just go to Settings -> Windows Manager -> select the Keyboard tab. Then scroll down to “Tile windows to the …”, mark the entry you want to change and click the “Edit” button. Follow the instructions.

To tile the window to the left enter: <Super(Windows key)> + <left arrow>

Apache IfDefine and startup with sysVinit and systemd

Apache IfDefine and startup with sysVinit and systemd

To define a name for use in directives during Apache startup is an easy way to control the behavior of the webserver depending on your environment specifics.

This way you can have different configurations applied according to the context, facts you have or variables you set. It is possible to distinguish between production and development, detected facts, the hostname or a context string.
And you can have your apache config stored in a git repository which is used on two or more webservers to propagate changes easily between hosts.

These are the two use cases I want to look into:

  • having several web servers (doing the same thing) but with different hardware
  • having a development machine and one or more production machine(s) with a slightly different configuration

How would you do this?

Read More Read More