Questions tagged [lua]

Lua is a scripting language with a focus on extensible semantics. This tag is for questions regarding Lua development on Ubuntu.

42 questions
16
votes
5 answers

running wireshark "Lua: Error during loading"

By running wireshark in 14.04 I got this error What should I do to solve this? Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. See…
11
votes
2 answers

Installing lua5.2 vs. lua5.3 on Ubuntu 16.10

When I install the lua5.2 package on Ubuntu 16.10: sudo apt-get install lua5.2 it installs /usr/bin/lua as a symlink to /etc/alternatives/lua-interpreter, which in turn is a symlink to `/usr/bin/lua5.2. When I install the lua-5.3 package, it…
8
votes
1 answer

What's wrong with lualatex?

I'm not sure if this is a bug or I've done something wrong (or I simply don't know luatex well enough). This minimal example file test.tex \documentclass{article} \usepackage{luacode} \begin{document} A random number: \begin{luacode} …
Hooked
  • 2,362
7
votes
2 answers

Conky & Ubuntu - music visualization (music bars)?

I started playing with Conky a few days ago and managed to achieve this: (Note: although I've written it from scratch, I got inspired by this photo, credits to the author for their creativity) As you can see, I have some free space between the…
Eti
  • 741
5
votes
3 answers

Cycle through clients on both screens in awesomewm

I am using awesomewm and have two monitors, so Mod4+j and Mod4+k cycle through windows on current screen only. Is there a way to cycle through all windows/clients on all screens to make it work like ordinary Alt+Tab?
4
votes
2 answers

conky-all says it's installing cairo but lua can't find cairo anywhere

I've been trying to get conky to work for awhile now, but I can't seem to make it install cairo properly. What I've done: installed conky-all (sudo apt-get install conky-all) Tried to get a theme which used lua and cairo, but that didn't work,…
user662777
4
votes
1 answer

Error installing gnuplot: undefined reference to `luaL_checkint'

I am making an attempt to install the program gnuplot version 5.0.1 on Ubuntu 14.04. For this, I made the following steps. Steps to install Gnuplot. 1) Run 'sudo apt-get install libreadline-dev', necessary for the Lua installation to run…
Adriaan
  • 680
4
votes
1 answer

autostart app with tag in awm

while giving awm a try i encounter some problems. i want to autostart some apps when awm is started with specific tags. here's the relevant config i use for that. first my tags with layouts: tags = { names = {"mail", "www", "video", "files", 5,…
nonsenz
  • 141
4
votes
2 answers

How to get my custom .desktop file into the unity launcher?

I've created a .desktop file like this [Desktop Entry] Categories=Game; Name=Mari0 Exec=love-unstable /opt/Mari0/mari0_1.0.love Icon=/opt/Mari0/icon.gif Type=Application And what i want is to get it in the unity launcher under the games category I…
Jeggy
  • 3,122
  • 16
  • 57
  • 80
4
votes
1 answer

Integration of Emacs/LuaLaTeX with Evince/Zathura not working in Ubuntu 18.04. How can I fix it?

After my recent upgrade (per new install) to Ubuntu 18.04, I have started having quite some troubles with my tool chain (Emacs, Lualatex, Evince). I am using forward/backward search to approximate WYSIWYG LaTeX editing. Evince has started to crash…
mfg
  • 1,407
2
votes
0 answers

texlua installed but not working

I've installed Tex Live 2015 following these instructions. When I try to use the script "getnonfreefonts" from the tug website I get these errors: sudo texlua install-getnonfreefonts sudo: texlua: command not found sudo -s texlua…
2
votes
1 answer

How do I make a script add one number to a value each second? (Lua)

I want to know how you would make a script add 1 number each second to a value (Making a spinning loading Gui)
2
votes
0 answers

Vlc http interface keep asking password

I am trying to control vlc from browser or my android phone. I read wiki vlc. And I believe I did everthing right. Enabled Http interface, set a password. But when I go to localhost:8080 browser asks me username and password and I write and it asks…
2
votes
1 answer

Awesome WM - running lua rc.lua gives an error

I install awesome using sudo apt-get install awesome I copied my rc.lua to ~/.config/awesome and ran lua rc.lua I got the following error: lua: rc.lua:2: module 'awful' not found: no field package.preload['awful'] no…
canatan
  • 135
2
votes
1 answer

Can't install lua on 12.04 on Chrome book

I am currently trying to install lua on my Ubuntu 12.04 on Chrome book and I keep getting this error: I'm doing good learning different programming languages (self taught) and well I wanted to start learning Lua. That error is keeping me from…
Anthony
  • 33
  • 4
1
2 3