Hello list,
It's my first time posting here, so please advise if I say anything dumb.
I'm using Geany 1.23.1 on Ubuntu 12.04.
1. I am able to execute (hit F5) fine for Python files. But for SQL script, I ran into this error: ./geany_run_script.sh: 5: ./geany_run_script.sh: ./ex1: not found
(ex1.sql is the name of my script.)
2. Another oddity is that, after using the terminal in geany, I can no longer use F5 to execute even Python scripts, while manually clicking on Execute in the toolbar still works fine.
Thank you for your help! Anh
Hi Anh,
- I am able to execute (hit F5) fine for Python files. But for SQL
script, I ran into this error: ./geany_run_script.sh: 5: ./geany_run_script.sh: ./ex1: not found
(ex1.sql is the name of my script.)
- Another oddity is that, after using the terminal in geany, I can no
longer use F5 to execute even Python scripts, while manually clicking on Execute in the toolbar still works fine.
1. By default Execute attempts to run a file in the current directory that is the same name as the current file but without the extension. You can change this in the Build->Set Build Commands menu.
2. Yes, this happened to me too (might be Ubuntu-specific) but I just disabled the inbuilt terminal and used the MultiTerm plugin instead, which is more useful anyway.
Hope this helps,
James
Addendum: I just re-enabled the terminal, right-clicked on it, opened the preferences window and disabled 'Override Geany keybindings'. This seems to prevent the terminal grabbing the function key presses. So, give that a try if you don’t want to use MultiTerm (but as I said, I think MultiTerm is better anyway).
Johannes, on my system the function keys stop working even when the terminal doesn’t have focus (unless I override the keybindings as above). James
1. In terminal, I would run this in the working directory
sqlite3 ex1.db < ex1.sql
How should I change the Set Build Command to do the same thing?
2. Yes, I changed the focus back to the code panel. I will give the MultiTerm a go.
Thanks!
On Sat 09 Nov 2013 04:48:49 PM EST, James Brierley wrote:
Addendum: I just re-enabled the terminal, right-clicked on it, opened the preferences window and disabled 'Override Geany keybindings'. This seems to prevent the terminal grabbing the function key presses. So, give that a try if you don’t want to use MultiTerm (but as I said, I think MultiTerm is better anyway).
Johannes, on my system the function keys stop working even when the terminal doesn’t have focus (unless I override the keybindings as above). James
Ok, that's a bug then really. But thanks for that tip, never noticed that option :-)
------------ /Original Message/ ------------ *Subject:* Re: [Geany-Users] Execute SQP in geany *From:* James Brierley jmb8710@gmail.com *To:* Geany general discussion list users@lists.geany.org *Date:* Sat, 09 Nov 2013 21:48:49 +0000
Addendum: I just re-enabled the terminal, right-clicked on it, opened the preferences window and disabled 'Override Geany keybindings'. This seems to prevent the terminal grabbing the function key presses. So, give that a try if you don’t want to use MultiTerm (but as I said, I think MultiTerm is better anyway).
Johannes, on my system the function keys stop working even when the terminal doesn’t have focus (unless I override the keybindings as above). James
Hi all,
Thanks for your help. To recap the solution:
1. Change the execute command in the Set Build Command like so:
sqlite3 %e.db < %f
Geany will execute whatever.sql and output whatever.db
2. Either disable "Override Geany keybindings" or use Multiterm plugin.
This is such a relief! Thanks again!
- Anh On 11/09/2013 04:48 PM, James Brierley wrote:
Addendum: I just re-enabled the terminal, right-clicked on it, opened the preferences window and disabled 'Override Geany keybindings'. This seems to prevent the terminal grabbing the function key presses. So, give that a try if you don’t want to use MultiTerm (but as I said, I think MultiTerm is better anyway).
Johannes, on my system the function keys stop working even when the terminal doesn’t have focus (unless I override the keybindings as above). James
Hi,
1. I don't know much about sql, but how would you run your script in a terminal? I suppose not via ./ex1 or is it made executable? If you go to Build -> Set Build Commands, you'll find the execute command. There you can insert a custom command (e.g. the one you'd use in a terminal to run your script).
2. Does the terminal still have focus while you press F5? Because that doesn't work. You'd have to click inside your code window (or give some other part of geany focus again) to get it to work again.
Cheers, Johannes
------------ /Original Message/ ------------ *Subject:* [Geany-Users] Execute SQP in geany *From:* Anh ale@colgate.edu *To:* users@lists.geany.org *Date:* Sat, 09 Nov 2013 16:28:29 -0500
Hello list,
It's my first time posting here, so please advise if I say anything dumb.
I'm using Geany 1.23.1 on Ubuntu 12.04.
- I am able to execute (hit F5) fine for Python files. But for SQL
script, I ran into this error: ./geany_run_script.sh: 5: ./geany_run_script.sh: ./ex1: not found
(ex1.sql is the name of my script.)
- Another oddity is that, after using the terminal in geany, I can no
longer use F5 to execute even Python scripts, while manually clicking on Execute in the toolbar still works fine.
Thank you for your help! Anh _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Hi,
1. I don't know much about sql, but how would you run your script in a terminal? I suppose not via ./ex1 or is it made executable? If you go to Build -> Set Build Commands, you'll find the execute command. There you can insert a custom command (e.g. the one you'd use in a terminal to run your script).
2. Does the terminal still have focus while you press F5? Because that doesn't work. You'd have to click inside your code window (or give some other part of geany focus again) to get it to work again.
Cheers, Johannes
------------ /Original Message/ ------------ *Subject:* [Geany-Users] Execute SQP in geany *From:* Anh ale@colgate.edu *To:* users@lists.geany.org *Date:* Sat, 09 Nov 2013 16:28:29 -0500
Hello list,
It's my first time posting here, so please advise if I say anything dumb.
I'm using Geany 1.23.1 on Ubuntu 12.04.
- I am able to execute (hit F5) fine for Python files. But for SQL
script, I ran into this error: ./geany_run_script.sh: 5: ./geany_run_script.sh: ./ex1: not found
(ex1.sql is the name of my script.)
- Another oddity is that, after using the terminal in geany, I can no
longer use F5 to execute even Python scripts, while manually clicking on Execute in the toolbar still works fine.
Thank you for your help! Anh _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 10 November 2013 08:28, Anh ale@colgate.edu wrote:
Hello list,
It's my first time posting here, so please advise if I say anything dumb.
I'm using Geany 1.23.1 on Ubuntu 12.04.
- I am able to execute (hit F5) fine for Python files. But for SQL
script, I ran into this error: ./geany_run_script.sh: 5: ./geany_run_script.sh: ./ex1: not found
(ex1.sql is the name of my script.)
Modify the execute command to use %f instead of %e, see the manual.
- Another oddity is that, after using the terminal in geany, I can no
longer use F5 to execute even Python scripts, while manually clicking on Execute in the toolbar still works fine.
When focus is in the terminal almost all keystrokes are sent to the terminal for use by whatever might be running there. To have normal keybindings you need to switch the focus by mouse, or F2.
Cheers Lex
Thank you for your help! Anh _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Hi guys..
I am using the last version of Geany, with the*editor colors switched*...I mean *background black, and foreground white.** * When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
My selection color to chose the right keyword is green..this is very annoying because it tires your eyes a lot, because you almost can't see the keyword...and its ugly..
The background have to switch too...black...and the foreground maybe grey...i don't know, because in diferent operating systems, maybe the selection color will be different...maybe an grey grey will be a solution for all...at least a better solution,I think.
look like this: https://cld.pt/dl/download/0caff1c1-13de-459b-8de7-a398d5d7904d/Share/geany_...
is there any solution, that I can make a workaround in the preferences menu?Or does any body knows if it will be fixed?
thanks in advance
regards tux
On 13-11-09 09:33 PM, lmx wrote:
Hi guys..
I am using the last version of Geany, with the*editor colors switched*...I mean *background black, and foreground white.**
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
My selection color to chose the right keyword is green..this is very annoying because it tires your eyes a lot, because you almost can't see the keyword...and its ugly..
The background have to switch too...black...and the foreground maybe grey...i don't know, because in diferent operating systems, maybe the selection color will be different...maybe an grey grey will be a solution for all...at least a better solution,I think.
look like this: https://cld.pt/dl/download/0caff1c1-13de-459b-8de7-a398d5d7904d/Share/geany_...
is there any solution, that I can make a workaround in the preferences menu?Or does any body knows if it will be fixed?
thanks in advance
I don't know specifically but there's quite a few colour schemes that should avoid the problem at:
https://github.com/geany/geany-themes
Cheers, Matthew Brush
On 10/11/13 05:44, Matthew Brush wrote:
On 13-11-09 09:33 PM, lmx wrote:
Hi guys..
I am using the last version of Geany, with the*editor colors switched*...I mean *background black, and foreground white.**
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
My selection color to chose the right keyword is green..this is very annoying because it tires your eyes a lot, because you almost can't see the keyword...and its ugly..
The background have to switch too...black...and the foreground maybe grey...i don't know, because in diferent operating systems, maybe the selection color will be different...maybe an grey grey will be a solution for all...at least a better solution,I think.
look like this: https://cld.pt/dl/download/0caff1c1-13de-459b-8de7-a398d5d7904d/Share/geany_...
is there any solution, that I can make a workaround in the preferences menu?Or does any body knows if it will be fixed?
thanks in advance
I don't know specifically but there's quite a few colour schemes that should avoid the problem at:
https://github.com/geany/geany-themes
Cheers,
Hi Matthew,
Does you know how can I "install"/copy this files to some place in geany in a way that they act like the standard theme? I supose that they will override the standard definitions in geany, related to base theme right? In geany we can't find a way in the menus for that...if I could know how to "insert" this theme features would be nice ;)
thanks in advance
regards tux
On 10/11/13 06:26, lmx wrote:
On 10/11/13 05:44, Matthew Brush wrote:
On 13-11-09 09:33 PM, lmx wrote:
Hi guys..
I am using the last version of Geany, with the*editor colors switched*...I mean *background black, and foreground white.**
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
My selection color to chose the right keyword is green..this is very annoying because it tires your eyes a lot, because you almost can't see the keyword...and its ugly..
The background have to switch too...black...and the foreground maybe grey...i don't know, because in diferent operating systems, maybe the selection color will be different...maybe an grey grey will be a solution for all...at least a better solution,I think.
look like this: https://cld.pt/dl/download/0caff1c1-13de-459b-8de7-a398d5d7904d/Share/geany_...
is there any solution, that I can make a workaround in the preferences menu?Or does any body knows if it will be fixed?
thanks in advance
I don't know specifically but there's quite a few colour schemes that should avoid the problem at:
https://github.com/geany/geany-themes
Cheers,
Hi Matthew,
Does you know how can I "install"/copy this files to some place in geany in a way that they act like the standard theme? I supose that they will override the standard definitions in geany, related to base theme right? In geany we can't find a way in the menus for that...if I could know how to "insert" this theme features would be nice ;)
thanks in advance
regards tux
Hi, I got it thanks Now my Geany is awesome ;)
best regards tux
On 10/11/13 05:44, Matthew Brush wrote:
On 13-11-09 09:33 PM, lmx wrote:
Hi guys..
I am using the last version of Geany, with the*editor colors switched*...I mean *background black, and foreground white.**
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
My selection color to chose the right keyword is green..this is very annoying because it tires your eyes a lot, because you almost can't see the keyword...and its ugly..
The background have to switch too...black...and the foreground maybe grey...i don't know, because in diferent operating systems, maybe the selection color will be different...maybe an grey grey will be a solution for all...at least a better solution,I think.
look like this: https://cld.pt/dl/download/0caff1c1-13de-459b-8de7-a398d5d7904d/Share/geany_...
is there any solution, that I can make a workaround in the preferences menu?Or does any body knows if it will be fixed?
thanks in advance
I don't know specifically but there's quite a few colour schemes that should avoid the problem at:
https://github.com/geany/geany-themes
Cheers,
Hi, the themes, wont resolve the problem...I have tested oblivion2, and vibrant, and when autocompletions enter in action...the box list is background white, and foreground black...with the same problem, as before for the selected item :(
for what I understood via grep in the source code of the last Geany...at least some things related to autocompletion came from /src/editor.c, and the config files for themes, etc, won't be readed for the list box of autocompletion :S
so this parameters are only setted in code, which, I think it would be better to inherit the theme color scheme...
regards tux
On Sun, 10 Nov 2013 05:33:23 +0000 lmx lmx1@sapo.pt wrote:
Hi guys..
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
When I started using Geany, I had the same problem. I solved it by editing the system theme's settings..
If you use KDE (as me), it's quite easy: System Setting -> Application Appearance -> Colours -> Colours-Tab and play with colours :) Especially with "Selection Text", "Selection Background" and so on.
On 10/11/13 15:58, Vitaly wrote:
On Sun, 10 Nov 2013 05:33:23 +0000 lmx lmx1@sapo.pt wrote:
Hi guys..
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
When I started using Geany, I had the same problem. I solved it by editing the system theme's settings..
If you use KDE (as me), it's quite easy: System Setting -> Application Appearance -> Colours -> Colours-Tab and play with colours :) Especially with "Selection Text", "Selection Background" and so on.
Hi,
I use Debian+MATE, and yes I can tweak only a little bit. I forgot to tweak the foreground selection, thanks for that ;), now its a litle bit better(I can now read the selected text).
We have a beautiful dark theme, and when autocompletion starts...bang...a white square...in a dark theme.
I think that, the theme should solve this...the autocompletion, and the sidebar code, have to inherit the theme colors at startup..which in not at the time.
well this is only my idea, I am sharing it only with the purpose of give to geany community my feedback, of what I think that can be improved :)
a big thanks for the tip, now I can read it ;)
regards tux
On 13-11-10 08:58 AM, lmx wrote:
On 10/11/13 15:58, Vitaly wrote:
On Sun, 10 Nov 2013 05:33:23 +0000 lmx lmx1@sapo.pt wrote:
Hi guys..
When I am coding...the auto-complete features starts to work, and present me a background white, and the foreground for text is white too, in the selected item... :S
When I started using Geany, I had the same problem. I solved it by editing the system theme's settings..
If you use KDE (as me), it's quite easy: System Setting -> Application Appearance -> Colours -> Colours-Tab and play with colours :) Especially with "Selection Text", "Selection Background" and so on.
Hi,
I use Debian+MATE, and yes I can tweak only a little bit. I forgot to tweak the foreground selection, thanks for that ;), now its a litle bit better(I can now read the selected text).
We have a beautiful dark theme, and when autocompletion starts...bang...a white square...in a dark theme.
I think that, the theme should solve this...the autocompletion, and the sidebar code, have to inherit the theme colors at startup..which in not at the time.
The idea is to respect your GTK+ theme, which you can choose to customize per-application or system-wide as you desire, without forcing specific themes onto any users.
Cheers, Matthew Brush
Am 10.11.2013 20:37, schrieb Matthew Brush:
On 13-11-10 08:58 AM, lmx wrote:
I think that, the theme should solve this...the autocompletion, and the sidebar code, have to inherit the theme colors at startup..which in not at the time.
The idea is to respect your GTK+ theme, which you can choose to customize per-application or system-wide as you desire, without forcing specific themes onto any users.
I think he meant to say that the autocompletion list should inherit the colors from the color scheme, overriding the GTK theme. I think that makes sense.
Best regards.