Questions tagged [programming]

Questions about programming for and on Ubuntu.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
76 views

remove useless dependencies in ruby gem

I deleted some packages in gem but their dependencies have not been removed. How can I remove additional dependencies? I used sudo gem install package to install the useless packages in RubyGems.
fsgdfgdfgd's user avatar
-1 votes
0 answers
25 views

Enable all features of the Solargraph LSP Server in kate editor

How do I activate all the features of the SolarGraph? SolarGrap is a lsp server for ruby. I need to change the .config/kate/lspclient/settings.json file to enable all its features in the kate editor. ...
fsgdfgdfgd's user avatar
0 votes
0 answers
131 views

unable to compile anything after installing cpr library #

sudo g++ -o /usr/local/bin/t1 '/home/ubuntu/Desktop/test1.cpp' I am encountering an error while attempting to compile any cpp file, regardless of which one it is. The error message reads: "as: ...
wizard accesories's user avatar
0 votes
0 answers
261 views

Routing audio from any program through WSLg

I have the latest version of WSL2 with Ubuntu22.04 installed. I would like to use wsl to write some c programs which need to be able to produce audio. My library of choice for this is PortAudio. Sadly ...
user4676310's user avatar
-1 votes
1 answer
34 views

Why does c++ app launched from the Netbeans use Netbeans install dir?

When I run a simple application that uses a library, Ogre3D in my case, from NetBeans, it breaks with the following message: Error occurred during execution: InternalErrorException: Could not load ...
FvEldijk's user avatar
  • 357
0 votes
1 answer
300 views

"make" command not working

I'm currently trying to install graphics.h to do C programming, but I've been having a problem that I've been unable to solve so far. Every tutorial explaining the process is the exact same, and they ...
BlunterWeb's user avatar
0 votes
0 answers
40 views

Problem with java

jre1.8.0-51 is about to be reinstalled, but its archive cannot be found. This error keeps showing up even after restarting the laptop. I tried to download the same jre version but it didn't pass ...
Szymonejros's user avatar
2 votes
1 answer
1k views

How do I install and setup OpenJDK in Ubuntu from Snapcraft?

How is OpenJDK installed from snap so that javac and java are available from the CLI? nicholas@mordor:~$ nicholas@mordor:~$ snap list Name Version Rev Tracking ...
Nicholas Saunders's user avatar
0 votes
0 answers
23 views

Ubuntu is very slow on VM

I recently upgraded my RAM from 4GB to 8GB on a 1TB Core i3 HP laptop. The assigned base memory of Motherboard on the VM is 4MB. I just found out that my Ubuntu is now slower than before. Could it be ...
fatima yakubu's user avatar
1 vote
0 answers
139 views

Error running cuda with opengl

I am trying to compile julia example code using the command "nvcc -lglut julia.cu -o julia" and getting the following error Starting build... /usr/bin/ld: /tmp/tmpxft_00004758_00000000-...
user2719731's user avatar
-2 votes
1 answer
450 views

How to correctly open and edit .lua scripts on ubuntu

I'm making a mod for a game, and all the major program files are written in Lua, however when I go to edit them all I see is a bunch of mumbo jumbo. Any ideas on what I'm doing wrong? https://i.stack....
Bryson Cotton's user avatar
0 votes
0 answers
136 views

Ubuntu black screen with blinking cursor

My Ubuntu is not working, the version is 22.04 it is showing me black screen with blinking cursor and when i am trying all the possible commands it is showing me no space left on disk . Now i don't ...
Nidhi Sonkhla's user avatar
2 votes
2 answers
2k views

Bash Script to check in terminal if URLS are up or down?

excuse my bad english: This is the situation; I make my own IPTV lists taking the URLs of free sites and passing them to the smart tv, I would like to know which urls work and which ones don't to ...
Jeisson Cadena's user avatar
0 votes
1 answer
61 views

I am having some trouble programming this !/bin/sh code into a file on ubuntu?

I am new to Ubuntu and programming programs in general. I am supposed to edit this code into an Ubuntu file called ps1_script for an assignment for class. #!/bin/sh. However I am having some trouble ...
Sean Guberman's user avatar
0 votes
1 answer
96 views

Good libdbus Tutorials in C? More specifically the introspection part?

I've been looking around for tutorials on libdbus, and wanting to learn about it. I'm mostly getting stuck on the Introspection parts and where my Methods, Interfaces, and Signals will end up. There ...
Johnny Hoffmann's user avatar
29 votes
4 answers
6k views

How do I make a program quit with "q" and restore the console like "man" does?

The man command closes when you press q and restores the console to like you previously had it. What is this called? How could you make another program behave in this manner?
printf burner's user avatar
1 vote
1 answer
4k views

Phpmyadmin version cli

I installed phpmyadmin from this tutorial: https://computingforgeeks.com/how-to-install-latest-phpmyadmin-on-ubuntu-debian/ I would like to check the version using a terminal, but the command doesn't ...
Unknown's user avatar
  • 31
