Questions tagged [javascript]
JavaScript is a prototype-based scripting language
159 questions
2
votes
0
answers
106
views
HTML as Background in Ubuntu 25.04 possible?
Is it possible to set an HTML page as a desktop background instead of an image in Ubuntu 25.04? I found a couple of posts asking the same question, but like 10+ years ago. Did not seem to be possible ...
0
votes
1
answer
349
views
How to fix JavaScript error when playing Shogun 2 Total War?
Playing Shogun 2 Total War on Ubuntu 24.04.2 LTS and the launcher comes up with this error (also shown in the picture below):
A JavaScript error occurred in the main process
Uncaught Exception:
...
0
votes
1
answer
411
views
totally removed gjs "sudo apt purge gjs --autoremove", now icons gone
used sudo apt purge gjs --autoremove to get rid of gjs errors (not sure why I installed that awhile back), but now all my desktop icons are gone - they are still in the desktop directory seen in file ...
2
votes
0
answers
729
views
PDF viewer that supports JavaScript
I'm trying to use a PDF that uses JavaScript (namely a MPMB D&D character sheet). It doesn't work in the Linux viewers I have tried. I think because JavaScript is not supported.
Is there a (free) ...
0
votes
0
answers
390
views
need help solving weird build failure using a Ubuntu machine
My best guess is that something is corrupted on the machine, but I have yet to figure out what. The machine is running Ubuntu 22.04. The issue is trivial to reproduce:
yarn create vite my-vue-app --...
0
votes
1
answer
347
views
Unexpected high resources consumption from gnome-javascript
I'm running Ubuntu Lunar 23.04. I've acceptable computing resources but for some reason the GNOME desktop environment keeps freezing for a moment then it returns back to normal without crashing, ...
-2
votes
1
answer
103
views
On ubuntu while using JavaScript, what command should I enter to delete my files having a common name in them? You can also use wildcards to help me
For example, I have four files with the names as "one-beta.txt" , "one-alpha.txt" , "two-beta.txt" , "three-gamma.txt". Now I am supposed to delete my files ...
1
vote
1
answer
786
views
node/nvm/npm installations : sudo vs. user install leads to trouble?
The problem appears to be inconsistency with root and user installed node (v.19.7.0), nvm (0.39.3), and npm (v. 9.5.0) and a specific npm-installed package called svg-path-interpolator on an Ubuntu 22....
2
votes
1
answer
4k
views
insomnia on ubuntu Gtk-WARNING **: 18:49:38.190: Theme parsing error: gtk.css:1413:23: 'font-feature-settings' is not a valid property name
I have this problem when I try to open insomnia on ubuntu and I don't want to delete it so I don't lose my work
has anyone had this problem?
A JavaScript error occurred in the main process Uncaught
...
1
vote
3
answers
8k
views
System tray icons all disappeared
I'm running Ubuntu 20.04.5. Recently all of my system tray application icons (e.g. Dropbox, Discord) disappeared, and restarting did not help. When I run Dropbox or Discord from terminal, their ...
0
votes
1
answer
2k
views
Websocket sending blob object on live server and string on local server
I am new to Ubuntu and recently created a project with WebSocket.
Everything works as expected on local server but on live server I get following error:
Uncaught SyntaxError: Unexpected token 'o', &...
0
votes
1
answer
486
views
browsers do not fetch any javascript file in a specific domain
I am running ubuntu 20.04
I have problem while opening beisat.org
When I view page source there is no <script> tag and no js file is loaded.
But I can load other websites correctly. Also I have ...
0
votes
0
answers
739
views
"grunt run" doesnt work in sudo mode(Ubuntu 20.04.2)
~/Desktop/editify$ sudo -s
root@kritidipto-HP-Laptop-15-bs0xx:/home/kritidipto/Desktop/editify# grunt run
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'liftoff'
...
3
votes
1
answer
11k
views
Cannot use JavaScript inside PDF with Firefox
I am having troubles using JavaScript in a PDF file opened with Firefox.
To sum up, it is a file that uses XFA forms and JavaScript to validate the form and generate a QrCode. Here is the link to the ...
2
votes
3
answers
9k
views
Where is the JSON Config File for Discord Installed Via Snap?
The only .json files I can find are build_info and manifest (I don't think either of them are config files).
Forgive me if my question is too amateurish, I just installed Ubuntu recently. I'm trying ...