Enabling 1366×768 resolution in Windows 10

I have been struggling for a while to set this up: enabling  Display Settings so that they would support the 1366×768 resolution of my TV screen, after I connected my laptop with Windows 10 installed to my TV.1) In Display Settings this resolution simply was not offered.

Until I figured out this setting in Display Settings –> Advanced Display Settings –> Display Adapter Properties –> Monitor:

Removing the check mark from this check box revealed the resolution I was looking for. Apparently Windows didn’t have much of a clue about the connected monitor. OK, I admit, I connected it via a simple VGA cable.


1)I gave up on ubuntu, too many things didn’t work out of the box ( like sending laptop to sleep when closing the lid ), too much googling and obscure hacking needed, and then display driver started crashing when laptop woke up later on. I do complain about Windows a lot, but Linux systems can be worse, and with Windows 10 Microsoft made a great move towards good quality.


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 wiki.ubuntu.com

Flowcharter 0.1 alpha

Last week in my drawer I discovered a very early version of Visio or ABC Flowcharter:

I probably got this in 1980 when I joined IBM. Boy, did we really draw flow charts on paper for software we wrote ? Actually we did during the programming classes I went through at the beginning.

For my diploma theses work I wrote in 1983 with Script on a mainframe computer I had to come up with some ASCII art to enrich my paper with flowcharts:

Dojo IconClass Reference

It is amazing how bad some things are documented and how many people are struggling to find the right information.

I have been doing some dojo coding recently and used some javascript code to dynamically create buttons with little icons. How to do it is described here on the dojocampus site. There is an example showing how to set the inconClass attribute to display an icon in the button, in this case a little scissor symbol; the icon class for this is called "dijitEditorIcon dijitEditorIconCut".

The next natural question would be: what other icon classes are available ? One sort of question where you start googling without ever finding a sophisticated answer to your question. You would expect to bump into some reference somewhere listing all those possible icon classes, but nada – nothing. Instead you find a lot of discussion threads where people discuss the very same issue, like for instance here and here. In the latter you read somewhere that all icons are available in /dojo-src/dijit/themes/tundra/images/editor.gif; this gets you part of the answer, at least you can see what icons are available, but you don’t get their class names.

After doing some more investigation I found all those class names actually listed in /dojo-src/dijit/themes/tundra/editor.css.

Thus I wrote a little dojo javascript to create such a reference I hope others find helpful in the future if they bump into the very same question: What Dojo IconClasses are available to create icon buttons ?

My favorites for week 14, 2011

Big GrinSomething to laugh: my favorite comic strip of the weekabout sports

The high gas prices are a nice additional motivator to do more walking / running, aren’t they ? At least according to this Moderately Confused comic strip. Well,  I must say, I usually walk when I can anyway. Having to go shopping for something here in the village I live ? I almost never use the car, either I walk or use my bicycle. Per pedes it is may be 30 minutes  extra time to walk rather than taking the car, but I think 30 minutes well invested for my health, my back, my legs, my fat balance.

Even when doing lots of sports – I play Badminton or Squash four times a week – sitting for too long is a health risk, as I learned this week through the following two articles:

Thanks, Cody J. Schaff, for blogging about it !

We actually should get up from our chairs every 20 minutes, at least for 20 seconds or so.

NerdSomething to watch: my favorite video clip of the weekabout an amazing card trick

How about an amazing card trick this week ? It actually works, as I tried it with my own card deck. Anyone out there who can explain mathematically why this works ?
The Final 3 – Amazing Math Card Trick von mismag822
… Discovered through StumbleUpon
Cool Something to discover: my favorite bookmark of the weekabout games and brains
  Lifehacker showed us today how to game our brain, how to train special skills through computer games: from better memory, language or typing skills to being better in games or even escaping  a burning house. One of my favorites is Simon, a great memory tester for your brain. The author of this game, Paul Neave, has more or those classic arcade games on his web page implemented in flash, like Pacman of course, or Tetris. A SecondLife Version of Simon is located here, by the way.

