On Ubuntu Gutsy, the embedded terminal plugin for gedit didn’t seem to work for me. It may not work for you, either. If it doesn’t, you can fix it with the following steps:
At the terminal, type: sudo gedit /usr/lib/gedit-2/plugins/terminal.py
Find the line that says:
self._vte.fork_command()
It should be around line 95.
Replace the line with:
shell = os.getenv("SHELL") self._vte.fork_command(shell, argv = [shell], directory = os.getcwd())
Save and quit. When you next start up gedit, the embedded terminal should work.
Every so often, some deep seated instinct stirs within me, and I get the inexplicable urge to program a computer game. It never lasts for long, as my interests shift constantly, and projects I have no financial stake in rarely hold my attention for any substantial length of time. But my interests are cyclical, and so I make progress in increments, short bursts of activity before my curiosity wanes.
I’ll be posting some of the better snippets of code from the last time I had the compulsion to create a game. I had decided to create a Roguelike in Python, and so needed a set of functions to handle your classic Cartesian coordinate planes.