You are not logged in.
As a user of geany on multiple platforms for much more than 10 years, I can say that geany always requires root /password to edit a root file. Whether that relevant here... I have no idea.
Pax vobiscum,
Mark Rabideau - https://many-roads.com https:/eirenicon.org
i3wm, dwm, hlwm on sid/ arch ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Offline
GEANY AS IT IS IN MY EXPERIMENTAL INSTALLATION OF BERYLLIUM DOES NOT FULFILL ITS INTENDED FUNCTION AS AN INTEGRATED DEVELOPMENT ENVIRONMENT
Stop.
Right there.
Take a deep breath, slowly count to ten.
Now.
What is your definition of an IDE? I know what the word means, but you, think about that first. I bet your idea of an IDE is influenced by Windows or MacOS and things like highly integrated Java or Qt app development or some such.
Two things:
GNU/Linux already is a development environment. Everything is there - integrated into the OS itself, if you will. Open a few terminals, use the right tools for the task at hand etc. It is not necessary to encapsulate all that functionality in a behemoth of a separate software.
Geany is something between an IDE and a code editor. It is very lightweight, and minimalistic. BL only uses it as a code editor, or a config file editor to be more precise. It is however in the user's power to configure geany for more advanced tasks.
Facit:
Do not expect app development functionality from BL or geany - at least not out of the box.
Question your expectations, which are no doubt influenced by your usage of other operating systems.
If then you still feel you need a full-blown IDE; then Geany probably isn't it and you should look at things like VS Code etc.
PS:
Everything that was said about not being root until you really have to - you should heed that advice.
Last edited by ohnonot (2021-04-25 05:58:37)
Offline
Geany, that theme on the user end is customized by @johnraff IIRC
Off-topic maybe, but just to clarify for all (@hhh I'm sure you know most of this already):
*) Theme - the GTK theme and icon themes can both be changed in lxappearance, and will apply to the whole desktop, not just Geany. (When I first switched to Linux from Windows 98 I was quite surprised how similar all applications looked. I was used to the fruit-salad appearance where each app did its own thing.) I didn't write any of the GTK themes - @hhh did most of that work - and only helped with slight customization of our icon themes from Faenza/Paper/Papirus.
*) Settings could have been left at Geany default by shipping an empty ~/.config/geany directory, but CrunchBang made some changes which seemed to suit the preferences of a lot of users and BunsenLabs have basically inherited those. Things like text-only toolbars, and other small details. I usually change some of them right away for my own use (eg I prefer an icon-only toolbar) and of course other users are free to tweak whtever they like, either via Geany's Preferences GUI or by editing the config files under ~/.config/geany directly.
*) Menu items OK here I did add these extra ones in the Build menu: "Open as Root", "File Manager Here" and "Terminal Here". To edit those you need to read up a bit on how Geany's Build menu works, because things will change depending on the currently open filetype and project. https://wiki.geany.org/howtos/configurebuildmenu
I added those items because it's a bit tricky to set up, and I thought people might find those three functions useful - I use them a lot myself anyway.
Last edited by johnraff (2021-04-25 06:10:57)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Online
Coming back to my question
...
I would be vey happy if you would tell whether your results will be the same as mine.
I used the shorter code "print("Hello World")", got the same result alson in geany 1.33 (Debian Buster)...
Do I understand you correctly, rbh, you executed the "print Hello World" Python script correctly with Geany on the experimental Beryllium installation?
Because if I use this simpler (I admit) script, Geany in normal user mode produces only an empty terminal, while running it as administrator it prints the text "Hello World" correctly in a terminal. Strange! But why?
I did several Beryllium installations, all with the same result. What could be wrong with my installations?
Offline
Maybe nothing is wrong with your installation. Problems in Beryllium may be caused by things in Bullseye that is not ready yet.
Offline
Coming back to my question
rbh wrote:...
got the same result alson in geany 1.33 (Debian Buster)...Do I understand you correctly, rbh, you executed the "print Hello World" Python script correctly with Geany on the experimental Beryllium installation?
Sorry, forget that. Made some error.
In the Geany, File menu => Preferences => Terminal, I now checked the box for:
"Execute programs in the VTE"
Now then hitting F5, for run, instead of opening a new terminal, the program is run in Geanys VTE.
So, for my program hello.py, hitting F5, change focus from Status windows to terminal windows, showing following output in the built in terminal window:
rbh@wassus:~/bin$ /bin/sh /tmp/geany_run_script_Y4GT20.sh
Hello World
------------------
(program exited with code: 0)
rbh@wassus:~/bin$
(I prefer to have personal skripts in ~/bin, and add that directory to my path.)
It works both with Geany version 1.37.1-2 in BL Berylium/bullseye and in 1.33 in Lithium/Buster.
It works both with mine and your skript.
But, when running your skript, and entering the sentence
This is a centense
it responded with error:
Enter a sentence: This is a centense
Traceback (most recent call last):
File "test.py", line 1, in <module>
inputString = input('Enter a sentence: ')
File "<string>", line 1
This is a centense
^
SyntaxError: unexpected EOF while parsing
------------------
(program exited with code: 1)
Running it agin and entering the text:
"This is a centense"
Made the program exit with code: 0 (Sucess, without errors).
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Maybe nothing is wrong with your installation. Problems in Beryllium may be caused by things in Bullseye that is not ready yet.
Just installed Bullseye/sid and Geany without problem
Offline
And I run pythonscript as user in both Lithium and Beryllium as informed in the post previous to yours.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
SOLVED
...In the Geany, File menu => Preferences => Terminal, I now checked the box for:
"Execute programs in the VTE"
Now then hitting F5, for run, instead of opening a new terminal, the program is run in Geanys VTE.
...
That did it, thank you very much for your efforts! Even pygame applications run like clockwork now!
However, developing larger programs, it is rather inconvenient with the fixed message window instead of the familiar independent terminal window. That is why I follow a suggestion you put forward here, posting #45. I renamed /home/<user>/.config/geany instead of deleting it, just to have a backup in case, logged out/logged in again, and now I have a fully functional Geany as normal user like I had only with Root, with clearly visible symbols, terminal output in a terminal, you name it... At the time of your suggestion I was not experienced enough with "Customized look and feel". Now I am and could tailor Geany to my liking, with clearly visible icons, even on a dark or light background.
Thanks again, bunsencub
Last edited by bunsencub (2021-04-25 14:48:34)
Offline
SOLVED
You are supposed to edit the subjet of the thread and prepend [SOLVED].
Go to the first message in the thread and klick "Edit", to edit the subject.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
I got it, marking [SOLVED].
I don't care what you do at home. Would you care to explain?
Offline
... it is rather inconvenient with the fixed message window instead of the familiar independent terminal window. ..
But geany can have a terminal window as well Choose it from the drop-down menu for the Messages pane.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
...
But geany can have a terminal window as well
That is what I showed in my posting #29, did I not?
And thanks to @hhh for marking my thread as SOLVED, and special thanks for the link to Meep To Joy. Hilarious
P.S. Will I end up with Beryllium proper just by keeping updating/upgrading this experimental system or will I have to install it anew, sometime?
Last edited by bunsencub (2021-04-25 18:00:47)
Offline
^ You might have to do some tweaking for the BL Openbox setup, but the bullseye OS will upgrade just fine. You can add security repos and whatnot once it's officially released. Or else I'm wrong about all of that, in which case... meep?
I don't care what you do at home. Would you care to explain?
Offline