How I installed Teamviewer 12 on Linux Mint 18.2

 

Here is how I installed Teamviewer 12 on Linux Mint 18.2 64bit:
1. Downloaded Debian package from here
2. Located file in Downloads folder, right-click, “Open with GDebi Package Installer”
3. Ran into issue about missing dependency: libdbus library
4. Ran this as recommended elsewhere, didn’t help: sudo apt-get install -f
5. Found this useful discussion thread and basically ran the first two commands recommended, then re-attempted install through package manager successfully.

sudo dpkg --add-architecture i386
sudo apt-get update

 

Advertisements

Enigma

I just wiped out Windows XP from my little Asus Eee Netbook and replaced it with an Ubuntu 16.04. Of course the Asus Eee is a weak little laptop but it turns out ubuntu runs quiet nicely on it. A modern Windows was not a good choice IMHO since it is too resource hungry, especially when I look at all the Windows services attempting to scan my mechanical hard disk. Sometimes I think Microsoft has been sponsored by flash drive manufacturer to increase market demand for their products Wink
While exploring available software in the Ubuntu Software store I discovered Enigma, a nice game I started playing right away. I used to play it some years ago and knew it under the name Oxyd. It is a puzzle game in which you control a ball with the mouse and need to find pairing oxyd stones. In some levels you have to control two little white balls and get them into a hole. Other levels are Sokoban like where you have to move stones around.

Enigma comes with tons of levels, many are real challenging !

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.

Smiley

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
"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 ).