With the latest release of the drbd8-utils package on debian wheezy (backports I believe), the syntax has changed fundamentally for the drbdsetup command. The following script will help fix the problem “for now”. Hopefully there are some fixes from upstream to formally fix.
[ $EUID -eq 0 ] || exec sudo "$0" "$@"
if [ -f /sbin/drbdsetup-84 ]
echo "Already fixed, nothing to do."
echo "Fixing drbdsetup 84 issue..."
mv -vf /sbin/drbdsetup /sbin/drbdsetup-84
ln -svf /lib/drbd/drbdsetup-83 /sbin/drbdsetup-83
ln -svf /sbin/drbdsetup-83 /sbin/drbdsetup
echo "drbd8-utils hold" | dpkg --set-selections
echo "Completed drbdsetup repairs."
Having trouble getting SimCity 5 to work on Linux and you don’t want to patch your wine? Then follow these steps…
- First off, you need PlayOnLinux. If you don’t already have this installed; visit this page and download the appropriate package for your distribution. (For this tutorial, we will assume you’re downloading the “All distributions” package.)
- Once it’s downloaded; navigate your file browser to your Downloads folder (or wherever you saved it to) and unarchive the package. You should end up with a folder called “playonlinux”.
- Next you need to download a PlayOnLinux installation script. You can find that here (credit goes to: Jimmy Ramsmark).
- Now, open a terminal (press CTRL+ALT+t if you’re on Ubuntu) and cd ~/Downloads/playonlinux (replace the ~/Downloads with wherever you downloaded the files to).
- Once you’re inside the playonlinux directory, type: ./playonlinux
- Once it’s loaded you should see something like this screenshot:
- From the top menu, select Tools and then Run local script. Follow the instructions and when it asks for a script; press the Browse button and navigate to the InstallSimcity.pol file you downloaded earlier. Follow the remaining instructions.
- You should end up at the Origin Login screen, login with your account and then exit the screen.
- You should be prompted to Choose a Shortcut. Select Origin.exe from the listing of possible shortcuts.
- Close PlayOnLinux (this is so that things can refresh properly).
- Launch PlayOnLinux again, launch Origin, and then start the SimCity 5 download.
- Once it’s done downloading, let it install. Once it’s done installing; DON’T DO ANYTHING FOR AT LEAST 10 SECONDS. This is important because a background process is starting to hang and we need to let it do what it can before it hangs. After the 10 seconds; open the System Monitor and kill the EAProxyInstaller.exe process. (Note that if it crashes PlayOnLinux, that’s OK, just relaunch PlayOnLinux and Origin. It should be installed nicely now.)
- Launch SimCity
- HAVE FUN!!!
Thanks to all the PlayOnLinux people for making such a great utility to run games on Linux. Thanks to Jimmy Ramsmark for his install script and thanks to all the Linux gaming community who’s helped me so many times getting things to work on Linux!
Most important though, thanks to my Dad for helping me post this tutorial online!
Embracing the goddess energy within yourselves
Will bring all of you to a new understanding and valuing of life
A vision that inspires you to live and love on Planet Earth
Like a priceless jewel buried in dark layers of soil and stone
Earth radiates her brilliant beauty into the caverns of space and time
Perhaps you are aware of those who watch over your home
And experience it as a place to visit and play with reality
You are becoming aware of yourself as a game master
Imagine Earth restored to her real beauty
Steady trees seem to brush the deep blue sky
The clouds billow to form majestic peaks
The songs of birds fill the air
Creating a symphony upon symphony
The goddess is calling for an honoring
Of what she allows to be created
Through the form of strength and blood
Those who own the planet are learning about love
Lyrics: Lost Tribe – Gamemaster
# to know current theme on site
# move inside project root directory and then
drush status theme
#the above command will tell you the current theme set as default for site and admin both
# now change the site default theme using the below command (use theme name of your choice)
drush vset theme_default garland
# the above command will make garland as default site theme
# now change admin default theme using the below command (use theme name of your choice)
drush vset admin_theme garland
# the above command will make garland as default admin theme
The following super-short steps to setup multiarch support in Debian comes from: https://wiki.debian.org/Multiarch/HOWTO
sudo dpkg --add-architecture i386
sudo apt-get update
# if you want the whole ia32 support...
sudo apt-get install ia32-libs
# if you just want the Android SDK to work, you can avoid ia32-libs completely
sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
“Falling in love makes smoking pot all day look like the ultimate in restraint.” — Dave Sim, author of Cerebrus.
(Note: quote taken from a /. footer.)
engineer: n. one who, regardless of how much effort he puts in
to a job, will never satisfy either the suits or the scientists
– Taken from someone’s email signature
Well, looks like the ZERO amount of time I spent researching the name of the parental-control project didn’t pay off as I’d hoped.
Now renaming the project to something a little more unique…
Parental Time Curb
Sound better? Great. Glad you agree! heh
For convenience purposes, I’m in the process of setting up a PPA repository so I don’t have to maintain my debian packages on my own shambles of a debian repo. PPA is far more convenience and forces me to actually sign my packages properly now.
In the past I’ve hacked up some pretty brutal parental control kludges for my kids’ computers. Particularly thinking about one setup where I had limited the time that the computer was even allowed to be “on”. Brilliantly simple yet so harsh. The netbook was only allowed to be turned on from 8am to 9pm. At 8:55 some simply zenity dialogs would popup reminders to save your work becase at 9pm . . . *poof* the system would immediately halt. If you tried to start it up… and this is the kludge part… it would immediately halt again. I couldn’t even stop this cycle without going into the BIOS, enabling and booting via USB key and then coax the kludge. So tedius that I simply never did it as it just wasn’t worth the hassle.
However, this time around I decided that I wanted to spend more than 10 minutes putting something together and given that in the 4 years since I used that utterly horrible hack no other projects have surfaced which meet this need *and* support current distributions I’ve opted to make this a public project.
Now, I’m not necissarily seeking volunteer developer help with this, but I figure that I may as well post about it publicly on my little not-so-traffic’d blog and see what comes of it.
You can find the first version here. It’s perfectly usable but there are a few shortcomings. Namely that there’s no admin interface what-so-ever and as such this isn’t very useful for the non-unix-geek-parents out there. Not to mention that it is completely and 100% dependent on the Debian package management system. I think alien or whatever package converter is usable these days should have no problems but I haven’t tried, nor do I think I really will anytime soon as all I use these days are Debian based distributions (Debian, Ubuntu and Mint is pretty much it).
The system is designed to be as simple as possible, doesn’t rely upon anything other than a handful of things like Bash, Perl, cron, passwd, sudo and one oddball that I’ve grown to really love over the years… slay. At this stage of the game, I can’t forsee any reason that this version (0.1.0) would ever break regardless of what Debian or Canonical choose to do with the distributions (well as long as they don’t remove those basic tools).
Finally, here’s the packaging list and a link to the github page:
Feel free to use the github project for filing bugs, requesting features and so on.
For what it’s worth, I’ve just set myself up with the newly released GPG Tools edition and you can find my public key here.
I personally have nothing to hide but I also value my privacy. I don’t have Facebook but I do have Google+ and Twitter. My Google+ account was made really to just see what’s going on their side of the fence but my Twitter account (@OneST8) is actively used. My retweets do not mean endorsement and I typically do not use the direct messaging feature at all. The purpose to Twitter for myself is simply my little soapbox on the public forum.
The nice thing about Twitter is that there’s no illusion of privacy (beyond who’s the actual account holder) in what I’m broadcasting. I don’t have to worry about maintaining my privacy settings due to random “upgrades” ala Facebook and all that.
I’m not quite sure why I feel the need to blabber on about all this when really this posting was strictly supposed to share my GPG Public Key.