[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1754100685936370.jpg (120 KB, 1080x1331)
120 KB
120 KB JPG
Users of all levels are welcome to ask questions about GNU/Linux and share experiences.

*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread ***

Before asking for help, please check our list of resources.

If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Install a GNU/Linux distribution of your choice on bare metal and run your previous OS in a Virtual Machine.
2) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
3) Go balls deep and replace everything with GNU/Linux.

Resources: Please spend at least a minute to check a web search engine with your question.
Many free software projects have active mailing lists.

$ man %command%
$ info %command%
$ %command% -h/--help
$ help %builtin/keyword%

Don't know what to look for?
$ apropos %something%

Try a random distro:
https://distrosea.com
https://distro.moe

Check the Wikis (most troubleshoots work for all distros):
https://wiki.archlinux.org
https://wiki.gentoo.org
https://wiki.debian.org

/g/'s Wiki on GNU/Linux:
https://igwiki.lyci.de/wiki/Category:GNU/Linux

>What distro should I choose?
https://igwiki.lyci.de/wiki/Babbies_First_Linux
>What are some cool programs?
https://wiki.archlinux.org/index.php/list_of_applications
https://directory.fsf.org/wiki/Main_Page
https://suckless.org/rocks/
>What are some cool terminal commands?
https://www.commandlinefu.com/commands/browse
https://cheat.sh/
>Where can I learn the command line?
https://mywiki.wooledge.org/BashGuide
https://www.grymoire.com/Unix/
https://overthewire.org/wargames/bandit
https://tldp.org/LDP/Bash-Beginners-Guide/html/Bash-Beginners-Guide.html
>Where can I learn more about Free Software?
https://www.gnu.org/philosophy/philosophy.html
>How to break out of the botnet?
https://prism-break.org/en/categories/gnu-linux

GNU/Linux Games:
>>>/vg/lgg

Previous thread: >>108528072
>>
>>108546084
GParted hangs when trying to make a new partition table on my 128 GB usb, I'm going to let it sit overnight but if that doesn't work is there anything short of a hammer that will fix this usb?
>>
>>108546151
what does dmesg say?
>>
>>108546151
I use Disks (gnome-disk-utility) for stuff like this, so you could try that, but maybe your USB drive is just fucked. Is it a cheap Chinese no-brand drive? I've had drives like that and they died very quickly. Meanwhile my flash drives from reputable brands (Kingston, TDK) have lasted for years.
>>
Used Linux a decade ago+ and rage quit it for the usual reasons. The recent enshittification does make me want to not use Windows though. A recent example - zscaler on our work profile on personal devices isn't locked down. But if you accidentally login to it with our client domain login instead then it locks down your PC and even with Admin access it prevents you from logging out, uninstalling it, disabling it, etc, it's designed like this on purpose. Happened to a colleague recently from unclear instructions from client. Like nothing should be able to do that to something I own. It's fundamentally designed to allow enterprise enrollment though. It's the small things that irk me. Though I don't want to fuck around with tinkering, I just want to use PC and forget about/"not use" the OS. A big one for me is Lightroom/Photoshop subscription with cloud elements. DaVinci Resolve iirc is gimped on Linux for whatever reason. These 2 are hobby/serious hobby. Visual Studio is for work, but I did see JetBrains Rider, but don't want another subscription, maybe free will be good enough. I also use NVIDIA and not a fan of AMD after being burned before.

I feel like I will be going down this road when the age verification thing kicks into more shit desu though.
>>
luke smith balls
>>
>>108546621
>zscaler on our work profile on personal devices
>zscaler on personal devices
that's no longer your personal device. Why did you let them do this?
>>
>>108546661
Our work profile doesn't lock it down, you can logout, uninstall it, etc. as it's designed to allow WFH on personal devices, it just restricts network access while logged in (eg no personal Gmail access), you can log off zscaler at any time (and continue to work for any things that don't actually need/use it). If you log into the clients domain instead of our work domain either by accident or through poor instructions from the client, then theirs is setup to completely lock it down and prevent you from removing it or logging out. But iirc they provide all devices, there's no BYOD.

My PC is fine. But it just happened to a colleague because of bad instructions of how to get into Salesforce. Anyway it's not really about whether my PC is fine or not, but more like, it shouldn't be possible to enroll a personal device into enterprise management and be actually impossible to log out of it or remove it with reinstalling the OS. Like I should retain ultimate control regardless. I suppose that's what windows sandbox is for, but it bothers me a lot.
>>
>>108546621
>don't want to fuck around with tinkering
>Lightroom/Photoshop
>Visual Studio
These are all completely unsupported on Linux.
You'd have to use alternatives to Lightroom and Photoshop, like Darktable and Photopea.
Linux only has VS Code. And while VS Code is infinitely less shit than regular VS, it doesn't come with debug and build tools so you'd have to set those up by installing necessary extensions and in some cases system dependencies depending on the language/framework you use.

>>108546689
>WFH on personal device
>personal device
>install some shitty tracking software
Sounds fucking retarded. You should've been given a laptop for WFH. Or install this shit in a VM.
>>
>>108546689
But that's what it's for -
>completely lock it down
>provide all devices, there's no BYOD.
that's how you use zscaler, to make sure you don't fuck up the device connecting to company resources.
Your company, apparently doing it differently, is the odd one out.
But now comes the biggest oopsie. Using the same device to connect to 2 different zscalers? Are you serious? You're basically leaking your company data to your client. What's your it security doing? People who need to connect to your client's zscaler need devices only used for working for that client. Provided by the client or your company, doesn't matter.
And then there's the general byod security nightmare issue.
>>
>>108544004
>like I need to add \"%s\"?
still not good, filenames containing quotes or special characters could break out of the quoting and do unexpected things
use one of:
import subprocess
subprocess.run(['ffmpeg', '-i', file, basename+'.jpg'])

import shlex
# must not put quotes around %s here or you get the same bug again
os.system('ffmpeg -i %s %s.jpg' % (shlex.quote(file), shlex.quote(basename)))

other things i'd change in your script
>check the file extensions case insensitively
>check the exit code of ffmpeg to tell whether it could actually convert the file (see documentation of os.system or subprocess.run)
>add -- before the output filename so ffmpeg won't interpret it as an option flag (https://unix.stackexchange.com/questions/11376/what-does-double-dash-double-hyphen-mean)
>tell ffmpeg what quality you want the jpeg in, the defaults are probably crap and subject to change
>>
I have the weirdest thing
About a month ago (maybe more) with my G502X on linux, I had this problem where high resolution scrolling got enabled by default. I needed to create a quirks file that disabled this retarded behavior because there's no high resolution scrolling toggle.
Anyways, every now and then I'll stop using my mouse for a while, then when I start using it again it'll scroll very slowly (the minimal amount of steps possible) and I'll have to scroll up and down several times for it to get back to normal speed.
Anyone had this problem?
This is what I put in my quirks file:
[Logitech Hi-Res Fix]
MatchName=*Logitech*
AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES;

Not sure if the second one is worth keeping since the mouse doesn't have a horizontal wheel



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.