/r/Lubuntu
Lubuntu related News, Tips, Stories, and questions. A place for Lubuntu users to gather, exchange information and ideas, and share their love for Lubuntu.
Welcome to the Lubuntu subreddit
Feel free to ask questions, and we'll gladly help where we can
Stuff we like:
Other related subreddits:
Read the reddit FAQ and reddiquette for more answers.
/r/Lubuntu
My dell latitude e6400 has lubuntu installed with kde plasma 11 and i have used almost every command, updated every utility, and installed all my network drivers, but apparently not, I can only use my bluetooth hotspot and ethernet to have internet connection, someone help me!
I have some Java programs packaged in .jar
format. To run these programs, I normally download the latest Temurin Java JRE OpenJDK11U-jre_x64_linux_hotspot_11.0.25_9.tar.gz
from its official GitHub repository.
Then, I extract it to /usr/lib/jvm
and create a desktop file. After this process, I can select the Java Runtime to run those .jar
files. These steps have been tested on Lubuntu 22.04, 22.10, 23.04, 23.10, and 24.04.
Today, I tried using 24.10 and found that my desktop file does not work. I tried searching for the error message but had no luck. So, I am posting here to seek help.
The following desktop file works in 22.04 and 24.04, but it does not work in 24.10.
/usr/share/applications/temurin-11-jre.desktop
[Desktop Entry]
Name=Temurin Java 11 Runtime
Comment=Temurin Java 11 Runtime
Keywords=java;runtime
Exec=cautious-launcher %f /usr/lib/jvm/jdk-11.0.25+9-jre/bin/java -jar
Terminal=false
Type=Application
Icon=openjdk-11
MimeType=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=true[Desktop Entry]
Name=Temurin Java 11 Runtime
Comment=Temurin Java 11 Runtime
Keywords=java;runtime
Exec=cautious-launcher %f /usr/lib/jvm/jdk-11.0.25+9-jre/bin/java -jar
Terminal=false
Type=Application
Icon=openjdk-11
MimeType=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=true/usr/share/applications/temurin-11-jre.desktop[Desktop Entry]
Name=Temurin Java 11 Runtime
Comment=Temurin Java 11 Runtime
Keywords=java;runtime
Exec=cautious-launcher %f /usr/lib/jvm/jdk-11.0.25+9-jre/bin/java -jar
Terminal=false
Type=Application
Icon=openjdk-11
MimeType=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=true[Desktop Entry]
Name=Temurin Java 11 Runtime
Comment=Temurin Java 11 Runtime
Keywords=java;runtime
Exec=cautious-launcher %f /usr/lib/jvm/jdk-11.0.25+9-jre/bin/java -jar
Terminal=false
Type=Application
Icon=openjdk-11
MimeType=application/x-java-archive;application/java-archive;application/x-jar;
NoDisplay=true
Error message.
sudo xdg-mime default /usr/share/applications/temurin-11-jre.desktop application/x-java-archive
[sudo] password for user:
qtxdg.mimeapps.glib: Failed to load GDesktopAppInfo for '/usr/share/applications/temurin-11-jre.desktop'
Could not set '/usr/share/applications/temurin-11-jre.desktop' as default for 'application/x-java-archive'sudo xdg-mime default /usr/share/applications/temurin-11-jre.desktop application/x-java-archive
[sudo] password for user:
qtxdg.mimeapps.glib: Failed to load GDesktopAppInfo for '/usr/share/applications/temurin-11-jre.desktop'
Could not set '/usr/share/applications/temurin-11-jre.desktop' as default for 'application/x-java-archive'
I just set up Lubuntu on an old pc I want to use as a nas. I know that on windows you can network share a drive but I was wondering if I can do the same on lubuntu. Dont want to switch OS to a NAS only one since this computer has given me nothing but trouble and I dont want to do another OS switch.
I just installed Lubuntu to try out as a lightweight distro for my laptop but holy shit are the audio drivers bad. When connecting to my headphones all audio sounds like it passed through a sandstorm to get to my headphones. I tried to uninstall the drivers and reinstall them but it's still just as bad.
Are there any better audio drivers options?
I'm running Lubuntu on a HP Chromebook 11 G8 EE.
I'm loving the experience and simplicity. Lubuntu has made this little chrombook a great daily carry device.
One thing I'm working around is not having a Super key on the device. By default, the Chromebook's Search key is mapped to Meta. I've set-up the Meta key to do many things in the Global Shortcuts Manager.
The one thing I'm stuggling with is figureing out how to use the window 'snapping' functionality of Openbox without a Superkey on the device.
Is there a way to remap the Superkey functionality to another key within Lubuntu?
OR
Is there a way to adjust the OPenbox Keybindings so I can map Meta+> and Meta+< to its functions?
The trackpack on this Chromebook is garbage, and being able to 'half' windows is much more efficicent when I can do it via the keyboard.
Lubuntu 24.10
My laptop has a GT 740M
I see nothing in the additional drivers tab.
`sudo ubuntu-drivers` command takes forever with no response.
I dont have ethernet available so what can i do?
In Lubuntu, the start menu shortcut defaults to the Super key. However, I use Super + other keys for Openbox shortcuts, and having it configured in both Openbox and the Lubuntu Global Action Manager causes conflicts.
TL;DR: I'd like to set the start menu shortcut in Openbox rather than in the Lubuntu Global Action Manager.
Last updated on October 29th, 2024
TL;DR
sudo apt install wmctrl
sudo apt install xdotool
Keyboard Shortcuts > Add
LEFF: wmctrl -r :ACTIVE: -e 0,0,0,683,768
RIGHT: wmctrl -r :ACTIVE: -e 0,683,0,683,768
TOP: wmctrl -r :ACTIVE: -e 0,0,0,1366,384
BOTTOM: wmctrl -r :ACTIVE: -e 0,0,384,1366,384
UPPER LEFT: wmctrl -r :ACTIVE: -e 0,0,0,683,384
UPPER RIGHT: wmctrl -r :ACTIVE: -e 0,683,0,683,384
BOTTOM LEFT: wmctrl -r :ACTIVE: -e 0,0,384,683,384
BOTTOM RIGHT: wmctrl -r :ACTIVE: -e 0,683,384,683,384
MAXIMIZE: wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
UNDO MAXIMIZE: wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
MINIMIZE: xdotool getactivewindow windowminimize
Note: the codes that include coordinates will only work on monitors with 1366x768 resolution. To get it working with different resolutions, edit the coordinates present in the code to match the resolution of your screen.
FULL POST
Lubuntu uses the LXQt DE with Openbox as the default window manager. Contrary to popular belief, Openbox DOES support window-snapping, but this feature is disabled when you first install the OS. The correct way to enable it is to edit the /home/(username)/.config/openbox/rc.xml file. This file does not exist by default when you first install Lubuntu, but it is generated automatically by simply opening up the Openbox Settings on the LXQt Configuration Center.
If you open up rc.xml and add the following code below to the keyboard section, that would enable true window snapping on Lubuntu.
<!-- Snap window to left half -->
<keybind key="W-Left">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<!-- Snap window to right half -->
<keybind key="W-Right">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>50%</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<!-- Snap window to top half -->
<keybind key="W-Up">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
<!-- Snap window to bottom half -->
<keybind key="W-Down">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>50%</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
After editing and saving the file with the code above, you have to run openbox --reconfigure
to apply the changes - except that this doesn't work. This code tells Lubuntu to enable window snapping with the shortcut Windows key + arrow keys, but apparently, there is a bug on the OS that renders the Windows key useless for certain keyboard shortcut key bindings, and this is one of them. If you were to modify the code above with a different shortcut binding, it would work (note that the Windows key may not be the only one that's bugged here). The code below has CTRL + SHIFT + ARROW KEYS set as the keyboard shortcut for snapping windows, and it just works. But we all know that's a miserable gloss-over, no one snaps windows without the Windows key
<!-- Snap window to left half -->
<keybind key="C-S-Left">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<!-- Snap window to right half -->
<keybind key="C-S-Right">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>50%</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<!-- Snap window to top half -->
<keybind key="C-S-Up">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
<!-- Snap window to bottom half -->
<keybind key="C-S-Down">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>50%</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
The real solution is to either install Kwin (thus defeating the purpose of installing Lubuntu in the first place), or read and follow the instructions on the TL;DR. That isn't true window snapping, however, all that wmctrl is doing is positioning your window in a set coordinate within the pixels of your screen that you specified in the line of code that went into your new shortcut, rather than automatically adjusting the window to fit the corner of the screen you're sending it to, that's why you must reconfigure the coordinates for monitors with different resolutions, but that's the only working way I've found of using the damn Windows key with the shortcut. Snapping with the mouse apparently isn't built in. Then you'd really need Kwin...
Lubuntu 24.10
I don't kow what xinput setting to disable for this. I don't want to disable tap to click.
Just want to disable right clicks and middle mouse clicks using two finger taps.
Please help!
Update: I fixed it by switching from libinput to synaptic and editing the config file to adjust things.
having multiple desktops is just annoying to me. Sometimes when I scroll in the wrong spot, I switch desktops without even realizing it until later. Is there a way to just disable the multiple desktops feature altogether?
I left my laptop charging longer than it should have when it was turned off, and a few days after I opened it (I haven't needed to open it since then), specifically today, I see that the battery remains at 99%. I'm on Lubuntu 24.04.1. Help pls? :((
Hey everyone As the title says what to do? The brightness buttons worked fine when I had windows 10 installed
Thank you
Been trying for 3 consecutive weeks. Studying and researching daily. YouTube videos, obscure blogs, ChatGPT, nothing works. Seen a lot of people saying they made it, none bothered to explain how. Everything seems to point out to editing the lxqt-rc.xml file, located in /home/(username)/.config/openbox/lxqt-rc.xml, however, the lxqt-rc.xml file does not exist in my system, and it seemingly won't be created automatically no matter what - creating one doesn't work either since I don't have its contents (also nowhere to be found on the internet). What do I do now?
i cant make firefox be default browser are someone can help me ?
Hey everyone I downloaded valorant from epic games launcher on lubuntu but it's not opening. It tells me to restart the computer but I have done it 2 times but still not working. What to do?
Thank you
During the last part of the installation this error message popped up Command: ln -sf /etc/machine-id /var/lib/dbus/machine-id finished with exit code 127. Output: /usr/sbin/chroot: failed to run command 'ln': No such file or directory. What im supposed to do now?
Hey everyone When I go into the bios and click the usb hard disk for uefi boot order, it makes a beep sound and does nothing. What does it mean and wha t should I do?
Thank you
So ive just moved from Bhodi as it kept updating and crashing.
I have a couple of small niggles id like to iron out on my tablet pc with Lubuntu
Firstly, sound controls work on the keyboard until you enable bluetooth speakers then they become useless for Firefox audio when playing videos/tv, id like it to be able to control all audio really when i need to turn down urgently.
Second, the bluetooth doesnt find the speaker automatically, i have to go into the BT add device app and find devices. Is there a better app i can isntall for managing bluetooth speaker to work automatically like windows did?
Thanks
Just wanted to say that to the artist. Thank you.
UPDATE: This problem resolved itself after updating my system again this morning. Screensaver works great again.
FURTHER UPDATE: Never mind, it stopped working again. WTF?
I'm running Lubuntu 22.04. LXQt DE.
My screensaver won't activate properly. At first it just didn't turn on at all. I opened the screensaver GUI (I think that's what it's called?) and somehow it had changed from "blank screen only" to "deactivated" with no input from me. I changed it to a screensaver and set it to one minute. After about 3 minutes, it went black for maybe 30 seconds and then seemed to crash - it just went back to my desktop and made no further attempts to turn itself on. I tried other screensavers, same behaviour. I set it to go blank after 1 minute, it just does nothing.
I noticed the problem in the past day or two, likely following the most recent system upgrade.
Any idea what is going on?
Are there any steps I can take to troubleshoot? I am using my phone he file from GOG.
EDITED and FIXED (see below):
Most everything working so far on 24.10 but I can't keep the VLC player spinning enough to play a video. It starts spin-up, but drops after a few seconds. I removed in Discovery and reinstalled in terminal, but the same thing happens, it tries to run but quickly stalls out. It's not the hardware, I installed the OS via DVD and it plays audio. I usually have no issues running VLC on other Distro's, so not sure what to do at this point. I'm not locked into using VLC.
EDIT: I originally tried two DVD's to make sure VLC was working correctly; one was How the Grinch Stole Christmas and the other was A Charlie Brown Christmas, both bought in the store many moons ago. Both of those DVD's wouldn't play on VLC this time for some reason. I'm guessing VLC has tightened up on the copyright situation. However these aren't copied, these are original DVD's. I know VLC works because it played without issue, a original store bought DVD called Rainier the Mountain. So it seems I need to manually set the rights management in the settings or download another codecs. I'll continue digging.
FIXED by adding both packages below in the terminal:
sudo apt install libdvd-pkg
And by running the following command, which will download, build and install the latest libdvdcss source to your machine:
sudo dpkg-reconfigure libdvd-pkg
Is this possible by using the Backports repository? Or am I stuck with 1.4.0 in Noble Numbat?
OK... guess I'll try the PPA method first and report back here.
I have some serious errors with lxqt-panel on Lubuntu 24.04.1 (minimal).
When I run lxqt-panel & or lxqt-panel it appears in terminal:
XdgDesktopFile "/var/lib/snapd/desktop/applications/firefox_firefox desktop" is not valid starting. (I didn't install firefox and uninstalled snapd after a lot of new apps were installed when trying to reinstall lxqt-panel)
StatusNotifier: registration of service org.kde.StatusNotifierWatcher queued, we can become primary after existing one deregisters.
WindIDChange 1700009 handle QWidgetWindow(0x56f3ae1441d0 , name="LXQTPanel panel1Window") QScreen(0x56f3ade5b4b0 , name="eDP")
StatusNotifierProxy , services: () Manager selection claimed Unknown property go-button
I tried everything, uninstalling with purge, reinstalling together with lxqt-core and session, individually deleting all the configuration files related to it, etc.
Also, I have specified errors such as: Control+Alt+D global shortcut cannot be registered, XF86AudioMute shortcut cannot be registered, XF86Eject global shortcut cannot be registered
tl;dr: I was trying to find the best fully-featured distro (with a GUI) for all my old system/virtual machine use cases and ended up where I started: With Lubuntu.
_________________________________________
Edits:
_________________________________________
Starting out:
Back then, my Linux focus was on the best supported distro in terms of finding help on the Internet while offering a full feature set for modern desktops. Obviously, staying within the Ubuntu (+flavours) range yields great outcomes in terms of stability, support and search engine results for common and less common problems.
But, after a while, I was wondering if I would miss out on even lighter and faster distros so I began testing some of the commonly referred ones. My Lubuntu machines are either older systems or virtual machines in need of a GUI and all features from modern kernels and apps, so that's what the other "light" ones also should provide while I allowed myself to suffer a bit when it comes to more progressive means of saving on RAM, CPU or both. If they used older kernels this was also ok, to some extent. The oldest one I saw was 6.1 (PeppermintOS) while Lubuntu 24.04 sits at 6.8. Not a big loss for old machines and/or VMs.
So which ones did I use and compare against Lubuntu 24.04?
I roughly checked three categories: RAM usage (via htop), CPU usage at idle and a subjective overall "snappiness" measurement on how the system feels and also how quickly it boots or restarts.
My expectation was that, while Lubuntu might be the easiest to use in many aspects, I would lose speed and/or resources to it being less streamlined than e.g. the distros not making use of a full desktop environment but since I don't cared for how good it looks and also could cut back on some comfort, I was happy to try the "lighter" ones. I always opted for the lightest possible GUI variant possible if a distro offered multiple approaches.
Use case:
Absolute numbers don't matter much as I was comparing each distro against the simple case of a freshly installed Lubuntu 24.04 machine with Firefox open, a download manager (JDownloader) too and the file manager showing the user's home folder. Mentioned "snappiness" was judged by surfing the Net, opening common apps (text editor, the office solution if they came with the distro, using the browser, etc.) and checking how quickly the system is booting/restarting.
Config for all candidates:
>>--Main findings--<<
To be fair, none of the other light distros was bad. In fact, quite some are extremely well-done with clever methods to configure elements, add new ones and check on others. Since I don't needed nice desktop effects, even bare menus are better than waiting times or convoluted dialogs. All of them are fine in that regard.
Boot time:
None of the distros mentioned booted quicker than Lubuntu. The best ones were about the same while e.g. Linux Lite and MX Linux took much longer.
No real winner here, but some losers (might depend on the hardware in use).
RAM consumption: (checked via htop at default settings)
Here, only AntiX actually saved some ~150MB in the scenario mentioned above. I liked that but did expect more, although my thinking turned out to be wrong as the main RAM impact of course only partially came from the desktop environment in use and much more from the apps opened. So your desktop can be light but this does not make things like Firefox, Libre Office or JDownloader lighter, hence the smaller savings when you compare the distros with some apps open.
AntiX wins this one, the rest is roughly on the same level. Expect them to hover around ~1.1GB of RAM in the usage scenario outlined above.
Lubuntu and Xubuntu can save some RAM when not using Snaps for Firefox and Jdownloader. But this mainly improves app startup times, RAM only slightly (a few megabytes) .
CPU usage:
It's hard to measure because the differences are within fractions of a single(!) percentage point. All distros do well, Linux overall does well! Any light GUI-based distro tested here can idle at well under a single percent of CPU on my machines and VM hosts.
The same for all. Amazing overall.
"Snappiness":
Subjective impressions! Lubuntu already is very good. One can improve on startup times for the browser and other things when reverting back from Snaps to normal packages of course. But once everything is running, it's as quick and easy as any of the other "light" distros. Even AntiX doesn't feel faster while it was, as stated before, the lightest on RAM usage when measured.
So I was surprised to see that the distros which often get listed as even more optimised either performed the same or, in some aspects, slightly worse than Lubuntu.
The same for all. (Snap startup times are longer though)
Other aspects from my usage:
I was ready and ok with having to jump through some hoops to get a "light" distro running and everything set up. As long as this yields some savings, I can justify some tinkering over the neatly working Lubuntu release. So installing a VPN client, Samba or having to edit some text files to define the default desktop resolution wasn't an issue for me while testing. It only would be if the savings remain slim or don't even exist while the loss of convenience eventually plays out in daily usage.
Side note: Releases without systemd (AntiX, MX Linux) need some time to get used to if all you knew so far is systemd-based.
Conclusion:
For me, the testing showed interesting and unexpected results: In fact, it established the thinking that the "ordinary" Lubuntu release went through some knowledgable hands to deliver the ease of use and minimal impact on resources. Quite a feat!
As always, the Linux field of distros is huge and you can of course compromise a lot harder when it comes to saving resources, even for distros with a GUI. But I explicitly set out to keep a certain level of user experience and allow no compromise when it comes to e.g. just installing the latest browser release, not some special and distro-specific version. If your aims differ on that end, you of course have much more potential for resource savings available.
So is it worth it to switch to a less comfortable (albeit cleverly set up) distro for the sake of saving ~150MB RAM? Not for me.
By this, I'll stick with Lubuntu while still testing the other light ones from time to time. All of their authors are geniuses in my eyes and seeing how they managed some of the config and accessibility elements really was a nice input.
Plans:
I had deleted sddm from lubuntu hoping that i would be able to sign in using tty. But when i entered the username and password it does t sign me in. Please help!