Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: Nate on February 27, 2011, 05:05:38 PM
-
Hello,
I'm trying to use the geany package that's in the tiny core Apps.
I notice that when I try to Execute a ruby or bash script from within Geany,
a terminal or some kind of message box pops up and then goes away quickly.
In fact, I don't think that Geany is running the scripts at all, because I wrote a
shell script like this:
#!/bin/sh
echo 'boo' >> ~/boo.txt
And ~/boo.txt is not created when I click "Execute" in Geany.
When I run $geany -v, I see "Could not load libvte.so, embedded terminal support
disabled".
Does this message have anything to do with not being able to see the output
of scripts when I run them in Geany?
Thanks,
--Nate
-
I will look into this and hopefully find a solution.
-
I installed "vte.tcz" from the Apps application, and I no longer get the "cannot load libvte.so".
The purpose of libvte.so ( I think ) is to show a built-in terminal in Geany.
The "Execute" functionality in Geany still doesn't work though.
An interesting thing, is that I can press "Compile" on a ruby script, and I get the output:
"ruby -c hello_world.rb" (in directory /home/tc/src/ruby)
Compilation finished successfully
Syntax OK
Thanks for the lightning fast reply!
-
To make the Execute function work for scripts, go to Edit > Preferences > Tools, and then in the Terminal box change the command from "xterm" to "xterm -e sh -c". Of course, that could also be "aterm -e sh -c".
I don't like to supply premade config files with extensions to copy over upon install if I can help it, so I will change the default entry to the one above and rebuild the extension, I will aim for tonight.
And I will make a note in the info file about vte.tcz.
-
Updated to 0.20 and made "aterm -e sh -c" the default terminal command so the Execute function should work 'out of the box'.
-
I don't like to supply premade config files with extensions to copy over upon install
Based on what rationale?
-
Personal preference. If one updates Geany now, they will have a working execute command without having to alter or replace their existing config files.
-
Personal preference. If one updates Geany now, they will have a working execute command without having to alter or replace their existing config files.
I updated Geany, and it does not work. I restarted Tiny Core after using the "App Audit" program's "Update" feature. It showed that Geany had an update, and I verified that its version was 0.20. I'm running it off of a USB key, so I don't know if that makes a difference.
I did test the new Geany on a clean Tiny Core, and it does Execute the scripts correctly.
Thanks a lot for the quick response and updates! We will be using TinyCore/Geany
at Byteworks in St. Louis. Byteworks is a non-profit that helps underprivileged kids get access to computers and computer classes. http://stlbyteworks.org
--Nate
-
What does not work so I can look into it?