Rotate Monitor under Linux

I have a pivot monitor and want to set it up correctly. First you get a list of your connected displays with the command

This says something like

HDMI-0 connected 1920×1200+1920+0 (normal left inverted right x axis y axis) 593mm x 371mm
1920×1200     59.95*+  59.88
1920×1080     60.00    59.94    50.00    60.05    60.00    50.04
1680×1050     59.95
1600×1200     60.00
1440×900      59.89
1400×1050     59.98
1280×1024     75.02    60.02
1280×960      60.00
1280×720      60.00    59.94    50.00
1152×864      75.00
1024×768      75.03    70.07    60.00
800×600       75.00    72.19    60.32    56.25
720×576       50.00    50.08
720×480       59.94    60.05
640×480       75.00    72.81    59.94    59.93
480×576       50.00
480×480       59.94

And if you have more than one displays this is repeated with e.g. HDMI-1 if bot are connected via HDMI. For display port it says DP-0 and so on.

To rotate this display there are the the following commands:

 

Enterprise Architect 11/12 under Wine

To install EA under Linux with wine there are a few steps to take before it works and you are able to run EA plugins:

  • Install winetricks
  • Prepare a 32bit wine runtime with WINEARCH=win32 WINEPREFIX=~/.wine winecfg (just click ok in the dialog)
  • winetricks allfonts (this exited with an exit code on my machine, but this was no problem)
  • winetricks msxml3 mscml4 mdac28
  • winetricks dotnet40 corefonts (needed for plugins – not sure if corefonts is necessary)
  • After that you can install your .exe files with wine xyz.exe and .msi files with wine msiexec /i abc.msi

Infos taken from Sparx Systems and Wine.

Ubuntu 15.10 “error: symbol ‘grub_efi_find_last_device_path”

Updating to the latest grub version (at the moment 2.02~beta2-29ubuntu0.3) leads to “error: symbol ‘grub_efi_find_last_device_path’ not found” when I try to start Windows on my dual boot system having Ubuntu 15.10 next to Windows 10.

This can be fixed by downgrading to the version before the latest one in the ubuntu repository till this bug is fixed.

Here is how I downgraded my grub installation:

Without the hold line apt would install the latest version on the next upgrade. As soon as the bug is fixed you can remove the hold mark with

Disable Guest Session in Ubuntu 15.10

Ubuntu 15.10 is using lightdm desktop manager. man lightdm says that it is using /etc/lightdm/lightdm.conf for configuration. Ubuntu 15.10 does not include such a file. To disable the guest session create the file (/etc/lightdm/lightdm.conf) with following content:

 

Menu with icons in Fedora 22/23

To enable menu icons in gnome-shell this command does the trick:

Tested under Fedora 22 and 23.

docker as normal user under Fedora 23

See https://docs.docker.com/v1.6/installation/fedora/

“The docker command line tool contacts the docker daemon process via a socket file /var/run/docker.sock owned by root:root. Though it’s recommended to use sudo for docker commands, if users wish to avoid it, an administrator can create a docker group, have it own /var/run/docker.sock, and add users to this group.”

Don’t forget to relogin to make this change take effect.

Install nvidia GTX980 driver in Fedora 23/22/21

I found a good and working tutorial unter http://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/.

Here my notes for Fedora 23 and my GTX980:

 

Install Docker in Ubuntu 12.04 Precise

First make sure you have the latest version and an actual kernel running. Execute theses commands as root:

Then install docker with the following lines as root:

After this docker should be up and running. Rry using “docker ps” as root or with sudo.

docker on Linux Mint 17.2 Rafaela

There seem to be some missing dependencies in docker.io package. Here are the steps to get docker running in Linux Mint 17.2:

If you want to use docker as simple user you have to add this user to the docker group. Don’t forget to relogin if you add your actual user to a new group.