I work in a shared Linux – Window environment and sharing files between computers has always been somewhat cumbersome. Most of the time I was able to access files in a shared folder on the Window machine from my Linux computer. But I never got it to work the other way around. The Windows computer simply did not see the shared folders on my Linux computer.
There are numerous blogs, email threads and forum articles dealing with similar problems. Solutions, if any, often involved tweaking Samba configuration. Alas, none ever worked for me.
And then I came across this observation in an email thread on Ubuntuforums that “a computer name in excess of 15 characters becomes invisible on the network”. Sure enough, my computer name was longer than 15 characters.
Could the solution really be that simple!? Yes, it was that simple! After changing my computer name it immediately was visible in Networks on the Window computer!
If you have similar problems with your Windows computer not seeing your shared folders on your Linux computer, you may first want to check the length of your computer name before diving into more complicated solutions. You can see your current hostname by opening a terminal and typing on the command line:
If the name turns out to be longer than 15 characters, you can change it temporary by typing on the command line:
sudo hostname NEW_HOSTNAME_HERE
This will change the hostname until next reboot. To change the name permanently, you need to edit the host files. You can do this by running
sudo gedit /etc/hostname
sudo gedit /etc/hosts
Instead of using gedit, you can of course use your favourite text editor. In both files, change the name to what you want and save them. You need to restart the computer to apply the change.
Since I have switch from Windows to Linux, many years ago, things have started to look a lot brighter for those wanting to use GRASS on Windows. I won’t switch back to Windows any time soon, but I recently had to install WinGRASS for somebody else. And it was a whole lot easier than I had feared (or even hoped).
But there is one thing I couldn’t immediately figure out; how to run R from within GRASS. I should add that I installed GRASS using the OSGEO4W installer. When installing GRASS using the stand alone installer, access to R from the GRASS command line should work out-of-the-box (see comment from Helmut in the comment section below).
After a bit of trial and error, I came up with the steps below. It involves editing a file to tell GRASS where to look for executables. In the example below I am adding the path to the R and rstudio executables to this file. Having done that, I can now type R.exe or rstudio.exe on the GRASS command line to open these programs. Continue reading
Since Ubuntu 13.10 Google earth cannot be installed out of the box on Ubuntu 64-bit systems because it requires the deprecated ia32-libs package. The previous solution I wrote about, for Ubuntu 13.10, did not work this time. I got Google Earth to run, but it crashed all the time.
I then found the googleearth-package which downloads the latest stable Google Earth installer from Google and creates a package for you. You can then install and remove the created package at will.
But the easiest solution, Continue reading
I just bought a small Wacom drawing tablet to use as alternative mouse and for my photo editing. According to the manual this tablets, like most on the market, are only compatible with Windows or OS X. To use it, you first need to install some drivers, restart your computer and connect your tablet. Fairly straightforward, isn’t it?
But what if you want to use this on your Linux computer? Continue reading
Google earth cannot be installed on Ubuntu 64-bit systems anymore. It requires the ia32-libs which is unfortunately deprecated in Ubuntu 13.10. Luckily I found a solution by mc4man on the Ubuntu Forums. For my own, and perhaps your convenience, I am repeating the instructions here.
Update: for instructions for Ubuntu 14.04, see here.
I upgraded to Ubuntu 12.10 Quantal Quetzal about two weeks ago. As usual, there are a number of new or improved features and changes, the arguably most controversial being the Dash’s Amazon integration. What has not changed, unfortunately, is the problem of the global menubar in LibreOffice. Even more unfortunate, the temporary solution using “unity –reset” I wrote about before does not work anymore. Continue reading
Ubuntu has this new overlay-scrollbars for some time now. They look good I think, but unfortunately, they do not play nicely with GRASS GIS.
So what if you want to keep them for most programs, but disable them from specific applications like GRASS? On AskUbuntu you can find different solutions, check it out.