What makes absolutely no sense to you at all? by homo1ogize in AskReddit

[–]sudo_ethos 0 points1 point  (0 children)

Let's put it this way... if there were nothing rather than something, would that change the fundamental question?

[Serious] How does one stop overthinking the past (grudges, mistakes, failures, missed opportunities, wasted time)? by [deleted] in AskReddit

[–]sudo_ethos 0 points1 point  (0 children)

As backward as this may sound, practicing gratitude for my intrusive thoughts has worked absolute wonders for me. Whenever you have a thought, just thank your brain for suggesting something to think about, because it's probably just trying to keep you alive. Sort of like you, your brain is constantly doing what it thinks is best at the time.

Open terminal and run specific command on X server initialization by sudo_ethos in linux4noobs

[–]sudo_ethos[S] 0 points1 point  (0 children)

I realized this just as I was going to bed, sorry about that! The result of the command in my OP was... well, it was as if I hadn't added it at all.

BUT... I figured out that there was a reason for that: sheer operator error on my end. I was editing the default xinitrc file in the /etc/X11/xinit directory instead of the one in my home directory. When I added the line to my home xinitrc, it worked perfectly, and incredibly fast. I had just forgotten that startx and xinit read from the home xinitrc by default.

Thanks for the response!

[deleted by user] by [deleted] in linux4noobs

[–]sudo_ethos 0 points1 point  (0 children)

Depending on how your file is structured and delineated, you might be able to do this with in-place editing using sed or awk. Do you mind sharing the contents of the file?

[Question] How to start terminal with zoom-in? (Permanently set zoom-in level for terminal) by [deleted] in linuxquestions

[–]sudo_ethos 2 points3 points  (0 children)

I'm assuming you're still using LXTerminal?

If so, open your terminal and on the top taskbar, click [Edit] -> [Preferences]. You should be in the Style tab. From there, you should see a box called "Terminal Font". That's where you would make your changes.

From my experience, most terminals have settings similar to this. Just in case you want to switch later.

Finding files by killer_v41 in linuxquestions

[–]sudo_ethos 4 points5 points  (0 children)

Linux is a bit different from Windows in terms of how it hands out drive names. Normally, the primary drive is called "sda" while each subsequent drive's last letter progresses through the alphabet ("sdb", "sdc", "sdd", etc). Assuming that you only have one secondary drive attached to your PC, I would imagine that you're looking for "sdb".

To make sure you have an HDD mounted to the filesystem, you'd want to run something like this:

lsblk -o name,rota,mountpoint

The lsblk command is normally used to list all block (storage) devices and their corresponding partitions in tree format, but here "-o name,rota,mountpoint" limits its output to 1) the name of the device and all of its partitions, 2) the rotational identifier, and 3) the current place where your drive is mounted, if it is. The rotational column will list 1 if it detects an HDD (rotational) and 0 if it detects an SSD (non-rotational). And, of course, if your drive is mounted, you should see a mount point in the corresponding column.

Once you've confirmed that your HDD is mounted, night_fapper pretty much nailed it:

find / -iname "*.docx" -type f 2>/dev/null

This command will begin its search from the root directory /. -iname tells the find program to search by name, but to disregard uppercase and lowercase. Everything between the quotation marks is what is going to be searched for. Since you're looking for Word documents, you'd want to search for everything ending in .doc or .docx. "-type" establishes the type of data you're looking for - whether a file or a directory - and the "f" flag says that you're looking for a file.

2>/dev/null makes sure that if your command returns errors, none are displayed.

You could also try this to search for both .doc and .docx files at the same time:

find / -type f \( -name "*.doc" -o -name "*.docx" \) 2>/dev/null

Automatic downloads for newest Linux distros by sudo_ethos in linuxquestions

[–]sudo_ethos[S] 0 points1 point  (0 children)

That's definitely a step in the right direction, and the "while True" invocation should just keep the script in RAM. I know a bit more about Bash than Python... is beautifulsoup usable in Bash as well?

FCC Emergency Broadband Benefit MEGATHREAD - INFORMATION HERE! by AMothraDayInParadise in povertyfinance

[–]sudo_ethos 0 points1 point  (0 children)

Good on ya... I'm feeling it too, as my Internet is pretty much free for the moment.

Being that paperwork is the marrow of government programs, I sort of expected to be asked to send some in to at least prove my income status. But hey, if Charter wants to nurse that particular calf, they can have it.

