Go to advanced search

by dr_d_gee
Sun Nov 22, 2015 7:12 pm
Forum: Other programming languages
Topic: Octave
Replies: 5
Views: 2343

Re: Octave

Octave can use several different graphics toolkits to do plotting. Try running this command: graphics_toolkit() and see what result you get. You can change the graphics toolkit in use using the same function but passing the name of the toolkit to use as a string. I'd suggest 'gnuplot' might be the b...
by dr_d_gee
Sat Sep 05, 2015 9:28 pm
Forum: Wolfram Language
Topic: Mathematica will not start
Replies: 3
Views: 26995

Re: Mathematica will not start

I've encountered this issue on a Pi 2 model B.

I found deleting the directory .WolframEngine (in your home directory; use

Code: Select all

rm -rf .WolframEngine
or to use the file manager to do it, you will first need to type CTRL-h to turn on the showing of hidden files then delete it in the usual way.
by dr_d_gee
Tue Jul 28, 2015 2:41 pm
Forum: RISCOS
Topic: BBC Basic assembler
Replies: 26
Views: 8112

Re: BBC Basic assembler

Have a look at http://www.dragdrop.co.uk—for £12 they do a DVD with 55 remastered versions of BBC Micro books.
by dr_d_gee
Sun May 10, 2015 3:06 pm
Forum: Troubleshooting
Topic: Pi 2 video problem
Replies: 2
Views: 339

Re: Pi 2 video problem

It doesn't happen without the KVM switch. Since it takes power from USB it must be demanding too much from the Pi. I'll try another power supply or maybe introducing a powered hub. Longer term I probably need to look at an independently-powered HDMI switch of some kind. Thanks for a VERY helpful rep...
by dr_d_gee
Sun May 10, 2015 11:24 am
Forum: Troubleshooting
Topic: Pi 2 video problem
Replies: 2
Views: 339

Pi 2 video problem

I'm having a problem with my Pi2 when it's connected to my HD monitor via a KVM switch. A small, bright multicolored square about 1cm square appears not far from the top right corner of the display shortly after the machine starts booting, and remains there until it shuts down, even when the X windo...
by dr_d_gee
Tue Mar 25, 2014 3:22 pm
Forum: General programming discussion
Topic: Help: Taking a shell script to the next level
Replies: 4
Views: 1543

Re: Help: Taking a shell script to the next level

You have two main options; either add interactivity to the shell script (check out zenity for example) or learn a high-level language such as Python. There are many books on Python, some specific to the Raspberry Pi. No doubt there will be a lot of recommendations.
by dr_d_gee
Fri Mar 21, 2014 2:09 pm
Forum: General discussion
Topic: Can you download & install a program from a usb memory stick
Replies: 1
Views: 555

Re: Can you download & install a program from a usb memory s

You could download the appropriate .deb file from http://www.filewatcher.com/d/Debian/armhf/sound/mpg321_0.3.2-1.1_armhf.deb.53074.html from a computer which does have internet access and then install it using sudo dpkg -i mpg321_0.3.2-1.1_armhf.deb (assuming you have changed directory to that in wh...
by dr_d_gee
Tue Mar 11, 2014 2:55 pm
Forum: RISCOS
Topic: BBC BASIC sound programming / interfacing with SN76489?
Replies: 7
Views: 5528

Re: BBC BASIC sound programming / interfacing with SN76489?

Looking at the website, it seems that ZeriBeep is used by Michael Foot's BeebIt emulator. You can certainly download and install that on a Pi, so presumably ZeriBeep comes with it. Additionally some of the other tools available on the website let the emulator access files on the "host" i.e. the Pi i...
by dr_d_gee
Mon Feb 10, 2014 3:54 pm
Forum: Other projects
Topic: PiAddict Magazine Index of Articles
Replies: 2
Views: 4174

Re: PiAddict Magazine Index of Articles

Given that there has been no new material since September, is the magazine's brief career over apart from the specials (which are all reprints)?
by dr_d_gee
Mon Feb 03, 2014 4:18 pm
Forum: RISCOS
Topic: Rise of the triad doesn't run
Replies: 4
Views: 2575

Re: Rise of the triad doesn't run

You could try clicking MENU (the middle button, scroll wheel perhaps?) over the app and selecting "Help" from the context menu, or shift-double-click on the app and see if there is a README file (or similar) inside it. It's also possible it doesn't like being in the root directory--try moving it to ...
by dr_d_gee
Fri Jan 03, 2014 1:39 pm
Forum: Raspbian
Topic: Accelerated x driver?
Replies: 12
Views: 10393

Re: Accelerated x driver?

I followed the instructions in the post bleep42 referred to--installing the new accelerated driver and then restarting X--and it's fine; the performance is significantly better than before.
by dr_d_gee
Sun Nov 17, 2013 6:53 pm
Forum: Troubleshooting
Topic: No sound after upgrade
Replies: 1
Views: 319

No sound after upgrade

Earlier today updated Raspbian using sudo apt-get update and then sudo apt-get update: the first time since May. However sound no longer works—on checking the alsaguimixer one of the volume settings was zero, set it to maximum but made no difference. The Pi's sound hardware is fine because sound sti...
by dr_d_gee
Sat Nov 09, 2013 3:40 pm
Forum: General programming discussion
Topic: Best UI programming framework?
Replies: 8
Views: 5826

Re: Best UI programming framework?

If you want to develop a GUI using C++, Qt would (IMHO) be the best choice, and has a nice IDE in Qt Creator--setting this up to work on the RasPi is a bit tricky, but it has been covered before in these forums.
by dr_d_gee
Wed Sep 04, 2013 3:13 pm
Forum: RISCOS
Topic: Free Map Corrupted
Replies: 2
Views: 1483

Re: Free Map Corrupted

I'd have thought the best way was to keep a backup of the card image--you can use Win32 Disk Imager for this, clicking "Read" instead of "Write". (Note: Since I normally use Linux/dd for this purpose, I haven't tried this for myself.) If you do this on a regular basis at least you won't have to set ...
by dr_d_gee
Tue Aug 13, 2013 1:39 pm
Forum: Python
Topic: Tkinter display error
Replies: 2
Views: 791

