Search found 1594 matches

by BruceSteers
Thursday 1st October 2020 2:15pm
Forum: Project showcase
Topic: Gambas application installer maker
Replies: 2
Views: 4042

Gambas application installer maker

I have here a completely working application installer script maker. Well it does not install the application it installs the gambas components required and sets up the gambas application mime type if needed so the app can just be double clicked and stuff. It's something for the developer not the en...
by BruceSteers
Wednesday 30th September 2020 11:04am
Forum: General
Topic: Terminal Windows in Main-Form
Replies: 4
Views: 4023

Re: Terminal Windows in Main-Form

Sorry my last reply was brief as i was at work. So... If all you want is to see the output of a shell command and not type anything then it's very simple. There are 2 ways. Simply use the Shell or Exec command using the "To" keyword to direct the output straight to the TextArea object like...
by BruceSteers
Wednesday 30th September 2020 9:14am
Forum: General
Topic: Terminal Windows in Main-Form
Replies: 4
Views: 4023

Re: Terminal Windows in Main-Form

TerminalView is the best component to have an interactive terminal. Shell output from the Shell or Exec command can be directed to a text area like... Shell 'ls/home' To TextArea1.Text Also you can Shell 'command" For Input Output And set up a Process_Read() event handler. Info on how to do thi...
by BruceSteers
Wednesday 30th September 2020 2:17am
Forum: General
Topic: Registering .gambas filetype without full install
Replies: 1
Views: 2297

Re: Registering .gambas filetype without full install

I figured it out :) I made a shell script Gambas application filetype installer if anyone wants it. Requires xdg Looks for xdg on start and lets you know if you don't have it. Just run the "Install_Gambas_Filetype.sh" script in a terminal. application-x-gambas3.png needs to be in the same ...
by BruceSteers
Tuesday 29th September 2020 7:37pm
Forum: Project showcase
Topic: groot , works like GKSU or pkexec or not
Replies: 3
Views: 5046

Re: groot , works like GKSU or pkexec or not

Tell you what's hilarious.... For years i used GKSU then it disappeared. so after much searching i found the .deb installers for GKSU and it's libraries that worked and had to manually install it on each linux install, Then it just disapeared completely and i had to move onto figuring out using pkex...
by BruceSteers
Tuesday 29th September 2020 1:57pm
Forum: Project showcase
Topic: groot , works like GKSU or pkexec or not
Replies: 3
Views: 5046

Re: groot , works like GKSU or pkexec or not

Edited.. It's actually quite functional this app so i prettied it up a bit. Gave it some changeable/saveable settings ( font and colours) Made it pop up at Mouse position instead of center screen. A little opacity too :) Compiled 3 different versions. QT only, GTK only, or both. (this is because gtk...
by BruceSteers
Tuesday 29th September 2020 3:10am
Forum: Project showcase
Topic: groot , works like GKSU or pkexec or not
Replies: 3
Views: 5046

groot , works like GKSU or pkexec or not

it is GRoot :) I just made this today. It occurred to me that i could possibly get an app to launch as root by creating a hidden TerminalView object and running the application with sudo through it, using the TerminalView.Input() method to send the password. Turns out it can :) so this app is called...
by BruceSteers
Sunday 27th September 2020 8:21pm
Forum: General
Topic: Cr '\r' with no Lf' '\n' ?
Replies: 5
Views: 5310

Re: Cr '\r' with no Lf' '\n' ?

Aah , Carriage return ,, like a typewriter , thank you folks, makes perfect sense now. and yes i see how that could be useful indeed :) I ran into a trap finding that \r only worked as a linefeed not \n on a tooltip for gtk. and wasn't settable in the GUI as it only saved with LF. And was loading th...
by BruceSteers
Sunday 27th September 2020 11:50am
Forum: General
Topic: Cr '\r' with no Lf' '\n' ?
Replies: 5
Views: 5310

Cr '\r' with no Lf' '\n' ?

Any experts on characters know anything about there being a vital need to always use CrLf and not just Cr? Consider this code... Dim sVar, lfVar, crVar As String sVar = "Here is some text" lfVar = Replace(sVar, " ", "\n") crVar = Replace(sVar, " ", "\r&qu...
by BruceSteers
Friday 25th September 2020 6:13pm
Forum: Project showcase
Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Replies: 10
Views: 26919

Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.

Hi all. Have made various changes/additions to this. Most notably the com= or shell= flag you can add to buttons. setting this flag will make the button run the supplied command without your script having to. Included in the examples dir is a Button_Command_Requester.sh scrip that shows how to use i...