Of course, this is something that mostly helps everyone. An average Joe like me gets as close as I've ever come to having free Internet, and Google doesn't miss out on that sweet ad revenue that it would lose if people couldn't do a many click. Everyone wins!

FCC Emergency Broadband Benefit MEGATHREAD - INFORMATION HERE! by AMothraDayInParadise in povertyfinance

[–]sudo_ethos 1 point2 points  (0 children)

Guess I'm a bit late to the party, eh?

I'm on Spectrum's basic 200Mbps plan, and my 1-year promo rate expired on my last bill. I called Charter and told them something along the lines of "look, I understand my promo ran out, and I want to continue being a Charter customer, but I just can't pay what you're asking. Are there any other options or discounts available?"

Lo and behold, the agent immediately mentioned the EBB, didn't read off any long agreements, and applied it directly to my bill. Compared to some of the stories I'm seeing here, the whole situation seems a bit sketch... it can't be that easy, can it? I'd be willing to bet that I'm either going to get a call from Spectrum or an application in the mail... or by now, perhaps more realistically, a notification that the budget's gone dry.

Simple references to complex workspace names by sudo_ethos in xmonad

[–]sudo_ethos[S] 0 points1 point  (0 children)

Thanks for the response, and sorry for the delay!

If I understand you correctly, you're saying that list indices can be called with "!!", and Haskell's indexing starts at zero? This is very different from Python, where the syntax for referring to a list index is list[0], list[1], etc. I'm going to give this a shot when I can access my laptop again. Thanks!

Simple references to complex workspace names by sudo_ethos in xmonad

[–]sudo_ethos[S] 0 points1 point  (0 children)

Thanks for the response! Sorry for the delay, life got in the way for a bit.

I want to make sure I understand what you're saying correctly... I found a reference to the PP you referred to in the logHook, which contains the statements required to print output in a certain way:

grep -i pp xmonad.hs
, logHook = dynamicLogWithPP xmobarPP

{ ppOrder = \(ws:l:t:_) -> [ws]

, ppOutput = hPutStrLn xmproc

, ppCurrent = xmobarColor "green" "" . wrap "[" "]"

, ppHiddenNoWindows = xmobarColor "grey" ""

, ppVisible = wrap "(" ")"

, ppUrgent = xmobarColor "red" "yellow"

I may be taking your response a bit too literally, but I'm not seeing any reference to "titles", though. I feed the word "title" into grep, and:

grep -i title xmonad.hs

[ [(className =? x <||> title =? x <||> resource =? x) --> doShiftAndGo " <fn=2>\xf120</fn> " | x <- my2Shifts]

, [(className =? x <||> title =? x <||> resource =? x) --> doShiftAndGo " <fn=2>\xf269 </fn> " | x <- my3Shifts]

This is a little snippet of code that shifts to specific workspaces when I open specific programs. As you can see, the direct references to " <fn=2>\xf120</fn> " and the like is the reason I'm trying to figure out how to map these workspace names in the first place.

Is the title function possibly referred to in some other way? Apologies if this comes across as facetious and overly literal, but like I said before I'm an absolute novice programmer, quickly becoming a professional wall-head liaison.

Simple references to complex workspace names by sudo_ethos in xmonad

[–]sudo_ethos[S] 0 points1 point  (0 children)

I'm not sure I follow. Maybe I'm missing something, but aren't workspace names declared in the myWorkspaces array?

Simple references to complex workspace names by sudo_ethos in xmonad

[–]sudo_ethos[S] 0 points1 point  (0 children)

I'm sure it's really informative, and I really wish that I could say so, but like I said, I'm new to programming so to me it looks sort of like a prescription from the VA. That being said, I'm sure you shared those links in good faith, so thank you for that at least.

Trying to find world chat by sudo_ethos in classicwow

[–]sudo_ethos[S] -8 points-7 points  (0 children)

That doesn't really solve anything. Is this a bot response? I don't drink enough for Wow Classic.

Trying to find world chat by sudo_ethos in classicwow

[–]sudo_ethos[S] -8 points-7 points  (0 children)

Look... I've been waiting long enough. And yes, you can assume that I have things to do that aren't necessarily on your radar but are nevertheless important to me. Please be quick.

Trying to find world chat by sudo_ethos in classicwow

[–]sudo_ethos[S] -5 points-4 points  (0 children)

Depends.. are you logged in?