You are not logged in.

#26 2021-04-25 10:05:30

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,034

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

bunsencub wrote:

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

Offline

#27 2021-04-25 10:49:31

bunsencub
Member
Registered: 2021-04-15
Posts: 36

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

orionH wrote:

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 smile

Offline

#28 2021-04-25 11:11:01

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,034

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

And I run pythonscript as user in both Lithium and Beryllium as informed in the post previous to yours.


// Regards rbh

Offline

#29 2021-04-25 14:45:39

bunsencub
Member
Registered: 2021-04-15
Posts: 36

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

SOLVED

rbh wrote:

...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

#30 2021-04-25 15:46:15

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 1,034

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

bunsencub wrote:

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

Offline

#31 2021-04-25 17:21:23

hhh
Meep!
Registered: 2015-09-17
Posts: 11,653
Website

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

I got it, marking [SOLVED].

Offline

#32 2021-04-25 17:27:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,599

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

bunsencub wrote:

... 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 hmm  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

#33 2021-04-25 17:56:50

bunsencub
Member
Registered: 2021-04-15
Posts: 36

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

damo wrote:

...
But geany can have a terminal window as well hmm

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 big_smile

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

#34 2021-04-26 00:35:00

hhh
Meep!
Registered: 2015-09-17
Posts: 11,653
Website

Re: [SOLVED]BL Beryllium: program, opened normal or as root?

^ 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?

Offline

Board footer

Powered by FluxBB