Linux get notification on focused gui window change

In linux, is it possible to get notifications when the currently focused GUI app changes? I'm writing an app that tracks how long a user stays on each GUI app(per process, not within one process),...

Visual block edit in vim

I have refer to this post to use block editing in vim. But when I key I or c after the block select, vim enters the normal edit mode just as if I pressed a i. I also found, when block is selected,...

Vim colorschemes not working in GNU Screen even after setting .bashrc & .screenrc

I set my .screenrc and .bashrc files to the following answer here: https://stackoverflow.com/questions/6787734/strange-behavior-of-vim-color-inside-screen-with-256-colors But the colorschemes...

How to view syslog in ubuntu?

Follow up from this question, LogBack Syslog not working java I use command below to view syslog in ubuntu 16.04 but get below result. Is it the correct way to view? [email protected]:~$ tail -f...

Open files from Linux bash shell on Windows 10

Using Windows 10 and I have the Linux Bash Shell to use with Jekyll. All I am looking to do is open the explorer or filesystem to copy some files. Does anyone know how you browse the file explorer...

lower_case_table_names=1 on Ubuntu 18.04 doesn't let mysql to start

I have installed mysql community server 8.013 on ubuntu 18.04 and I have the following issue. I want to set lower_case_table_names=1 in order to have case insensitive table names in my db. I...

Trying to install a simple kivy app on my phone but got a buildozer last command error message

import kivy kivy.require('1.11.1') from kivy.app import App from kivy.uix.gridlayout import GridLayout from kivy.uix.label import Label from kivy.uix.textinput import TextInput class...

Error when compiling an apk with buildozer

I tried to make an apk via Buildozer on a simple "Helloworld" code on ubuntu but i got an error and i didn't find a solution on internet.. i used this command "buildozer android debug deploy "...

"Buildozer failed to execute the last command" Error

Iam trying to make an Apk out of my Kivy Application right now. But Buildozer gives me an error at the moment, where i dont find a working solution in the internet. My Program is an simple...

Buildozer java erro

I am new to kivy and buildozer both. Also I am running buildozer for the very first time to build application for android. I programmed an application which works fine on python interpreter...

How to run Gnome-Shell under Docker?

How do you run Gnome-Shell from inside Docker? I'm trying to create a simple continuous build process for a Gnome Shell Extension, just to simulate and test installation. In order to make it...

I can't understand and solve these errors in build, push and run the apk on my device

I want to make an android APP using kivy-python, by converting the Kivy app to apk. At first i download buildozer: git clone https://github.com/kivy/buildozer.git then: cd buildozer sudo python...

Bash/ZSH Terminal prompt Time & Date

Running Bash & ZSH as my terminal environments. My main goal is that I would like to add a timestamp onto all of my prompts.. Something along the lines of: PS1_DATE="\D{%Y-%m-%d %H:%M:%S}" This is...

#command failed: /usr/bin/python3 -m pythonofrandroid.toolchain create

I am trying to put a simple Hello World app onto my android phone, to check that it will work, when I want to transfer my real app, which didnt work i got the same error, so I am assuming, that...

Tried to build a Kivy APK using buildozer and got "Invalid syntax" iin runpy.py

I was trying to build a Kivy app as an APK for android. However, when it downloaded all of the needed dependencies it spat a traceback saying runpy.py had an invalid syntax. This is inside an...

Buildozer build failed on project install stage while it tries to install cython

This is the last portion of the buildozer log.Here I am trying to build a hello world app for the android.I have kivy 1.11 installed on my system.I have also installed latest version of cython but...

buidozer is showing an error while i try to debug an kivy app

I am trying to develop an kivy android application,but while debugging the app using 'buildozer android debug deploy run' command the buildozer throws the following error i confirmed that cython...

Kivy garden mapview deploying error with Buildozer

I am using kivy.garden.mapview for my application. Everything works properly, but problems arise when I try to deploy the application to Android with Buildozer. I set "garden_requirements =...

buildozer is showing error during apk build

I was trying to build an apk with buildozer. The application was written in kivymd. It works good in linux environment.but when try to debug with buildozer it shows the following error. The error...

Kivy to Android apk using Buildozer on Ubuntu not work

I try to build my APK file for Android using Buildozer 1.2.1.dev0 on Ubuntu 19.04, but I get this error: Build failed: Requested API target 27 is not available, install it with the SDK android...

Error when trying to build apk with buildozer

I've tried building an apk with buildozer before and it worked however today I tried to change the app logo on my phone by using the icon.filename in the .spec file and it displays an error. I've...

How to get steam to run on Ubuntu 20.04

Steam won't run =( Here's what I've tried: I have a fresh install of Ubuntu 20.04 (via Ubuntu Server Live Installer + ubuntu-desktop package) with nvidia drivers: $ nvidia-smi Mon Jun 22 10:26:49...

Kivy app works fine in development but throwing error when generating a release

I developed a kivy app and everything works perfectly on my laptop and on my android phone too (in debug mode). The next step is to make a release so that I can finally publish the app. I followed...

Ret2LibC: system() argument "/bin/sh" throws error

I'm trying to perform a Ret2LibC attack. My buffer to return address offset is 24 bytes. Therefore the first 24 bytes of my "bad file" are AA, and I overwrite the return address in th next 4 bytes...

Android Emulator Segmentation fault (core dumped) On Fedora 33

Using the Android 11.0 (R) SDK platform (revision 3), when I run an emulator image (Google Play Intel x86 Atom or Atom_64 System Image, revision 9), the emulator crashes. Doing the same from the...

flutter: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

I'm working with flutter in ubuntu 18.04. I can't run my project although flutter doctor is no problem. I stuck in the problem of Gradle daemon. I have tried the method in gradle user guide and...

How to make android APK with buildozer?

I am trying to buid an APK with buildozer, I have a windows but i have set up a virtual machine(linux). When i try buildozer init, it creates the .spec which I have edited as per my needs spec...

sh.CommandNotFound: ./compile.sh Buildozer and KivyMD error

OS: (VM) Ubuntu 20.04.2 Python3 : 3.8.5 I've been trying to compile a an application I created using the following modules: kivy,kivymd,pafy,vlc,sys, threading,time. And also a local custom module...

The pgAdmin 4 server could not be contacted in Linux Mint 20.2

Folks i just installed pgAdmin 4 from here. But when i launch the application, it crashed, throwing me the following me error: The pgAdmin 4 server could not be contacted: pgAdmin Runtime...

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway

I try to use library cv2 for changing picture. In mode debug I found out that problem in function cv2.namedWindow: def run(self): name_of_window = 'Test_version' image_cv2 =...