Questions tagged [application-development]
Writing applications for Ubuntu (including Ubuntu Touch) and questions about the application submission process to the Ubuntu Software Center. This covers both open source and commercial applications.
1,918
questions
1
vote
1
answer
4k
views
Exception: Gradle task assembleDebug failed with exit code 1
I just started with app development with flutter, but am not even able to run the test app. This is what come on console :
Launching lib/main.dart on AOSP on IA Emulator in debug mode... Running ...
276
votes
6
answers
196k
views
When installing user applications, where do "best practices" suggest they be located?
Occasionally I install applications manually, rather than using apt or another package manager.
What location (/usr/, /usr/local/, /opt/, /home/, etc.) is suggested by "best practices" for the ...
0
votes
0
answers
2k
views
Problems trying to deploy Laravel 9 app on Ubuntu Server 20.04
Im facing problems while try to deploy my Laravel App (v9) on my Ubuntu Server.
First of all, Im going to share my Apache Configuration because I think my problem is related with it more than Laravel.
...
0
votes
1
answer
92
views
sed mongodb connection string copying multiple times in env variable through github action
this is command which i run in github action its copying into .env.production file
sed -i "s#DB_URI=.*$#DB_URI=mongodb+srv://xxxxxx:[email protected]....
1
vote
1
answer
66
views
create a topbar shortcut to an .sh script
I want to be able to run a script with custom parameters via a shortcut in the top bar. On ubuntu 22.04.
I imagine it would look something like this
How can I make something like that?
Thanks
1
vote
4
answers
4k
views
Python GTK 3 IDE
Is there any available IDE for Python GTK 3,
i.e. An IDE which give the programmer an auto complete feature with method Description etc.?
8
votes
2
answers
4k
views
How to control gnome-terminal from Python script?
I am developing an application in PyGtk, and would like to launch a gnome-terminal and output commands to it.
My user should then be able to modify the command, or maybe ignore using the up arrow ... ...
1
vote
1
answer
206
views
In-app paymnt methods
I'm interested in developing for Ubuntu (mostly phones) and I can't seem to find the guidelines on app publishing, will apps only work through the ubuntu software center, or can users download and ...
2
votes
1
answer
5k
views
Problem installing snapd
I like to install snapd
but my computer say message like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package snapd
how ...
0
votes
0
answers
30
views
How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone?
How to containerize system with files- to install apps in seperate space, so that app is not in system and removing container the apps would be gone?
Snapshots or clones of system and then working in ...
0
votes
1
answer
110
views
Is there a document specification for formatting the version query output of an application
I'm aware that some recommended standards for Linux package development exist. For example, according to Debian standards, service users and groups should begin with an underscore.
Is there a standard ...
1
vote
1
answer
328
views
Ubuntu Touch QML API : PageHeadStyle
I'm looking for some help to use PageHeadStyle components which is available in Ubuntu SDK.
If somebody has example, I will be grateful.
Thanks.
18
votes
4
answers
37k
views
How to open directories in geany IDE?
I have a directory already created which has sub-directories in it, it was created by Eclipse IDE. And now, I'm willing to continue developing the same project using a different IDE - Geany IDE.
But,...
1
vote
1
answer
398
views
How to fix the error qmlscene: could not find a Qt installation of '' in Ubuntu Unity 22.10?
I compiled this app made for Ubuntu Touch in Ubuntu Unity 22.10.
The app can be run with qmlscene %U /path/to/qml/Main.qml.
When I run qmlscene, I get the error
qmlscene: could not find a Qt ...
1
vote
1
answer
1k
views
Considerations when upgrading Ubuntu from 18.04 to 22.04 -- software development POV
I have been using Ubuntu 18.04 LTS for over three years now and have been considering moving to newer LTS versions for some time. However, the thought of working software breaking or requiring changes ...
0
votes
3
answers
2k
views
How to hide a GTK window in Python before call or os.system
So, I'm depeloping a Python/GTK app which, after showing an assistant, it hides the assistant's window and runs an external app. The problem is that window.hide() doesn't works if, after the command, ...
5
votes
4
answers
4k
views
How do I get the names in my icon theme for use with pythons appindicator module?
How do I get the strings I can insert instead of 'gtk-execute'?
#!/usr/bin/python
import gobject
import gtk
import appindicator
if __name__ == "__main__":
ind = appindicator.Indicator("example-...
0
votes
0
answers
126
views
Is there soemthing like iOS's universal links for ubuntu
I am currently developing an application that supports universal links on iOS / MacOS, app links on android and apps for websites on windows. Therefore when a user clicks on a link for my app, for ...
0
votes
0
answers
68
views
I have installed .net on Ubuntu 22.04 yet it doesn't recognize the sdk
I firstly installed .net sdk 7.0 using snap. VSCode didn't recognize it and I added it to the path (don't remember how, creating a symbolic link I think). Still VSCode wouldn't recognize it inside its ...
10
votes
4
answers
25k
views
How can I create a new socket in /dev?
I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?
12
votes
2
answers
53k
views
How to install Qt6 on Ubuntu 21.10
When trying to open a program that requires Qt6, it gives error while loading shared libraries: libQt6Network.so.6: cannot open shared object file: No such file or directory. I tried installing Qt6 by ...
2
votes
1
answer
99
views
Packaging commercial application
I'm developing a project tracking application that I intend to release not far in the future as a commercial (for purchase) app in the software center. I'm just trying to figure out how to best ...
1
vote
1
answer
143
views
Android Device on Linux
I have a Desktop PC running Ubuntu, I also have an Samsung galaxy Tablet.
I am looking for a solution for the following needs:
Connect tablet to PC.
Tablet opens up as an application window.
...
0
votes
1
answer
280
views
Unable to install Synaptic Package Manager [duplicate]
I am unable to install the "synaptic Package Manager" from Ubuntu software store. I am using Ubuntu 23.04, while I am trying to install it the dialog shows" unable to install "...
1
vote
2
answers
483
views
Keyboard wired not faunctioning on ubuntu 23.04
I upgraded Ububtu 22.04 to 22.10 then to new released ubuntu 23.04 and it found that some times the Keyboard(USB) not functioning after unlocking to desk top.After restarting the machine it is found ...
0
votes
0
answers
110
views
filenotfounderror: [errno 2] no such file or directory: '/root/.buildozer/android/platform/android-sdk/build-tools/34.0.0/aidl'
I'm using termux app in my android phone. I installed ubuntu in termux. Then i installed python,javac,unzip etc.I also installed NDK, SDk,ANT. Then when i run buildozer android debug command i got ...
1
vote
1
answer
4k
views
How to compile Linux kernel module: printk missing?
So I'm trying to compile a simple kernel module on Ubuntu 18.04, kernel 4-15.32 generic:
#define MODULE
#include <linux/module.h>
#include <linux/kernel.h>
int init_module(void){
...
9
votes
3
answers
3k
views
How to add a pygtk Widget to the Glade palette?
Say I've created a gtk Widget like this:
class AwesomeTextView (gtk.TextView):
def set_font(self, font_description):
self.modify_font(pango.FontDescription(font_description))
How can I ...
0
votes
0
answers
28
views
How to start using Test Evolve - Automated testing tool?
I'm currently exploring new software testing tools, and one of the tools that caught my attention is Test Evolve. I'm curious to know if anyone here has experience using it for automated software ...
-1
votes
1
answer
50
views
Which Linux is best for beginners [closed]
I am totally new to Linux i want to try Linux since I heard it is best for web and app development.but I am not sure to choose which Linux is best like Ubuntu,mint and so... So can anyone tell which ...
17
votes
6
answers
8k
views
Where can I find a metronome for music practice?
This is somehow a follow up of this question:
How can I detect the BPM (beats per minute) of a song?
But now instead of detecting them in songs, I want to generate them.
I am looking for an ...
0
votes
1
answer
66
views
Developer guidelines for specifying priority of apps in update-alternatives?
The update-alternatives command is a common way to specify which of various alternative programs should be the default in each of several categories of programs (web browsers, editors, etc). I think ...
9
votes
2
answers
7k
views
How can I play a system sound with Python?
I am writing a small reminder-app and want to play a system sound once the timer has reached 0. What is the easiest way to play that sound, and which sound would you recommend?
1
vote
2
answers
5k
views
How do I force only one instance of my application?
I am developing a program using quickly. I am using an indicator which can hide/show the main window.
But when I launch the application from the launcher it starts a new instance of that application (...
1
vote
1
answer
2k
views
messed up fan speed setting how to reset
So i run ubuntu server 22.04.2
The problem was my gpu fan makes noise when it runs, so i was trying to mess with fan speed controls so I ran a couple of commands that I have mentioned down
pwmconfig
...
0
votes
1
answer
558
views
How to trace API calls on Ubuntu?
I have an application installed on Ubuntu 22.04. The application connects to an API and when I run a command in the application input space, it starts communication with the API and retrieves the ...
2
votes
1
answer
4k
views
Set Window Icon to Gtk Stock Icon in PyGtk
I am trying to add a Gtk stock icon to my window. Here is the code:
#! /usr/bin/python
from gi.repository import Gtk
class MyWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(...
5
votes
2
answers
8k
views
How can I change the name or icon of an installed application?
I have two MPV media players installed of different versions. One is via apt and another via flatpak. I need them both for different purposes. But they have exactly same name and icon. So, whenever I ...
5
votes
4
answers
6k
views
How to add some padding between a ListView and its footer?
Consider the following QML snippet:
ListView {
//...
footer: Text {
text: "Sample Text"
}
}
This will display the text "Sample Text" directly at the bottom of the ListView. ...
2
votes
1
answer
824
views
fakeroot and package building
We have developed a network pub/sub communication suite. It is in use across a number of different applications and domains, most notably on our payloads aboard the International Space Station (ISS). ...
1
vote
1
answer
265
views
How to install epson L360 scanner
Problem with the installation of epson l360 image scanner, I down loaded the scanner driver but failed to instal, please help what should I do?
0
votes
1
answer
128
views
App Submission for Showdown
If I submit my app to the ARB today, can I make any changes before Monday?. Or will the ARB consider my app based on the version that was submitted on the submission day? ie If I make changes will I ...
1
vote
0
answers
240
views
Remove all manually installed libraries
What is the easiest way to remove all development library packages that have been installed manually, i.e. via apt-get install libsomelib-dev, on Ubuntu 22.04?
Something like:
sudo apt-get remove lib*-...
0
votes
0
answers
530
views
Cool Retro Term not displaying
I'm trying to start up cool retro term, and am running into an issue. When I run it using "cool-retro-term" in the terminal, the new window pops up, but it's see-through, as in you can see ...
-1
votes
1
answer
204
views
Google Login problems
ScreenshotI'm using Ubuntu 22.04.1 LTS aarch64 on my PI400 and really liking it, however when i try to log my Google account in Settings/Online Accounts I get the attached.
It's not urgent, just ...
2
votes
1
answer
113
views
Title of application menu in top bar shows Java package path
I have a self written Java application. I set the frame title with JFrame.setTitle. When I run it under Ubuntu 20.04, the application menu in the top bar shows the Java package path as shown in this ...
0
votes
1
answer
395
views
Best way of building a Ubuntu CMake app as cross platform on Visual Studio 2022 Community Ed. c++?
Questions:
Are there CMake differences between Ubuntu 22.04 and Visual Studio 2019 Comm Windows 10/11? Aside from CMake version minimum 3.20 for VS2019, I had been using 3.23 on Ubuntu. Qt required ...
1
vote
3
answers
929
views
What are current tools to develop Desktop apps for 22.04?
Coming from Windows, I an used to being able to use Visual Studio to quickly layout a Desktop App, add in the event driven code and have a useful tool really quickly.
I am looking for something ...
3
votes
1
answer
480
views
Are paid and proprietary apps being discontinued from Ubuntu 16.04 onward?
Previously developers could submit paid and proprietary apps to Ubuntu Software Centre via MyApps section in developer.ubuntu.com.
However, the new software centre in Ubuntu 16.04 does not support ...
0
votes
3
answers
5k
views
How can i create and run visual basic projects and still run in windows
How can i create and run visual basic projects in ubuntu.
After creating them in ubuntu would it be able to run in windows (visual studio).
If there is a way then plz suggest me and software for it.