Archive for category Linux Stuff
This is a simple issue and most Linux users can probably figure it out rather quickly. I don't mean to offend anyone, but the error message is pretty straight-forward when it comes to the problem. However, I'll explain it to those who run into it and want to know how to fix it. Then again, I may be the only person who runs into this problem. Either way, I'm posting it for anyone who may need it.
The problem stems with the installation of jMonkeyEngine. The installer is a .sh file which which can be executed like so:
However, if you are like me, you may have ran it with sudo like this:
sudo sh JME3_SDK_Beta-Linux.sh
The good thing about using sudo is that the program will be installed for all users on the machine. I've not ran it without sudo to see if it will install for only the user running the installer, but I'm assuming that it will.
After the installation occurs, it asks you if you want to start jMonkeyEngine. If you answer yes, it will start it as root, and it will write it's hidden users directory in your home directory. The home directory will have root:root as the owner because the program was first started by the root user.
So when you go back and run the program again, it will not have access to the required folder. The solution is to change the owner of the folder. This is accomplished simply by typing this in a terminal while in your home folder (the terminal should open in your home folder automatically, but just to make sure we'll change directory into it first). In the following example the word "username" should be replace with your actual username.
cd ~/ chown -R username:username .jmonkeyplatform
You should now be able to open jMonkeyEngine. The -R, for those of you interested, means "recursive", which will change the owner of all files and folder inside of .jmonkeyplatform, not just the folder itself.
I vowed to switch to KDE after trying for a few months to find an alternative to Gnome 2, which is going the way of the Dodo. I ran into two problems initially. The system sounds were distorting and I hated the annoying blue shadow on active windows.
The fix for the first problem came when I installed the phonon gstreamer backend, though I'm not sure this was exactly the fix as I never switched to that backend in the settings.
To fix the annoying blue shadow, go to System Settings -> Workspace appearance -> Window Decorations. Click on the Oxygen theme and then click "Configure Decoration". Click the Shadows tab and change the colors under "Active Window Glow". I made my inner color a dark grey and the outer color black. I like this a lot better than the bright blue.