Linux 101 stuff. Questions are encouraged, noobs are welcome!

936 readers
24 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
1
 
 

I use Ubuntu installed on a hard disk. My computer also comes with a tiny (16GB) SSD that I've another Ubuntu installation on. While a fresh install on the SSD worked great, this is too small to hold all the packages I will eventually need.

Is there any way to only have the core bits of the distro on the SSD, and have all the other packages I later install on the HDD?

I want this so I can have a fast boot (boots slowly using the HDD) and since I'm happy with the speed of apps as they work while now installed on my HDD, I'd like to keep using them off of it.

All idea welcome :)

2
 
 

So, I finally ditched Windows... All except for my need for a VM to use some hardware that aren't supported in Windows.

I setup a Virtual Machine with Virt-Manager for a Windows VM but the network traffic is being blocked by UFW. If I disable UFW the Windows VM can pull an IP, which is static as is, and even after turning UFW back on, the network traffic is still allowed.

I am in need of some help with networking for the VM.

<interface type="network">
  <mac address="52:54:00:d7:8f:48"/>
  <source network="default" portid="d7ff3b1f-2c9b-4a62-b9e0-180855f14de7" bridge="virbr0"/>
  <target dev="vnet2"/>
  <model type="e1000e"/>
  <link state="up"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>

This is the networking setup within Virt-Manager.

Any advice for getting network access on the VM?

3
 
 

I run a raspberry pi that identifies birds by their song, and records time, date, and species etc in an SQLite3 database.

The rpi app comes with some basic reports, but I'm wanting to expand on them, so that I can show monthly/yearly trends etc.

On windows at work, I'd use something like Power BI, but a) it's windows and b) it's overkill for my current needs.

I've only recently moved entirely to linux, so I'm not really sure of what the linux alternatives are, and I'm looking for suggestions :)

4
 
 

Title. More specifically, for the orange pi zero 3. It has a mali-G31 gpu. Thanks in advance.

5
 
 

In Ulauncher you simply search for the name of the file and when you click on it, it will open the default player of that file in your system. Is there any way to do the same but in Rofi? Or maybe another launcher for Windows with Rofi theme?

6
16
submitted 2 weeks ago* (last edited 2 weeks ago) by FlickeringScreens to c/linux4noobs
 
 

EDIT: Reinstalled pipewire, Mostly Fixed

Jack doesn't start

trying to start jack in qjackctl: Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock\

7
 
 

So far, Ubuntu 24.04 was an absolute nightmare for me. While upgrading to it in a VM, it randomly crashed, which broke the GUI. I had to go to the tty, and finish the upgrade that way to get back into GNOME. Then every time I launched its default file manager or its screen settings app (which became mandatory as it just randomly switched to 1280x800, thus making work a nightmare), it crashed so hard it took the VM host with itself.

Switching to VMWare, it was more stable, stable, but after the first restart, I get a lot of graphical glitches and a black background. Tried Kubuntu to see if it's a GNOME-related thing, but similar issues prevail, this time with a tanked performance until I switch to tty.

I need an easy-to-use and relatively stable distro, for compiling, testing, and rewriting software with GUI, thus I cannot use WSL on Windows 10. I want to spend my time developing, and not resolving bugs, nor with tinkering with the OS. Likely I will have to keep my primary development platform as Windows, and Linux does not offer me anything more, and "deploying/cross compiling to Windows" is not very feasible to me at the moment due to I'm writing my own middleware to interface with OS API, and I also want to test on native Windows rather than in an emulator. Windows 11 might push me in the direction to use a Windows installation inside a VM, but only if disabling telemetry becomes impossible.

8
 
 

cross-posted from: https://lemmy.world/post/16176944

