Linux 101 stuff. Questions are encouraged, noobs are welcome!
-
Is it possible to debug a bash script using a debugger in attached mode? For debugging scripts on the host machine and scripts inside a docker container?
I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?
For debugging scripts on the host machine and scripts inside a docker container?
-
Mounting Folders VS Symlinks?
I have a NTFS drive for Storage, which is shared between WIn 11.
I want to change the location of (or replace)
~/Downloads
,~/Music
, etc..,.Note that the link to made is between NTFS and EXT4.
I found two ways while searching. ``` 1.Creating Symlinks in
~
with target pointed to folders in NTFS drive.- Mounting the NTFS folders directly to
~/Downloads
,~/Music
, etc..,. ``` Which one should I do? Which one is more beneficial?
Also how to mount folders to other folders (option 2) ? (I would really appreciate a GUI way)
- Mounting the NTFS folders directly to
-
SOLVED: Changing Permissions through GUI ?
Video
Click to view this content.
I can't change directory and file permissions which is in
/mnt/
through elevated Nemo. But can change in/
. Why?Apparently, this happens due to Automount. Because when I mount manually, this problem doesn't occur.
I also changed
/mnt/Storage
to/media/user/Storage/
on auto mount, still the same problem occurs.uploaded on reddit because lemmy doen't allow videos .sorry for the quality reddit squashed it. Also my user name is blurred.
Also this an automounted NTFS partition, if it has to do anything with this,
I know about
chown
andchmod
. But I wanna do it in GUI.==============================================================
SOLVED
Include uid= and gid= as part of your mount options.
For More info look at this.
Thanks to this Chad @[email protected]
-
Adding Mods to Games
So not sure where else to ask, maybe someone here knows?
I am using Heroic Launcher to play Control which I own through GOG.
There are a few mods I wanted to add to the game:
The first mod is a requirement for the next 3.
---
So the first mod for Windows I would need to add the DLL to where the game is installed. This is where I run into issues. I did that, put the DLL in the games install directory, however it is not loading the DLL.
I investigated using Winetricks GUI from Heroic Launcher to see if there was a way to add a DLL and register it. However, it doesn't give me an option to install a custom DLL.
All of my searching has not lead me to see how I could register the DLL for my Control Prefix.
---
I could be going about this all wrong, so if anyone has any tips or suggestions I would very much appreciate it.
Thank you!
-
Updating Firmware
So I switched to Arch full time last month, and that got me thinking: How do I update the firmware of my devices?
I know about fwupd, however from my understanding not all vendors support linux.
In this case, I have an Asus motherboard, and after brief searching I seemed to come across results that would point that Asus isn't one of the manufacturers who support firmware updates from linux.
That being said, how do you all update your firmware if you know the vendor doesn't support linux?
---
I can't imagine that I could update the firmware from QEMU, and nor do I want to try. I don't want to have windows installed on my system at all. So then I thought, can I go about this via Windows to Go? And that is the solution I am going to investigate trying...
-
What are the applications that I can remove from Mint? + Mini Rant.
What are the packages that comes default with Linux Mint Cinnamon that I can remove without any problems.
Linux Mint comes with lots of packages installed by default to give full experience to new users. But not everyone needs everything. In my case for example, I don't need celluloid, pix, hexchat, hypnotix, rhythmbox, LibreOffice, etc,... Those applications has their own audience and Linux Mint including them is a good thing but I personally don't want them.
Mini Rant or QA maybe?
I searched the internet a bit for the answer, on various forums, and subreddits. And All the people who asked this question got obliterated as far as I've seen. The common answers are:
>if you remove the applications that came installed with Mint by default, it will cause Dependency issues.
If I remove an application and the dependencies shold be removed UNLESS some other application need those dependency, right? If that's the case, why removing packages can cause dependency issues?
>Why would you want to remove essential applications like LibreOffice, pix etc. ? (this question is asked in the sense of "what sane person would want to remove those?")
Cause why not? Maybe I like GwenView more than Pix, maybe I don't need office applications at all. Why this even matter?
>If you want don't want Mint's default applications, then what's the point of using Mint? Just use something like Ubuntu server or something. People need to realize that lot of people (at least me) using Mint for it's System management (updates, apt source list, etc..) via GUI ability. Just because I want to manage my system with ease, that doesn't mean I need everyt applications it offers me.
I honestly feel bad for the person who asked the question in the first place. They didn't got the answers till the very end. All they got is Criticism and it's not constructive one.
Why this kind of behaviour even exist?
P.S.: I'm using Mint inside VM for testing purposes. I don't want my VM to take a lot of space. That's why I don't need lot of applications.
-
How can I make a custom .service run as root?
I have a VPN daemon that needs to run before the client will work. Normally, this would have been set up automatically by its install script, but the system is immutable.
I've created the systemd service via
sysyemctl edit --force --full daemon.service
with the following parameters:``` [Unit] Description=Blah After=network-online.target
[Service] User=root Group=root ExecStart=/usr/bin/env /path/to/daemon
[Install] WantedBy=multi-user.target ```
I've verified that the daemon is actually executable, and it runs fine when I manually call it via
sudo daemon
. When I try to run it withsudo systemctl enable --now daemon.service
, it exits with error code 126.What am I missing?
Edit: typo
Edit 2: Added script modifications. Daemon appears to be some kind of pre-compiled binary.
Solution: ExecStart wanted
/usr/bin/env
to launch the binary. The service file above has been edited to reflect the correct solution. See this post for further discussion. -
/media or /mnt or anywhere ? Discussion.
Where should I mount my internal drive partitions?
As far as I searched on the internet, I came to know that
/Media = mount point for removable media that system do it itself ( usb drive , CD )
/Mnt = temporarily mounting anything manually
I can most probably mount anything wherever I want, but if that's the case what's the point of
/mnt
? Just to be organised I suppose.TLDR
If /mnt is for temporary and /media is for removable where should permanent non-removable devices/partitions be mounted. i.e. an internal HDD which is formatted as NTFS but needs to be automounted at startup?
Asking with the sole reason to know that, what's the practice of user who know Linux well, unlike me.
I know this is a silly question but I asked anyway.
-
How to exclude Flatpaks from TimeShift?
Which folders and files do I need to exclude from TimeShift?
Also is there a way to also exclude programs installed as .deb ?
I doing this to reduce Backup size as I have limited storage.
100GB - Windows 11 400GB - Storage 400GB - Mint 100GB - TimeShift
-
Official Unixporn Community ?
So which one is actually official one? I can't describe what "official" mean here, maybe the one that actually came from reddit or the one with more subsscribers or one with more activity ? !
Also Why there are multiple copies of same community in different instances? Isn't the whole point of lemmy is that it is federated?
There is also three linux4noob communities 🥲
-
Confused about my drives and partition names
So first off, what I'm TRYING to accomplish here is to have 3 drives show in Dolphin with their correct names. They are 3 physical drives (no crazy partition shenigans), but I'm having several issues trying to get them to be usable. All 3 are nvme drives connected directly to the board. (I'm new to Linux, not building machines.) The main drive is encrypted and is showing as type LVM2, the others are just ext4.
I am still fairly new with this, and didn't mess with this much when I used Windows, but when I did everything worked fine the first time. I'm pretty competent at following directions, and willing to learn vocab and lingo.
So the 3 drives are:
-main system drive
-drive to store photos (labelled 'Archive')
-Had a 3rd drive sitting around when I put this system together. No real intended use for it yet, but I'll think of something later.
So I'd like to have them listed as Main, Archive, and Drive3 for now. For a while I just had Main and Archive working. I just tried to add some photos to the Archive drive a couple minutes ago, but it's not longer showing in the Devices section in the sidebar. There is still a "Main" listed, but it says "An error occurred while accessing 'Home', the system responded: An unspecified error has occurred: No such interface “org.freedesktop.UDisks2.Filesystem” on object at path /org/freedesktop/UDisks2/block_devices/dm_2d0" whenever I click on it.
Seeing as I know my computer is currently working, that doesn't make any sense to me. There is another drive simply listed as "1.8 TiB Internal Drive dm-1" which is actually the correct drive for my system install. So the listing it was under now doesn't work, but it's still easily accessible with this default name.
There is now a recovery device listed, but I haven't created a recovery partition, and I certainly don't want to see it listed in the devices, as if I need it I will just use it as intended, I don't ever need to browse it easily.
The Archive drive is not listed at all anymore. I can still see it in GParted, and it shows up just fine, but says it isn't mounted. At the moment I still have the original copies of everything I've put on it, so worst case scenario I can reformat it and start over, but I'm just trying to understand what happened here so it isn't a recurring problem. It wasn't mounted according to GParted and the Disks utility, so I just tried mounting it and it worked, but none of the files that were on it are still there. But they're still on the Main drive, so I can just drag them back.
After mounting the drive just now, the Devices section has disappeared in Dolphin. I'm getting more and more confused the more I try to figure it out and fix it.
I'm assuming if it's showing blank (other than an empty 'lost+found' directory that means the data is gone. I'm almost afraid to reboot now and feel like it's about to implode on me. I can get screenshots of whatever might need to be seen, but honestly now with the Devices section just entirely missing, the idea of this being convenient is becoming hopeless. I just want the drives to always show up with the correct names, and not give errors trying to navigate them. This shouldn't be this complicated. At least the system itself is functioning, but this is killing me. I've never had drives just stop showing up before.
Oh so the 3rd drive I did just add recently, so it really hasn't had time to have an error with it, as I haven't touched it yet. Nothing is on it, it was just recently added
So in short, any ideas why the "Main" listing stopped working and why it showed up as a default named partition? The Archive part actually may not have been copied over yet (I can't remember stuff to save my life sometimes) but I know the drive itself was at least accessible before. Which it seems to be now, but was unmounted by default, which is kinda odd. Also when I mounted it, it showed up as a folder with a long name of random numbers and letters, but it still shows the correct partition name in GParted. The 3rd drive shows correctly as "Drive3" which is its volume/partition name, but the partition on this drive is named/labelled "Archive" but shows as a long string of numbers, letters, and dashes.
And now I'm unsure which drives are still working at any given moment since the Devices part isn't even there and I have to keep manually digging into them from the media mount point "folder". I can make a version of it by manually adding a "Place" to the Dolphin sidebar, but it's not in its own category anymore, and is much more annoying to me this way. I could use it like that if I have to, but I'd rather go back to each one showing on its own.
Any ideas or help?
edit- Using Pop with KDE
-
Grub-btrfsd.service degraded and failing to start
-` hellmo@archie .o+` ------------- `ooo/ OS: Arch Linux x86_64 `+oooo: Host: INTEL `+oooooo: Kernel: Linux 6.9.7-zen1-1-zen -+oooooo+: Uptime: 7 mins `/:-:++oooo+: Packages: 1169 (pacman) `/++++/+++++++: Shell: bash 5.2.26 `/++++++++++++++: Display (ASUS PB278): 2560x1440 @ 60Hz `/+++ooooooooooooo/` Display (ASUS VG32V): 2560x1440 @ 144Hz ./ooosssso++osssssso+` DE: KDE Plasma 6.1.1 .oossssso-````/ossssss+` WM: KWin (Wayland) -osssssso. :ssssssso. WM Theme: Breeze :osssssss/ osssso+++. Theme: Breeze (Dark) [QT], Breeze-Dark [GTK2], Breeze [GTK3] /ossssssss/ +ssssooo/- Icons: candy-icons [QT], candy-icons [GTK2/3/4] `/ossssso+/:- -:/+osssso+- Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4] `+sso+:-` `.-/+oso: Cursor: breeze (24px) `++:. `-/+/ Terminal: yakuake 24.05.1 .` `/ CPU: 12th Gen Intel(R) Core(TM) i7-12700KF (20) @ 5.00 GHz GPU: NVIDIA GeForce RTX 3090 [Discrete] Memory: 3.43 GiB / 62.60 GiB (5%) Swap: 0 B / 4.00 GiB (0%) Disk (/): 151.91 GiB / 1.82 TiB (8%) - btrfs Local IP (enp7s0): x.x.x.x/x * Locale: en_US.UTF-8
I am having some issues with my Arch install:
``` UNIT LOAD ACTIVE SUB DESCRIPTION ● grub-btrfsd.service loaded failed failed Regenerate grub-btrfs.cfg
Legend: LOAD → Reflects whether the unit definition was properly loaded. ACTIVE → The high-level unit activation state, i.e. generalization of SUB. SUB → The low-level unit activation state, values depend on unit type.
1 loaded units listed. ```
I have already tried:
sudo systemctl restart grub-btrfsd.service
sudo grub-mkconfig -o /boot/grub/grub.cfg
---
Does anyone have any suggestions? I am failing to understand how to resolve this issue... Any help would be wonderful...
-
Where I can make my noob questions about selfhosting?
I know that [email protected] exists, but to be honest I feel like going there to ask some noobs questions is like going to the arch forums in my first day of using Ubuntu as my first distribution, my probably super dumb question it'll be obvious to the big majority except me. And no, I am not meant that the people in selfhosted is going to be angry with me or something like that, is that I just don't want to ask stupid questions there.
I already tried asking an IA but let be honest, the IA just go into the service repo and try to answer me using the information that I already read.
Edit: Thanks for all the answer, I gonna try asking on c/selfhosting. :3
-
Install only the "core" of the distro on an SSD, other packages on HDD?
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 :)
-
UFW and a Windows KVM with Virt-Manager
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?
-
Suggestions for a visual data reporting tool in Linux
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 :)
-
How do I enable drm support for panfrost?
Title. More specifically, for the orange pi zero 3. It has a mali-G31 gpu. Thanks in advance.
-
Is there a way to open files Ulauncher-style but in Rofi?
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?
-
Audio broken after uninstalling pipewire
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\
-
Need some easy-to-use Linux distro that doesn immedately go bad on a VM
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.
-
I need a comand to enable wifi after reboot each time. How i fix it? - (Macbook pro 13 2011)
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?
-
proxy help
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.
-
Everything is really small on high res monitor (Manjaro KDE)
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?)
-
How can I insert/type a blank character using my keyboard?
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.
-
Is there a "one size fits all" solution for fstab optimization?
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.
-
HORUS K609 SE (Redragon)
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) >
-
power button popup window (solved)
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
-
Configuring ASUS Fingerprint Sensor on Fedora
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.
-
trouble installing easytether
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"
-
Debian+i3, run scrot from i3 config with symbind
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 i3bindsym $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
-
Weird mouse behavior in fedora40/kde
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.
-
(Arch) Question on updating dependencies from a newbie
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!
-
Will a virtual machine work for this?
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.
-
USB tethering
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
-
Arch/KDE - Saving x11 configs?
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?
-
Am I overthinking? Mint Cinnamon/Edge/MATE/xfce/ for a T480?
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.
-
DIY roku like thing
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?
-
Just bought a laptop with Mint, shows errors on startup
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?
-
Why is Qemu so damn slow on HDDs?
I have a pretty decent PC that I use to virtualize from time to time. I've used VirtualBox and it worked perfectly but I wanted to give the jump to Qemu and using KVM the difference in performance is huge but ONLY when the virtual disk is on an SSD, when is in a HDD the performance is just disgusting.
Why does this happen? I mean this didn't happen on Virtualbox, the problem only happens in Qemu and is even funny because I have used Qemu to virtualize some distros and they run better in my laptop (with nvme) that has worse specs than my PC just because they run in an nvme and my PC on a HDD.
The hard drive is not even that old, I use it to save my games and play them from there in Linux without any problems.
-
Partitioning mixed media
I wanted to get an opinion on how to partition various disks. My Win 10 machine is going to Linux Mint with Win 10 ending support. I currently have three disks: SATA SSD which is the C: drive, a traditional HDD for bulk storage (D:), and a M.2 SSD for games (F:). I was looking for an opinion on how to partition the M.2 SSD. It all depends on where you install games. Should the M.2 drive be /home or something else like /opt?