How to enable 1366×768 screen resolution in ubuntu 16-04

It took me a while and some hacking until I figured out how to enable 1366×768 screen resolution in ubuntu 16-04 for my secondary display, a Fujitsu-Siemens TV from pre-HD era, means: HD ready but not providing the full resolution, just 1366×768.

Anyway, here is the magic:

cvt 1366 768 60
xrandr –newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
xrandr –addmode VGA-0 "1368x768_60.00"
xrandr –output VGA-0 –mode "1368x768_60.00"

This is sort of what distinguishes a linux system from a Windows system. Often you have to do a lot of weird hacking to achieve certain things.

Nevertheless, I must say, when I had Fedora 25 installed on my computer beforehand it offered 1368×768 screen resolution out of the box, ubuntu didn’t. Well, that’s what makes linux so exciting for many: the need to tinker and learn interesting technical, sometimes magical secrets.

Thanks to this internet articles I finally solved my problem:

“Resolution” in

Installed Ubuntu using Wubi under Windows XP

Today I installed Ubuntu using Wubi on my old SONY PCV-RX 202 with 512 MByte RAM and a 1.8 GHz Pentium 4 processor running Windows XP, as described here. Went nice, Ubuntu boots and works and I even can access all my other drives and directories. But a few things simply don’t work out of the box on such an Ubuntu installation:

  1. my Fritz! WLAN stick doesn’t work
  2. I can not play mp3 files
  3. I can not watch flv videos

I started to get the WLAN stick to work and followed some instructions available here. No luck. The linux driver won’t compile, to unpack the Windows driver I would need either Wine or Cabextract; so far I couldn’t figure out how to get any of the two, they didn’t show up as available packages to add to my Ubuntu install.

Besides I noticed another strange thing:

4. the blower in my computer seems to blow full power as long as I am running Ubuntu. No smart temperature management so far.

The journey continues ….

Update on February 2, 2010:

Followed these instructions to install Wine. This caused Update Manager to be activated and ask to install 213 updates. My thought: why not, may be this fixes problem # 4. ? Have been reading a lot about that problem here and here, seems to be a well known weakness in Ubuntu distributions. Isn’t is amazing what things you need to worry about as a Ubuntu user ? Never thought about fan speed while running Windows. It simply seemed to work the smart way.

Apparently none of the 213 updates fixed my fan speed problem.

Anyway, time to install Wine. Well, seems to be not that easy:

Some good news: problems # 2 and 3 are solved meanwhile. Either through the updates or the fact that I connected to my wired network and thus player have been able to download the right codecs.

Meanwhile I tried the link provided in this article to install Wine, and got this:

If they could tell me what packages are missing ? Why isn’t this resolved automatically ? Thinking.

Well, there is actually a second version of Wine offered and even it is called a Beta version I selected this one since the non-Beta version didn’t install.

“The art of finding the right Wine”

Funny enough, this beta version installed fine and a little later I had been able to finally unpack my Fritz! USB installer exe to get to the files I would need:

“Windows Files needed to get my Fritz! USB Stick to work under Ubuntu”

I followed ( kind of ) these instructions now to get ndiswrapper or “Windows Wireless Drivers” installed. I actually searched in Ubuntu Software Center for “ndis” and bumped into the “Windows Wireless Drivers”  package. After installation an entry “Windows Wireless Drivers”  showed up in the System->Administration menu.

Using this utility to add my WLAN driver caused this error:

even “Hardware present: Yes” is finally shown under “Currently Installed Windows Drivers”. I uninstalled an tried the Terminal-Command-Version of the installation procedure with the same result. ndiswrapper –l shows:

WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

fwlan : driver installed

device (057C:6201) present

Hmmm, partially good, but a bit obscure. I tried to configure my WLAN connection through network manager ( accessible from the top desktop bar ).  It detected my network “Auto Fritz!Box Fon WLAN 7113” but insists in using a “WPA & WPA2 Personal” type of security instead of the 128-bit WEP I need. Changing to WEP still makes it prompt for the WPA authentication when I attempt to start wireless. There seems to be a bug in the connection management software; it automatically adds this WPA configuration and simply ignores my WEP configuration.

What a mess !