I've installed fedora 40 on my jurassic Macbook 13 2011 and so far i'm in love with it. The only issue was the wifi. I've checked different posts and articles and in the end i've find this [https://darryldias.me/2020/linux-wifi-drivers-for-2012-macbook-pro-offline-method/] which worked... up to a point. When i turn off or restart the machine i have to use the comand "sudo modprobe -v b43" to enable the wifi each time.

Any idea?

9
9
proxy help (slrpnk.net)
submitted 3 weeks ago by [email protected] to c/linux4noobs
 
 

I'm using TetherFi to share my phone's internet connection. I understand how to setup the proxy settings in the browser on my laptop to get it working, and I've also been able to get Freetube working by changing the proxy settings within the app.

What I am wanting to know is if there is a way to set up a system wide proxy setting so that other applications on my laptop will work without having to go into each app individually. The desktop versions of my messaging app, steam, and the app store are all inaccessible to me currently and it would be nice to be able to get these working automatically through the proxy if possible?

I'm on Pop_os.

10
 
 

I have a laptop with a 3072x1920 monitor, and everything is really small. I know you can change global scale in display settings, but that doesn't work for everything. Is there any way to make everything bigger without changing screen resolution?

(it's weird because GNOME worked just fine. Does it have a lower resolution by default or something?)

11
 
 

Sometimes adding a blank character helps with formatting. For example on Lemmy, it helps me separate lines of text if I insert a blank character between other lines. Currently, do that by copy-and-pasting the blank character from elsewhere. Here is an example

Is there a way I can do this on Linux easily from the keyboard? I am using KDE Neon and have the compose key enabled so that I can easily type uncommon characters like , ñ, and é easily.

12
8
submitted 1 month ago* (last edited 1 month ago) by GustavoM to c/linux4noobs
 
 

Title. I'm trying to come up with a fully functional, optimal yet read-only scheme for fstab and I could use some pointers.

Thanks in advance.

13
 
 

cross-posted from: https://slrpnk.net/post/9339950

Would this be an ok option for use on linux? Any thoughts on the brand, etc.?

HORUS K609 SE (Redragon)

14
8
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/linux4noobs
 
 

Is there any way to disable the power button popup window? I'd like it to be just an immediate shutdown switch, not have to confirm or wait 60 seconds...

I'm on Pop OS

15
 
 

cross-posted from: https://lemy.lol/post/24413858

Help Needed: Configuring ASUS Fingerprint Sensor on Fedora

I recently got my hands on an ASUS device equipped with an fingerprint sensor . As a Fedora user, I've been trying to set up the fingerprint sensor on my system, but it's proven to be quite a challenge.

So, I'm reaching out to the community here for some guidance. Has anyone successfully configured an ASUS fingerprint sensor on Fedora before? If so, could you please share your experience and any tips or resources that might be helpful?

Any assistance would be greatly appreciated! Thanks in advance.

16
 
 

I tried using the default 'eddy' installer as well as 'gdebi' but both of them throw an error message.

gdebi says "error: dependency is not satisfiable: libssl1.1 (>=1.1.0)

eddy says "installation failed, child process exited with code 100"

17
 
 

I'm trying to invoke scrot with a bindsym so I have a keyboard shortcut to take screenshots

This command works when run as a one-liner or as a bash .sh:

save_dir="/home/dork/apache/drkt.eu/subdomains/u/";
random_name=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 6 | head -n 1).png;
scrot -s "$save_dir/$random_name";
echo -n "https://u.drkt.eu/$random_name" | xsel --clipboard

It does not work when ran by i3 bindsym $mod+Shift+Z exec bash -c save_dir="/home/dork/apache/drkt.eu/subdomains/u/"; random_name=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 6 | head -n 1).png; scrot -s "$save_dir/$random_name"; echo -n "https://u.drkt.eu/$random_name" | xsel --clipboard

i3 reports an error when the above is run, but not when as a shell script, though neither work. I assume that's just because bash is eating the error and not reporting it back to i3

This is the error when ran as a one-liner:

ERROR: Received ConfigureNotify for unknown window 0x00600000
ERROR: Received ExposeEvent for unknown window 0x00600000
ERROR: Received ConfigureNotify for unknown window 0x00600000
ERROR: Received ConfigureNotify for unknown window 0x00600007
ERROR: Received ExposeEvent for unknown window 0x00600007
ERROR: Received ConfigureNotify for unknown window 0x00600007
ERROR: Received ConfigureNotify for unknown window 0x0060000a
ERROR: Received ExposeEvent for unknown window 0x0060000a
ERROR: Received ConfigureNotify for unknown window 0x0060000a
ERROR: Received ConfigureNotify for unknown window 0x0060000d
ERROR: Received ExposeEvent for unknown window 0x0060000d
ERROR: Received ConfigureNotify for unknown window 0x0060000d
ERROR: Received ConfigureNotify for unknown window 0x00600010
ERROR: Received ConfigureNotify for unknown window 0x00600010
ERROR: Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'sticky', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'swap', 'title_format', 'title_window_icon', 'mode', 'bar', 'gaps'
ERROR: Your command: exec bash -c save_dir="/home/dork/apache/drkt.eu/subdomains/u/"; random_name=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 6 | head -n 1).png; scrot -s "$save_dir/$random_name"; echo -n "https://u.drkt.eu/$random_name" | xsel --clipboard
ERROR:                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/run/user/1000/i3/errorlog.1235 (END)

I am open to alternatives if there is a better way to do this than the i3 config!

Thank you for reading <3

18
 
 

I've just put Fedora40 on my Lenovo legion. I installed kde spin. I've got two strange issues.

The first, when adding file attachments in Firefox, it opens the gnome file manager instead of dolphin. Annoying but not major.

