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

How to get shared folder to work with a virtual ubuntu in Virtualbox

Getting shared folder to work with a virtual ubuntu in Virtualbox is a bit of a nightmare.
Initially they simply can’t be accessed, even after re-installing Virtualbox guest add-ons.
The reason and solution is described here, but adding root account to group vboxsf didn’t work as well because of this problem: "usermod: cannot lock /etc/passwd; try again later.".

Thus, to summarize this mess, to make it work
# you have to reboot into recovery mode
# run this: mount -o remount,rw /
# then that: usermod -a -G vboxsf adminuser
# resume booting into normal mode

Problem solved.
Shared folders BTW can be found under /media.

File permissions may be fouled up on web server …

Sometimes it happens to me that after I have changed a CGI script and FTPed it over to my web server the script won’t run because it has lost its original permission settings, especially it has lost its “executable for all” file permission. The problem is: I can’t define “sometimes” more precisely. Sometimes I have to change the file permission after FTP has finished transferring the file, sometimes not. I can’t spot a pattern nor discover a fix for this. Somehow I got used to this problem and fixing file permissions became a default activity after I have transferred a file over to my web server. I even stopped wondering whether I am the only one having that problem and possibly overlooked some basic thing to avoid this, or whether this is a more common problem.

Today I have been reading this in chapter 15 of the book “Beginning Python: From Novice to Professional, Second Edition” by  Magnus Lie Hetland:

Tip: Sometimes, if you edit a script in Windows and it’s stored on a UNIX disk server (you may be accessing it through Samba or FTP, for example), the file permissions may be fouled up after you’ve made a change to your script. So if your script won’t run, make sure that the permissions are still correct.

It always feels good if you discover that you are not alone with a weird problem you have. Apparently this really seems to be a more common hiccup happening somewhere between Windows and Linux systems. Good to know.

My favorites for week 43, 2010

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

Project plans should not be “sold”, they should be discussed. I remember when I had to “sell” my first project plan to my customer. I came up with an end date far later then he had been hoping for and when I threw that on the wall we right away have been in the middle of the discussion how to handle that and finally came up with a working compromise and thus project plan ( we reduced the scope a bit and moved a few items not critical for the magical target date of my customer to later period of time ). As I said: project plans should not be sold, they should be discussed and crafted to create a solid plan instead of a promise full of false hopes. Thanks, Dilbert, for bringing that up …


ApplauseSomething to learn: my favorite tip of the weekabout changing directories in linux

You probably knew that just typing “cd” into a linux command prompt takes you to your home directory. But like me you probably did not know that typing in “cd –“ takes you back to the directory where you have been before. Now you know, thanks to Lifehacker and/or reading my blog.

Cool Something to discover: my favorite bookmark of the weekabout HTTP 404 Error Pages
HTTP 404 Error Pages are annoying, everyone certainly hates it to bump into those. In case you have no idea what I am talking about: HTTP (Return Code) 404 stands for “Page not found”. I noticed that the older the bookmarks are I try to re-use from my collection of bookmarks in Lotus Connections Bookmarks or delicious the better are my chances to bump into a HTTP 404 page. This is certainly a symptom of knowledge loss, don’t you think ? A world wide Alzheimer of internet-based human beings, so to speak. Modern documents are hypertext documents, that means they are based on links to other documents. Over time they become more and more fragmentary. We end up with tons of documents becoming incomplete and often almost unusable. Our old way to document our knowledge actually had been much more reliable, if you think about books, which last at least for a hundred years, or crafting words into stone, which were lasting for many centuries.
Nothing is more frustrating if you thought you finally found what you have been searching for and then bump into one of those ordinary HTTP 404 Error Messages. Some web server designer have thought about that dilemma and probably have not been able to fix it, but at least came up with a way to make it a bit easier for the user to accept the dilemma. A nicely designed HTTP 404 Page can get you some comfort while facing that problem, right ? Here is a collection of nice HTTP 404 Pages which might make your day and probably make you stay on that particular web server a bit longer, even it failed initially to get you the information you have been looking for.

  Something to enjoy: my favorite photo  on flickr under a Common Creative licenseabout Homer Simpson and Copyright

"Homer" by Thomas Hawk.

Since I posted a screen shot featuring Homer Simpson above this one from Thomas Hawk might be a good fit here for this blog posting.