And here is another great web site: pokkisam, a collection of awesome, very creative photos used for commercial advertising. I usually hate commercials, always skip them when watching recorded TV movies or shows, simply because there are too many of those and they attack you everywhere. But I admit: some are very creative and awesome, like the photos you can enjoy on this site.
… Discovered through Delicious Random Pick.

  Something to enjoy: my favorite photo  on flickr under a Common Creative licenseabout the right place to be

Tropical Sleepaway, Bora Bora, French Polynesia
"Tropical Sleepaway, Bora Bora, French Polynesia" by foreverseptember.

You are sitting in your crowded cubicle landscape and try to focus on your work while you have to listen to several meetings and phone calls around you ? You have a red sea of unhandled e-mails in front of you and don’t know where to start ? You are rushing from conference call to conference call talking to hundreds of people you don’t know ?
Look at that picture, then close your eyes for a minute or so, and imagine how it would feel to be there now …

Something to talk about: my favorite quote of the weekabout advertising

Half the money I spend on advertising is wasted; the trouble is I don’t know which half.

As I mentioned my love-hate relationship to commercials in this blog posting this quote is a nice fit. Isn’t it amazing to see how much is funded through commercials, like free TV shows or internet sites ? Sometimes I wonder about the huge effort to provide these services for free and whether that ever would pay off. I probably underestimate the number of consumers of these services and the amount of profit they generate even only a small subset is actually “caught” by these advertisements.
If only half the money is wasted, this is probably still a good business case !?

My favorites for week 13, 2011

Big GrinSomething to laugh: my favorite comic strip of the weekabout Baseball 2.0

Things 2.0 are sometimes very different to how they used to be in the good old times, don’t you think ? How do you like this  “Moderately Confused” comic strip ?

And since we have April Fool’s day, here is another one from Wizard Of Id:

NerdSomething to watch: my favorite video clip of the weekabout a lighthouse keeper

Since a new version of Blender has been announced it is may be a good time to look at one of those awesome animation videos created with this software. Watch “Lighthouse” and learn a great message from this film. See for yourself …
The Responsibility Projecthttp://www.responsibilityproject.com/lib/flash/video-player.swf?videoID=13&location=remote
Cool Something to discover: my favorite bookmark of the weekabout Parkopedia
Recommended by Lifehacker today: Parkopedia, a well designed site giving you a great overview and detailed and valuable information like prices and reviews for 15 million parking spaces in 20 countries. I was surprised to see that it covers Mainz, Germany, as well. Whenever you come to Mainz, this is my recommended parking space: Spacious and cheap, my recommended parking place when going downtown. Probably 10 minute walk to Dome and Old Town.

Surprise Something to surprise: my favorite "I really didn’t know this" of the weekabout bees

A Lot Of Bees
"A Lot Of Bees" by Will Merydith.

Did you know that

  • one third of our food needs the help of bees to grow,
  • there are 20.000 different species of bees on the world.
  • a swarm of bees consists of 50.000 bees in summer and 20.000 in winter; a bee swarm is an excellent example for swarm intelligence and an efficient social system; such a swarm can be seen as a new life form providing much more functions than a single bee could provde.
  • one bee can dust up to 3000 blooms per day
  • dusting 15 million blooms and 300.000 flight kilometer are needed for 1 kilo honey
  • a bee queen lives 5 years and lays up to 200.000 eggs in summer
  • RFID technology is used to track thousands of bees in a single swarm as part of the beegroup project run by the University of Würzburg, Germany

Source: bild der wissenschaft 4/2011

  Something to enjoy: my favorite photo  on flickr under a Common Creative licenseabout Queenstown

"pcp-39.jpg" by Paul Clark Images.

Queenstown in New Zealand, where I have been 2 years ago, is a remarkable ski area, as Paul Clark proofs with this dramatic shot.

Something to talk about: my favorite quote of the weekabout tools

I suppose it is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail.

"Hammer" by Markus Wichmann.

I think we have the opposite problem today: too many tools to choose from, thus it is difficult to find the hammer for a given nail and thus we often use a different tool to deal with it.