The second, when playing a steam game (fallout4) on multiple monitors, it seems the mouse isn't trapped to the game window, and when it inevitably makes it's way to the second monitor, a click will change focus. For this issue, I have been trying to use the kde window rules, but that doesn't seem to work. Nine of the rules seem to force the mouse to stay in that window.

19
 
 

cross-posted from: https://lemmy.blahaj.zone/post/11540913

How do non explicitly installed package dependencies get updated in Arch? Do they update independently of the package that is dependent on them, or do they get updated when the parent package updates? Or is it some secret third thing?

Thanks!

20
 
 

Newbie here. First of all, I successfully took ownership of a folder using the command line and I am proud of that. Even though it ended up being irrelevant for the problem in the end, it was still satisfying to be able to figure it out finally. Using the command line makes me feel like I'm doing cool stuff B)

So, I was doing some digging, trying to get my mouse to work properly, and I ended up finding out some things. Hopefully this saves somebody some time/frustration in the future.

-Logitech's software doesn't work in Linux (of course)

-Piper doesn't work for this model (g502x PLUS) yet.

Bummer.

There is a workaround, however. This model actually includes on-board memory! Sweet, my money was not wasted after all!

So, I just went back to windows (gross) and set up the profile I had been using previously. (sidenote, who TF uses forward and back for the side buttons? It obviously should be ctrl and shift for the defaults, respectively...) When I got back on my new setup, it was a success!!! It works perfectly well, and no issues so far.

Now, for the main question, is there any easy way to set this up from Linux by using a windows virtual machine or something similar?

Thanks for reading.

21
14
USB tethering (slrpnk.net)
submitted 2 months ago by [email protected] to c/linux4noobs
 
 

Hey just wanted to ask for some recommendations on tethering my phone to my laptop. Would be nice to have options to hide tether usage if possible. Thanks

22
 
 

cross-posted from: https://lemmy.blahaj.zone/post/11236710

I'm running an nvidia card on X11 Plasma 6, with a 4K monitor alongside a QHD monitor. Both monitors are the same physical size, despite being different resolutions, so in the nvidia settings app, I've got the second X screen setup to generate 4K but downscale it to QHD in the output. It makes the second screen slightly blurry, but it's worth it for the ability to move windows back and forth without dealing with different resolutions.

The problem is, no matter what I do, I can't make the changes "stick". The nvidia applet has an option to save it to the x.conf file, and I've verified that it has done so in a text editor. But every time I boot, I have to change it in the nvidia settings applet again.

Is there something I'm missing with the way arch/kde handles x conf files? How do I make it stick between reboots?

23
 
 

The propaganda worked. I bought a Thinkpad, the thigh highs are on the way, penguin stickers are already here. Now it's time to actually put Linux on my machine.

I'm a bit lost on which version of mint to put on the T480. It's an i7 8650u, 16gb RAM, 256gb SSD (will eventually be upgrading the RAM, SSD, and display). My question is, is the t480 "old" by Linux standards? From what I've gathered cinnamon is the standard version. Edge is for new (?) hardware that may not be fully compatible with cinnamon. MATE is for old/lower power hardware that can't handle the demand of cinnamon and xfce is for even older/slower hardware.

I've been running in circles all morning trying to find experiences of people with a T480 who are running mint and which version they're using. Old is apparently 3+ years according to various articles trying to convince me to upgrade and I haven't found much on what is considered old hardware for Linux. As someone who hasn't bought a computer in nearly a decade, a quad core processor with 16 gigs of ram is ridiculously powerful. My last computer was a $90 shitbox that I got on clearance from Walmart in 2016 to do online lessons in EMT school. So my perspective/experience is utterly useless.

Can a T480 run Mint Cinnamon 21.3, or am I better off using MATE/xfce? It's going to live a pretty easy life. I'll mostly be using it to browse, stream music, do (online) homework, write papers, and put books on my e-reader.

24
10
DIY roku like thing (lemmy.blahaj.zone)
submitted 2 months ago by [email protected] to c/linux4noobs
 
 

System: laptop with HDD(no money for ssd) and power issues + old non-smart TV + router under TV OS: Fedora server

Idea: Since the old laptop is close enough to the router for Ethernet, I'm using it as a home server. Then I had the idea to also use it as a smart TV like device since it's right under the TV. I figured an HDD wouldn't be a huge issue for streaming from jellyfin or the internet.

Server side stuff I've found lots of great information on but I'm struggling with the roku-like/smart TV setup:

  • how do I disable the laptops display on boot?
  • using waydroid + cage to run full screen android application when tv is connected?
  • can the TV remote be mapped to Linux inputs?
25
 
 

So I just bought this refurbished laptop with Mint pre-installed, and it's showing these error messages when booting. Boots just fine afterwards and seems to work normally. Is this normal? Should I get my money back, or should I do a fresh install?

view more: next ›