Any ideas on how to fix this ? OS: Pop!_OS 20.04 LTS x86_64 Host: Inspiron 3543 A10 Kernel: 5.11.0-7614-generic Uptime: 3 hours, 28 mins Packages: 2056 (dpkg) Shell: bash 5.0.17 Resolution: 1366×768 DE: GNOME WM: Mutter WM Theme: Pop Theme: Layan-dark …
submitted by /u/twp [link] [comments]
submitted by /u/milohr [link] [comments]
submitted by /u/neahahul [link] [comments]
Im running discord via rofi, meaning that will run the discord.desktop file,which is this:
[Desktop Entry] Name=Discord StartupWMClass=discord Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone. GenericName=Internet Messenger Exec=/usr/bin/discord Icon=discord Type=Application Categories=Network;InstantMessaging; Path=/usr/bin Path=/usr/bin
And this runs the discord executable at /usr/bin/discord
Now i want to run another script after running /usr/bin/discord.
How’d I go about doing that?
I tried creating a new file at:/usr/bin/discord-rpc
#!/usr/bin/bash /usr/bin/discord & sleep 45 /opt/simple-discord-rpc/index.js &
But this doesnt seem to start :/
Am I missing something?
My main machines at the moment are running Ubuntu and OS X. They’ve each slowly grown their own dotfiles, with a lot of crossover.
It would be nice to be able to consolidate them as much as possible and actually start tracking them in git so I can have as consistent experience as possible on any machine.
Do you detect the OS within your dotfiles? Or just track dorfiles for different operating systems completely separately? Or find workarounds for compatibility?
Any advice would be appreciated.
I recently bought a ROG Strix SCAR 15 G533 with a 3060RTX and tested some distros.
I have a power meter attached to the laptop so I thought I make a small experiment to test the idle power draw and battery life and share the results, since there may be others who are interested in it and I could find few existing comparisons.
Systems Tested: Manjaro 21.0.4 KDE and Manjaro 21.0.4 Cinnamon
- Display set to 60Hz, 50% Brightness
- Clean install with updating: Kernel 5.12.1, Nvidia Driver 460.73.01
- Idle with Firefox open on google and htop in Terminal
|Manjaro KDE||Manjaro Cinnamon|
|Power Draw||20-35W very flaky||13-15W|
|Battery after 1h Idle||70%||94%|
I also have Linux Mint with Cinnamon installed, but with a different config, so I did not include it, but it consumes only 10W while in idle.
I’m not sure where the big differences come from, but I noticed considerable CPU usage from plasmashell and kwin_x11 (~4%) in idle on KDE. In cinnamon I didn’t observe such heavy CPU consumption (cinnamon –replace ~0,4%).
That alone does not explain the much higher power draw, so I suspect KDE does something to trigger activation of the external graphics card instead of the integrated one. I can observe higher power draw when forcing to use the nvidia graphics card instead of hybrid mode.
I flashed a 32 gigabyte drive with etcher to install Linux and it got reduced to 600 megabytes when I did arch Linux then I was confused why it wouldn’t boot so I tried flashing it with Linux mint instead. Now it only has 3 megabytes of storage and i d…
submitted by /u/EatMeerkats [link] [comments]
I’m trying to find a Linux distro that fits on a floppy, preferably with room to spare. See I remember reading a lot of fiction back in the text mode internet days. To relive some of that I made a DOS boot disk with an HTML reader and a copy of my Sci-Fi novel. The DOS version is bootable on a 286+ with 640kb ram.
One of the main issues with the DOS version is that, even though you CAN write the floppy image to a USB drive with etcher or DD and boot a modern computer off of it, the mouse driver only supports serial mice and the sleep command runs WAYYY too fast, well at least on my 5800X.
I thought it might be fun to build a Linux boot floppy or minimal USB image that supports a text-mode browser like Lynx.
Most of the posts I find on google are VERY old and the links don’t work.
Any help would be great.
I am making a server for home use primarily for file-/media-sharing and streaming + other misc. web-services. I would like to use Docker as I am somewhat familiar with it from before and I would also like to use ZFS (at least for the storage pool). I o…
submitted by /u/ognarb1 [link] [comments]
Hi all, I am wondering if this would be possible, but I can barely find anything about it online. What I’m trying to do is to pre-manage a WPA2 enterprise wifi network, preferably using the credentials that a user fills in during login. The credentials should be stored by NetworkManager in encrypted form, because having them in plain text is just plain ugly. But the gnome-keyring interaction with networkmanager confuses me. When does it ask for the password and when?
I could only find this article that tries to do the same thing: https://bkhome.org/news/201909/encrypted-passwords-for-networkmanager.html
But it does not explain what to change exactly so it stores the password encrypted on disk and uses the user logon credentials, besides it seems for a custom Redhat-based OS and I’m using Ubuntu (20.04)
submitted by /u/ckardaris [link] [comments]
When setting up a new install, do you have a script or personal package that helps you customize things the way you like? If so, what does it do for you?
I recently started making aliases for some of my favorite commands, and setting up vim a certain way. I happen to have a few machines and I thought, rather than copying the files manually, why not just put together a script that would do the customization? And then I could just keep that around for future installs etc. I’m sure plenty of you do that already, so I was hoping to get some ideas about how you do it and what you customize.
hi, I want to create a Linux process and i want to know inside my program about when my process is running in the processor and when my process is kept in waiting. Also, I is it possible to tell the operating system not to take my program out of conte…
I’ve been checking into BTRFS as of late.
Found that Facebook is using BTRFS to get more efficient resource utilization.
And Trip Advisor uses it for Logging.
This is a large contrast in use cases. I’m finding that large companies with the most resources have begun to use BTRFS, and generally create their own in house tools from what little detail I’ve found.
Searching the web; I’ve found mixed results for end users.
Do you use BTRFS on Your home setup? If So; please share your experiences. I’m considering this over EXT4 with LVM.
I’ve thinking about linux on ARM lately and, from the things I’ve read, it seems like the biggest issue that stands in our way is hardware support. Boot proccesses, device drivers and such differ quite a bit from one another, which would mean you would have to explicitly write support for every device out there, which isn’t feasable.
But someone has already done this work: the manufacturer. Given that Android runs the Linux kernel at it’s core, wouldn’t it be possible to wipe out everything above the HAL (or just the kernel, I’m not really sure) and just build ARM versions of the GNU suite on top of it?
After all, Android = GNU/Linux – GNU + proprietary software
AFAIK the main issue here would be screen and touch support, but I think it would still be easier than implementing it from the ground up. I also mentioned the HAL, which is not present in standard Linux distros, there might be some work needed to integrate it with the kernel even more…
This is such an obvious idea, so it’s likely I’m missing some enormous caveat, what is it?
# cat a.file
# grep -m 1 -oP "\K([\w]+) +$file" a.file
How can I get the output 274efcc4d8a0e8f…
submitted by /u/derricknyakundi [link] [comments]