Re: Tkinter display error

A Tkinter program will need the GUI to run. Have you tried running it under X?
by dr_d_gee
Fri Jun 28, 2013 1:18 pm
Forum: General discussion
Topic: Finding a path
Replies: 8
Views: 741

Re: Finding a path

If locate is installed (can't remember whether it is or not in the default Raspbian image) then

Code: Select all

locate filename
will work. It uses a database of files so can produce results very quickly. If the database is not up-to-date you may need to do

Code: Select all

sudo updatedb
first.
by dr_d_gee
Mon Jun 17, 2013 1:10 pm
Forum: Python
Topic: The MagPi problems
Replies: 12
Views: 2162

Re: The MagPi problems

When I start my Pi and enter the user/password as pi/raspberry, I start LXDE and get 8 or 9 icons/programs on the screen along with the large raspberry logo. I can click on the icons and run the programs. All well and good. However, I don't want to be using the pi/raspberry user ... I have set-up a...
by dr_d_gee
Mon Jun 10, 2013 12:57 pm
Forum: RISCOS
Topic: RISC OS Software
Replies: 11
Views: 4910

Re: RISC OS Software

It would be nice if somebody could compile a list of this software and where it can be obtained from.
by dr_d_gee
Wed May 22, 2013 12:42 pm
Forum: General discussion
Topic: Maxima in Wheezy?
Replies: 6
Views: 884

Re: Maxima in Wheezy?

Try the menus. It might be listed under Education; if not, try looking in Other (a very long list). Failing that, open a terminal window and type maxima at the prompt. You might also like to install a "better" interface in the form of wxmaxima; haven't tried this on the Pi so I can't say how it will...
by dr_d_gee
Fri May 17, 2013 2:49 pm
Forum: Python
Topic: Writing a command line game
Replies: 14
Views: 2751

Re: Writing a command line game

I'd suggest having a look at Pygcurse: http://inventwithpython.com/pygcurse/

It does need Pygame to be installed but that is almost certainly there anyway.
by dr_d_gee
Tue May 14, 2013 11:58 am
Forum: Beginners
Topic: Installing Linux packages / apps etc..
Replies: 2
Views: 5554

Re: Installing Linux packages / apps etc..

There may be PDF readers already installed; xPDF and muPDF typically. Both are fast, but muPDF is a bit limited in its features and xPDF has an old-fashioned style of interface. A possible alternative would be ePDF; it's a more modern program, with a reasonable range of features, and performs well o...
by dr_d_gee
Tue May 07, 2013 12:29 pm
Forum: General discussion
Topic: GUI Programming for Raspbian
Replies: 6
Views: 28756

Re: GUI Programming for Raspbian

You'll probably get lots of different replies to this question. I'd have suggested wxPython in preference to PyGtk. There is rather more documentation (including a book, wxPython in action ) and it's probably more future-proof (PyGtk is effectively obsolete; for Gtk3 it's been replaced by python-gob...
by dr_d_gee
Thu May 02, 2013 12:30 pm
Forum: General discussion
Topic: What is the root password for wheezy?
Replies: 9
Views: 23962

Re: What is the root password for wheezy?

Indeed, and there seems to be a divergence of opinion as to which is the best/safest option, among the various Linux distros. FWIW, OS X also uses sudo in a similar way to Raspbian and the *buntus (although it's a BSD derivative rather than Linux).
by dr_d_gee
Tue Apr 30, 2013 12:57 pm
Forum: RISCOS
Topic: RISC OS Wakefield 2013 Show
Replies: 21
Views: 4851

Re: RISC OS Wakefield 2013 Show

There's nothing to stop you doing what the installation instructions suggest and simply replacing the "old" Netsurf with the new one. I needed to update one of the libraries it depends on, too, but YMMV. As you say it still can't handle the forum list on this site correctly. Not sure why; all the ot...
by dr_d_gee
Wed Apr 24, 2013 1:33 pm
Forum: Python
Topic: IndentationError
Replies: 2
Views: 790

Re: IndentationError

In Python, the structure of code is determined by indentation (there are NO begins, ends or curly brackets). So the code immediately after the line with the 'def' statement needs to be indented. If you use a Python-aware editor like Idle it will indent the code for you in such circumstances--but you...

Go to advanced search