Search found 75 matches
- Saturday 31st December 2022 9:16am
- Forum: Beginners
- Topic: Switch to Wayland with side effect to Clipboard
- Replies: 9
- Views: 2514
Re: Switch to Wayland with side effect to Clipboard
Thanks for the reply. Solved finally! It is very interesting, that the exec command doesn't work either. ... Exec ["wl-copy", "-p", "-t", "text/plain", myCam & " +" & str_myLens] ... So I tried instead of Exec the Shell command. I found out t...
- Thursday 29th December 2022 6:59am
- Forum: Beginners
- Topic: Switch to Wayland with side effect to Clipboard
- Replies: 9
- Views: 2514
Re: Switch to Wayland with side effect to Clipboard
Wayland- 'good things come to those who wait'. It seems I still have to wait a while to use Wayland. But to be fair I have to admit that wayland is faster and more responsive than X11. Even the wobbly windows are working perfectly :D . At the moment there are two points that prevent me from using it...
- Wednesday 28th December 2022 9:49am
- Forum: Beginners
- Topic: Switch to Wayland with side effect to Clipboard
- Replies: 9
- Views: 2514
Re: Switch to Wayland with side effect to Clipboard
maybe you could install wl-clipboard command? Thanks Bruce. I installed wl-clipboard to follow up on this but it doesn't help unfortunately. Since you mentioned gb-qt5-wayland I checked its status on my system: dnf list \*gambas\*wayland\* Last metadata expiration check: 0:26:49 ago on Wed 28 Dec 2...
- Tuesday 27th December 2022 8:17am
- Forum: Beginners
- Topic: Switch to Wayland with side effect to Clipboard
- Replies: 9
- Views: 2514
Switch to Wayland with side effect to Clipboard
Since I switched from X11 to Wayland the Clipboard command does not work anymore:
Any idea what's wrong with this?
Clipboard.Copy(myCam & " +" & str_myLens, "text/plain")
Any idea what's wrong with this?
- Friday 1st October 2021 6:04pm
- Forum: Project showcase
- Topic: Practice touch typing
- Replies: 0
- Views: 6906
Practice touch typing
The internet is full of apps or online exercises, I know. But I couldn't find any app written in Gambas. So I started a little app which offers the basics of learning touch typing. The app is dedicated to my daughter. She'll get her first laptop in the next couple of weeks. For her school homework o...
- Thursday 23rd September 2021 3:55pm
- Forum: General
- Topic: Passing an argument from Filemanager to a Gambas-App
- Replies: 5
- Views: 3856
Re: Passing an argument from Filemanager to a Gambas-App
Thanks. Seems to be a user problem. This is my original example: Public Sub Form_Open() Dim myFile As Variant If IsNull(Application.Args[1]) Then Message("No Argument") Quit Else myFile = Val(Application.Args[1]) Endif ' Application.Args message("arg0: " & Application.Args[0]...
- Thursday 23rd September 2021 2:23pm
- Forum: General
- Topic: Passing an argument from Filemanager to a Gambas-App
- Replies: 5
- Views: 3856
Re: Passing an argument from Filemanager to a Gambas-App
sorry for the misunderstanding. I want the filemanager Dolphin to start my app (see attachment). Application.Args[0] shows only the path and name of the app but not the filename I clicked in Dolphin. I would expect the filename L1007019.jpg in Application.Args[1] but it's empty.
- Thursday 23rd September 2021 12:04pm
- Forum: General
- Topic: Passing an argument from Filemanager to a Gambas-App
- Replies: 5
- Views: 3856
Passing an argument from Filemanager to a Gambas-App
I know the class gb.args and how command line arguments will be passed to a Gambas application. It's probably me but I have no idea how to proceed with this use case: In a filemanager (i.e. KDE/Dolphin) I want to right-click an image. The context menue appears and I want to start my Gambas fileviewe...
- Wednesday 9th June 2021 12:30pm
- Forum: General
- Topic: Background tasks
- Replies: 9
- Views: 5496
Re: Background tasks
I suppose I had a similar question for my project of the lens database: https://forum.gambas.one/viewtopic.php?f=13&t=1055 I created a new background task for a bulk update in the sqlite database: hTask = New MyTaskFTS As "hTask" MyTaskFTS.class looks like this: Inherits Task Public Fu...
- Tuesday 27th April 2021 5:21pm
- Forum: Beginners
- Topic: Debugging: Stop program if variable = value ?
- Replies: 9
- Views: 21276