At this point I start wondering how licensing and copyright works if someone takes a photo of lets say a painting, a logo, a photo from another photographer, or a merchandising product, and publishes this under a Creative Commons license for instance, thus allowing to share this material. If there is a copyright on the object he or she photographed, which now is the valid license to consider ?

I am glad I am no lawyer in these days. Currently I am involved in preparation work to license a piece of software we have developed to a customer. One part of it is determining the Country Of Origin, which requires to identify and assess all the components used to craft this software. We have probably a dozen or more open source components in there plus a few more which are either commercial somehow or have an undetermined status. This – I can tell you – is a real bureaucratic nightmare !

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

If you’re a leader, you don’t push wet spaghetti, you pull it.

I’d say: “If you are a leader you don’t push wet spaghetti, you delegate how to move spaghetti around”. And leave it up to your underlings how to do it best.  Or do you suck at delegating ? Then this Lifehacker article might help: “Why I Suck at Delegating (and You Might, Too)”. And don’t micro-mange ! If they want to push the spaghetti, let them push it ! “Delegate Effectively by Skipping the How-To Session” ( another Lifehacker article this is ).

My favorites for week 42, 2010

Still in catch-up mode. 5 more weeks to go to sync with my corporate blog …

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

This comic strip from “B.C.” is about leadership, obviously. In animal kingdom the leader is called the “alpha” whatever. And he or she usually has to fight for that position to ensure he or she is the strongest one. Same principle in corporate kingdom ? Sort of, more or less.

Anyway, the leader in this comic strip looks pretty relaxed. Leaders in our corporate world usually don’t. They are busy, active, always under pressure. I actually would think a good leader looks like the one shown here. He or she has everything under control – his in-box, her projects, his people, her own schedule. Shouldn’t a smart leader have sufficient time to relax and just observe his troops and only stand up when something unexpected happens to fix it ? Yeah, well, true, probably. It is just: so many unexpected things happen every day. And things of course are unexpected when you didn’t expect them. How obvious is that ? Wouldn’t the objective of smart work and planning be to reduce the unexpected and have plans available when they kick in, so that you still have time for a drink when dealing with it ?


NerdSomething to watch: my favorite video clip of the weekabout the evolution

This little video on youtube takes us through the evolution of life, human culture, technology and finally software. The software evolution takes us through the several releases of Windows and ends with …. Linux of course. I am sure linux enthusiasts will love it !


ApplauseSomething to learn: my favorite tip of the weekabout Lotus Notes Hot Keys

Did you know that you can use F2 / Shift+F2 to quickly increase / decrease font size of a marked piece of text in Lotus Notes ?

  Something to enjoy: my favorite photo  on flickr under a Common Creative licenseabout a morning trip on the River Li

The Li River
"The Li River" by Trey Ratcliff.

Trey Ratcliff had to get up quiet early in the morning and overcome a few hurdles before he could start this trip while it still was dark – on a tiny little bamboo raft. The story behind this photo ( read the description in flickr ) is as interesting as the photo itself. A good photo, I think, deserves at least a meaningful title, and a good description can make it much more valuable.

Something to talk about: my favorite quote of the weekabout knowledge management

There is nothing new under the sun but there are lots of old things we don’t know.

True ! If something is new it is just new to us, since we are the one who didn’t know it before.  And apparently I am good in saying obvious things in this blog posting.

My favorites for week 36, 2010

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

So, how is it going with your 3D-relationships ? Do you have any ? If not, you might want to turn off your computer and get you some. OK, you can try to get some pseudo 3D-relationships in SecondLife or any other virtual world, but come on: that’s not the same. Moderately Confused ? Never mind.

Cool Something to discover: my favorite bookmark of the weekabout linux commands

This week I bumped into some nice primers and reference material about linux commands and a good comparison of linux and DOS commands:

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

M31 - Andromeda Galaxy (NGC 224)
"M31 – Andromeda Galaxy (NGC 224)" by Rocket~Man.

Rocket-Man seems to be a hobby astronomer and is taking nice shots from galaxies and planets. Check out his photo stream here or the one I am posting this week showing the Andromeda Galaxy …

Something to talk about: my favorite quote of the weekabout self confidence

  To conclude: once you stop investing in yourself your are lost. Never get that far !