[Gambas-user] Re: Keyboard locked -- insisting one more time
Dimitris Anogiatis
dosida at ...626...
Wed May 24 06:23:17 CEST 2017
Ok.. Gambas3 run as root? Not a good idea. I realize it's a much needed
workaround but not the recommended one. I would go with what Cris suggested.
I've run Gambas3 3.9.2 on a Virtualbox VM of Ubuntu Budgie 17.04 and as a
normal user I've never had problems with the keyboard locking.
Is there something that might be misconfigured on your VM perhaps (I mean
on the Virtualbox settings)?
On Mon, May 15, 2017 at 9:20 AM, Cristiano Guadagnino <criguada at ...626...>
wrote:
> Fernando, did you try setting up a new user on your system and trying to
> run gambas as the new user?
>
> Cris
>
>
>
> <https://mailtrack.io/>
>
> Sent with Mailtrack
> <https://mailtrack.io/install?source=signature&lang=en&
> referral=criguada at ...626...&idSignature=22>
>
>
> On Mon, May 15, 2017 at 12:53 PM, Fernando Cabral <
> fernandojosecabral at ...626...> wrote:
>
> > Gláucio
> >
> > I see our systems and environment are quite similar, although not exactly
> > the same. Have you installed something different that might have changed
> > the IDE behavior? If I have, I have not been able to determine what it
> > could be. What I know for sure is that one moment everything was working,
> > next moment it was not anymore. What happened in-between, I can not
> figure
> > out.
> >
> > Now, after running gambas as superuser ("sudo gambas3") I have given up
> the
> > keyboard hypothesis (at least for now). I went back to the hypothesis
> that
> > it has to do with some file or directory permission. Nevertheless, I have
> > not been able to determine which file or directory it could be. As to the
> > project tree, I have opened it up completely (rwxrwxrwx for the
> directories
> > and at least rw-rw-rw- for the files. Even for the hidden ones. It did
> not
> > help.
> >
> > I have also searched for every single file and directory related to
> gambas.
> > For this I used searches like "locate -i --regex .*gambas.*" and "gbr3"
> and
> > "gbx3", etc. Saved the results to a file and checked file and directory
> > permissions. I could not find and thing unexpected.
> >
> > I have exhausted my bag of tricks so I have resorted to either of two
> ugly
> > workarounds: running gambas as superuser or doing the edition in a
> virtual
> > machine. In the last option, I just mount the project tree as a directory
> > in the virtual machine. Then I make the changes in the virtual machine
> and
> > test them in the real machine. Cumbersome, but has worked.
> > I would ask you to try running "sudo gambas3". If you can edit your files
> > as superuser, then it will be very likely that we have exactly the same
> > problem.
> >
> > Saudações
> >
> > - fernando
> >
> > 2017-05-14 18:19 GMT-03:00 Glaucio Araujo <glaucio.de.araujo at ...626...>:
> >
> > > Hi,
> > >
> > > I'm having exactly the same problem here in Xubuntu 17.04 with Gambas
> > 3.9.1
> > > and 3.9.2(PPA).
> > >
> > >
> > > My system information:
> > >
> > > [System]
> > > Gambas=3.9.2
> > > OperatingSystem=Linux
> > > Kernel=4.10.0-20-generic
> > > Architecture=x86_64
> > > Distribution=Ubuntu 17.04
> > > Desktop=XFCE
> > > Theme=Gtk
> > > Language=pt_BR.UTF-8
> > > Memory=3829M
> > >
> > > [Libraries]
> > > Cairo=libcairo.so.2.11400.8
> > > Curl=libcurl.so.4.4.0
> > > DBus=libdbus-1.so.3.14.7
> > > GStreamer=libgstreamer-1.0.so.0.1004.0
> > > GTK+2=libgtk-x11-2.0.so.0.2400.31
> > > GTK+3=libgtk-3.so.0.2200.11
> > > OpenGL=libGL.so.1.2.0
> > > Poppler=libpoppler.so.64.0.0
> > > QT4=libQtCore.so.4.8.7
> > > QT5=libQt5Core.so.5.7.1
> > > SDL=libSDL-1.2.so.0.11.4
> > > SQLite=libsqlite3.so.0.8.6
> > >
> > > [Environment]
> > > CLUTTER_BACKEND=x11
> > > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> > > DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path
> > > DERBY_HOME=/usr/lib/jvm/java-8-oracle/db
> > > DESKTOP_SESSION=xubuntu
> > > DISPLAY=:0.0
> > > GB_GUI=gb.qt4
> > > GDMSESSION=xubuntu
> > > GLADE_CATALOG_PATH=:
> > > GLADE_MODULE_PATH=:
> > > GLADE_PIXMAP_PATH=:
> > > GTK_MODULES=gail:atk-bridge
> > > GTK_OVERLAY_SCROLLING=0
> > > HOME=<home>
> > > J2REDIR=/usr/lib/jvm/java-8-oracle/jre
> > > J2SDKDIR=/usr/lib/jvm/java-8-oracle
> > > JAVA_HOME=/usr/lib/jvm/java-8-oracle
> > > JOURNAL_STREAM=8:23426
> > > LANG=pt_BR.UTF-8
> > > LANGUAGE=pt_BR:pt:en
> > > LOGNAME=<user>
> > > MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path
> > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/
> > > sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/
> > > lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/
> > > bin:/usr/lib/jvm/java-8-oracle/jre/bin
> > > PWD=<home>
> > > QT_ACCESSIBILITY=1
> > > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> > > QT_QPA_PLATFORMTHEME=gtk2
> > > SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/
> > > 1227,unix/<hostname>:/tmp/.ICE-unix/1227
> > > SHELL=/bin/bash
> > > SHLVL=0
> > > SSH_AGENT_PID=1209
> > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> > > TZ=:/etc/localtime
> > > USER=<user>
> > > USERNAME=<user>
> > > WINDOWPATH=1
> > > XAUTHORITY=/run/user/1000/gdm/Xauthority
> > > XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg
> > > XDG_CURRENT_DESKTOP=XFCE
> > > XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:<
> > > home>/.local/share/flatpak/exports/share/:/var/lib/
> > > flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/
> > > lib/snapd/desktop:/usr/share
> > > XDG_MENU_PREFIX=xfce-
> > > XDG_RUNTIME_DIR=/run/user/1000
> > > XDG_SEAT=seat0
> > > XDG_SESSION_DESKTOP=xubuntu
> > > XDG_SESSION_ID=1
> > > XDG_SESSION_TYPE=x11
> > > XDG_VTNR=1
> > > _JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
> > > -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
> > >
> > >
> > > ---
> > >
> > > Gláucio de Araujo
> > >
> > > Mail : glaucio.de.araujo at ...626...
> > > TIM : (11) 95900-7801 (WhatsApp / Telegram)
> > >
> > >
> > >
> > >
> > > > Thank you, Tobi for your patience explaining this whole thing.
> > > > Your comments make sense. No, as to the keyboard issue,
> > > > what I can not figure out boils down to two things: First, I have not
> > > > changed anything. At least that I know of.
> > > > Second, why I only see the problem with the gambas IDE? Everything
> else
> > > is
> > > > working fine.
> > > >
> > > > I also have tried this:
> > > > a) installed Linux Mint 18.1 in a virtual box
> > > > b) mounted the original directories in the virtual box
> > > > c) installed gambas in the virtual machine
> > > > d) edited the original files in the virtual environment -- no
> problems
> > > > whatsoever.
> > > >
> > > > The keyboard is the same. The hardware is the same. The operating
> > system
> > > is
> > > > the same.
> > > > Nevertheless, the IDE behavior is different.
> > > >
> > > > It must have something to do with the keyboard driver, but what?
> > > >
> > > > I still can't see why this would only affect Gambas and nothing
> else.
> > > Not
> > > > even applications developed with gambas.
> > > >
> > > > Anyway, I am glad you and others have tried so hard to help me.
> > > >
> > > > - fernando
> > > >
> > > >
> > > >
> > > >
> > > ------------------------------------------------------------
> > > ------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> >
> >
> >
> > --
> > Fernando Cabral
> > Blogue: http://fernandocabral.org
> > Twitter: http://twitter.com/fjcabral
> > e-mail: fernandojosecabral at ...626...
> > Facebook: f at ...3654...
> > Telegram: +55 (37) 99988-8868
> > Wickr ID: fernandocabral
> > WhatsApp: +55 (37) 99988-8868
> > Skype: fernandojosecabral
> > Telefone fixo: +55 (37) 3521-2183
> > Telefone celular: +55 (37) 99988-8868
> >
> > Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
> > nenhum político ou cientista poderá se gabar de nada.
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list