1 vote
2 answers
3k views

sh: 1: tailwindcss: Permission denied / tailwindcss

I have a problem while run the build command from Tailwindcss (i am using tailwindcss CLI): npx tailwindcss -i ./src/input.css -o ./public/css/output.css --watch While running this command, it puts ...
Jonas's user avatar
  • 19
1 vote
0 answers
197 views

Stange missing libraries when linking

When developing with Qt or plain C++, my linker yields "Cannot find: -lGL" I have checked the existence of the libraries and their use by ld with ldconfig -p |grep libGL: libGLdispatch.so.0 ...
Yvain's user avatar
  • 544
1 vote
1 answer
123 views

¿How can I create a multi input, customized terminal forms like FoxPlus, Clipper, dBaseIII+?

In the past we had tools like clipper, FoxPlus or the ancient dBaseIII+/dBaseIV to create multi input forms in which we were able to put things almost anywhere in the reduced available space (25 lines ...
Geppettvs D'Constanzo's user avatar
0 votes
2 answers
1k views

Read logs real time with bash

I have this in the system logs: Feb 27 02:53:51 Latitude-E6430 rsyslogd: action up 7 Feb 27 02:53:51 Latitude-E6430 rsyslogd: action down B Feb 27 02:53:51 Latitude-E6430 rsyslogd: action up U .......
BurstBass BurstBass's user avatar
1 vote
0 answers
220 views

How to blur specefic area on the ubuntu desktop

I am a CS student and want to work on my FYP project that will get the pixels from the desktop screen and will blur the intended pixel on the screen at run time. For example, if I want to blur the ...
Muhammad Aamir Khan's user avatar
2 votes
2 answers
327 views

How to compile a GAP program in Linux/Debian?

I installed GAP in my Ubuntu 20.04. I can write programs and compile them using terminal by writing gap then do the things that I found in GAP manual in your website without any difficult. But, if I ...
issam el mariami's user avatar
2 votes
1 answer
466 views

How to show progress in dock icon?

How can I show application progress in a dock icon? My native GTK3 application which runs on Ubuntu has an icon that appears in the the Ubuntu dock when the application is running. The application ...
Enterprise's user avatar
  • 12.3k
0 votes
1 answer
110 views

Are Visual studio and VScodium softwares same?

I don't understand. Programmers says VS and VScodium. When i try to install VScodium, everything looks same as VS. Visual Studio (VS) community is freemium and the other part of enterprise software ...
Anupriya B's user avatar
1 vote
1 answer
84 views

Grafic problem with Pythondialog in Ubuntu 20.04

I have a problem in Ubuntu 20.04 with pythondialog. As shown in the image: Dialog Error #!/usr/bin/python3 from dialog import Dialog d = Dialog(dialog="Dialog", size="autowith") d....
yoloknight's user avatar
-1 votes
1 answer
195 views

how to generate random number [closed]

I want to generate a few random numbers in the range 0-999 and store them in an array. This is my code: void randnum(int number) { int i; int num; int arr[11]; printf("%d", ...
user15907922's user avatar
0 votes
1 answer
216 views

high RAM usage on ubuntu desktop

I'm using an Ubuntu desktop 20.04 LTS. I'm not running any concurrent applications at the time. and I'm using R and python and a jupyter notebook in my computer. today while running jupyter notebook I ...
davood asgharzadeh's user avatar
0 votes
0 answers
680 views

Unity Editor Installation Error

I'm using Lubuntu 20.04.2 and I want to install Unity Editor from the official Unity Hub 2.4.3 downloaded from the official Unity website. But When I try to install the latest Unity Editor LTS, It ...
Kenryu Shibata's user avatar
1 vote
2 answers
708 views

Do we have offline Python documentation browser in Ubuntu repositories to have one "point of service" to read and search the Python docs and APIs?

The question is in the title. As a use case one can imagine the situation about finding function basing on its known functionality. I already know about Zeal which is packaged. It downloads ...
N0rbert's user avatar
  • 99.7k
-1 votes
2 answers
162 views

.NET development in Kubuntu

Hello Ubuntu community I am a student at collegue, and I want to use Kubuntu as my main OS. Because I am programming .NET (.net 5 is ok), I need .net framework, developer pack, and Visual Studio (the ...
Irsu85's user avatar
  • 551
0 votes
1 answer
1k views

Installing Ganache GUI in Ubuntu

How exactly is Ganache installed on Ubuntu? The approach of using git looks advantageous, yet, I'd expect a sort of wrapper around git for use from within npm or similar. Or does this have to be ...
Nicholas Saunders's user avatar
0 votes
0 answers
199 views

Does fgets hold somehow where it stopped reading the FILE *stream?

I am trying to get a sample program on how to write to a file: #include <unistd.h> #include <stdio.h> #include <string.h> int main(int argc, char **argv){ char buff[1024]; size_t ...
tonythestark's user avatar
-2 votes
1 answer
189 views

Error while installing graphics.h library on ubuntu 20.10

please answer my question as i can't installing graphics.h library in ubuntu 20.10. It shwoing me erros as libs0-dev not found. showing while installing packages
Majid's user avatar
  • 11
-1 votes
1 answer
247 views

How to configure the PowerShell prompt on Ubuntu?

How do I configure the PowerShell profile so that the prompt is changed? nicholas@mordor:~/.config$ nicholas@mordor:~/.config$ ls -alh total 108K drwxr-xr-x 23 nicholas nicholas 4.0K Feb 4 19:50 . ...
Nicholas Saunders's user avatar
0 votes
2 answers
170 views

What tools can I use to make an emojie service like windows on Linux?

On windows 10, one of the more recent updates, you can use the shortcut windows key + . to open up a small window next to the focussed textbox and you can use that to quickly enter in emojies. What I ...
Shanah Jr Suping's user avatar
0 votes
1 answer
27 views

How do I edit/replace my password verification program? (Wie verändere(/ersetze) ich mein Passwort-Erkennungsprogramm?)

(I am able to understand both english and german, but german is my first language, so if you can, pls answer me in german (and please don't roast me for my bad english) :) ) (Ich kann sowohl Deutsch, ...
TEX_479's user avatar
2 votes
2 answers
236 views

Alternatives : Odespy for Ubuntu 20.10

I am interested in numerical methods for solving odes using Python. I would like to refere to: Linge, S., & Langtangen, H. P. (2020). Programming for Computations-Python: A Gentle Introduction to ...
Siderius's user avatar
2 votes
1 answer
6k views

What is the simplest way to run Javascript code on Ubuntu?

I tried to use browsers' console, but it interprets print as command to print a document, not as output on the console. I heard about some JavaScript Shell, but didn't quiet get how to install and use ...
R S's user avatar
  • 2,369
1 vote
1 answer
1k views

Why i get this error while installing graphics file and how can solve it?

*** The sdl-config script installed by SDL could not be found *** If SDL was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the SDL_CONFIG environment variable to the *** full ...
Divyaranjan Parida's user avatar
0 votes
1 answer
142 views

Where is the database for feedreader?

It's implied: https://code.launchpad.net/~eviltwin1/feedreader/sqlite that feedreader uses sqlite or that it can be configured to do so. I looked in the .config folder, but didn't see anything ...
Nicholas Saunders's user avatar
0 votes
0 answers
158 views

Programming in c# not working

I programmed in c # using windows and never had any problems. Since I started using ubuntu I have a problem. the applications (Visual studio code, monodevelop, sublime text and atom) do not show ...
BeOnlyTom _'s user avatar
3 votes
1 answer
369 views

Is there a way to get syntax highlighting for Raku lang in Pluma / Gedit?

This question is related to What languages does Pluma / Gedit text editor cover for syntax highlighting?. I noticed Raku programming language is not supported yet by Pluma in Ubuntu Mate 18.04. ...
ksousa's user avatar
  • 143
0 votes
2 answers
91 views

How to enumerate a variable in a loop starting at 01?

I have a question I have the rename command, but after I run the rename starting from 00, how to start from 01, please help me this is the command that I use for i in *.mkv; do new=$(printf "...
Joe Cola's user avatar
  • 343
1 vote
1 answer
2k views

Why is total stat block size of a directory twice of ls block size of a directory?

I am fairly new to Ubuntu and would like to learn more Linux programming. Each time I print ls -l and compare it again my own codes to add st_blocks of each file, the result is always stat block being ...
Jin Yu Chan's user avatar
0 votes
1 answer
4k views

Eclipses: no consoles to display at this time

How do I get a bash terminal or console from within Eclipse itself? but no prompt: I just see: no consoles to display at this time "Window->Show View->Other". Search for Terminal and select "Open"....
Thufir's user avatar
  • 4,551
3 votes
1 answer
711 views

How can Gedit detect and highlight languages that aren't installed?

How can gedit detect languages, even though they are not installed? Here's an example where Gedit detects Java. But when I try to run Java from terminal, it says that java is not installed. ...
Vaibhav Madan's user avatar
0 votes
1 answer
350 views

How do I run this file? It has a white icon with a grey cog on it

I am programming in Python on Ubuntu 20.04 and have just compiled my first program using 'PyInstaller'. The program is compiled as a stand alone file with a white icon with a grey cog on it. I have ...
Barra's user avatar
  • 375
1 vote
2 answers
2k views

How to enable auto close bracket inside a bracket in GEANY editor

I like the geany text editor very much. However, one thing that I don't like is that while I code in C/C++, the auto-close bracket option does not work inside similar types of brackets. Here's an ...
Greek Sachdeva's user avatar
2 votes
1 answer
11k views

How to use NetBeans in Dark Mode with the Darcula Theme?

How do I install Darcula through Netbeans itself? Seemingly a matter of enabling the correct plugins through the GUI? Versus installing after manually downloading: I'd expect it to be available ...
Thufir's user avatar
  • 4,551

1
2 3 4 5
12