Linux - Reddit – Telegram
Linux - Reddit
775 subscribers
4.19K photos
207 videos
40K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Using bcache to save battery power (ssd+hdd)

So i had a simple idea to combine my ssd and hdd in my laptop to a single block device to minimize read access to the hdd and thus reduce the battery drain. simple right? yeah too bad there is literally no documentation (except the kernel docs) or seemingly anyone else in the internet trying the above.

the issue that arised was a random spin up to the hdd periodically that was not fixed with the usual methods (noatime, commit=120 etc) that was happening randomly almost twice a minute. through a combination of iotop and dtrace (? iirc will edit with name) i finally found that it was the actual kernel module accessing the spun down disk.

anyways, basically writeback_delay (in the sysfs bcache folder) needs a large value to prevent the constant writeback of dirty - not really dirty as it exists in the ssd - data back to the hdd, a good value is 600 (10mins) - default is 30 secs.

this made the laptop spin up the hdd basically every 10 mins on a ext4 root resulting on an additional hour of battery life.

tl;dr: do you a laptop with a ssd and a hdd? use bcache, follow the arch wiki and up the writeback_delay

https://redd.it/etngnt
@r_linux
Linux Manjaro Vram Crash

Hello everyone,

I am running Linux Manjaro XFCE on my Virtual Box machine on my macbook pro and it will always crash if I have over 128mb of Vram selected (log file and screenshots included). I tried to go to 256mb so all the animations and stuff run smoothly. I have allocated 8 virtual processors (4 cores), 16 gigs of ram and 40 gigs of storage (I am running an ssd).

Link to the Log and Screenshots.

[https://drive.google.com/drive/folders/1hrZI3BzyjZAMWBNGwwpd3zlpDtgicZX0?usp=sharing](https://drive.google.com/drive/folders/1hrZI3BzyjZAMWBNGwwpd3zlpDtgicZX0?usp=sharing)

P.S Sorry for the flair I didn't know which to pick.

Thanks in advance.

https://redd.it/eto6sk
@r_linux
ditty - Terminal-based audio player - Now with playable demo via ssh stderr> aplay
https://gitlab.com/tslocum/ditty

https://redd.it/etnf7b
@r_linux
“You have held broken packages.”

Hello everybody!

Recently I’ve been trying to get Steam on my Chromebook throughout Linux. I’ve looked up several tutorials on how to install it; Everything goes well until I come to a point where it says:”You have held broken packages.”

Somebody please help I have no idea what’s going on.

https://redd.it/etrmic
@r_linux
edditing .profile to set nnn

Hi there! I would like some help

# .profile

export READER="zathura"
export EDITOR="vim"
export TERMINAL="xfce4-terminal"
export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

export NNN_USE_EDITOR=1
export NNN_OPENER=vim-open
export NNN_OPENER=zathura-open
export NNN_OPENER=sxiv-open

So the thing is to tell nnn to use vim, zathura, sxiv to open files.
Well it isnt doint it.. if i leave just one of them, like

export NNN\_OPENER=zathura-open

it will but not all together..

Thanks in advance!

https://redd.it/etsnvx
@r_linux
I have linux ubuntu and im trying to connect a MIDI keyboard to the laptop im using a beat maker called soundtrap and when i click on midi it says its not supported on linux but when i search if midi is supported on linux it says yes anyone know what to do



https://redd.it/ettnwv
@r_linux
Linux check CPU Tool-stresstest-check

Helle at all

Is there a Tool to check CPU (stress Test usw) Im not sure i had problem with my CPU, hat try with Prime95 to boot but this is a old tool,

CPU is AMD Ryzen 9 3900X (AM4, 3.80GHz, 12-Core and System is Ubuntu 18.04,

Testing my RAM with memtest86 was good

Thank you for helping

cheers

https://redd.it/etofkn
@r_linux
Is it possible to format my flash drive even if it's already flashed?

Last week, I flashed Solus in my flash drive on Etcher. I wanted to know if it's possible to format or avoid

https://redd.it/ettpsr
@r_linux
Distro for Hybrid graphics (Nvidia+intel integrated)?

Hello there!

I have decided to move to Linux recently. So far I've installed Manjaro but I've had plenty of problems when it comes to use hybrid graphics. I installed Optimus Manager, but for some reason, my fans accelerated a lot when on Nvidia exclusive use.

I could not come up with a solution for this, maybe an arch based distro is too much for me atm.

​

Have any of you a distro with hybrid graphics working? Which one would you recommend?

https://redd.it/etxi0f
@r_linux
CHANGE SCREEN OUTPUT

Hi!

I had my netbook connected to a monitor. But suddenly this one started to fail, and finally it didn't turned on again lol. The thing is, now I want to use my netbook with his own screen. But it's all black. ¿What can I do? I use Lubuntu 16.04 Thx!

https://redd.it/etxu9f
@r_linux
Anyone know how to fix the lightdm configuration file?
https://redd.it/etyh1l
@r_linux
Imagine not using linux and not being able to do this?

timeout .4 yes yyyyyyyyyyyyyyyyyyyyy | aplay; timeout .4 yes yyyyyyyyyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyy | aplay; timeout .6 yes yyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyyyyyyyy | aplay; timeout .5 yes yyyyyyyyyyyyyyyyyy | aplay; timeout .3 yes yyyyyyyyyyyyyyyyyyyyy | aplay; timeout .3 yes yyyyyyyyyyyyyyyyyy | aplay; timeout .3 yes yyyyyyyyyyyyyyyy | aplay; printf "████████▀▀░░░░░░░░░░░░░░░░░░░▀▀███████\n██████▀░░░░░░░░░░░░░░░░░░░░░░░░░▀██████\n█████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█████\n████░░░░░▄▄▄▄▄▄▄░░░░░░░░▄▄▄▄▄▄░░░░░████\n████░░▄██████████░░░░░░██▀░░░▀██▄░░████\n████░░███████████░░░░░░█▄░░▀░░▄██░░████\n█████░░▀▀███████░░░██░░░██▄▄▄█▀▀░░█████\n██████░░░░░░▄▄▀░░░████░░░▀▄▄░░░░░██████\n█████░░░░░█▄░░░░░░▀▀▀▀░░░░░░░█▄░░░█████\n█████░░░▀▀█░█▀▄▄▄▄▄▄▄▄▄▄▄▄▄▀██▀▀░░█████\n██████░░░░░▀█▄░░█░░█░░░█░░█▄▀░░░░██▀▀▀▀\n▀░░░▀██▄░░░░░░▀▀█▄▄█▄▄▄█▄▀▀░░░░▄█▀░░░▄▄\n▄▄▄░░░▀▀██▄▄▄▄░░░░░░░░░░░░▄▄▄███░░░▄██▄\n██████▄▄░░▀█████▀█████▀██████▀▀░░▄█████\n██████████▄░░▀▀█▄░░░░░▄██▀▀▀░▄▄▄███▀▄██\n"

Couldn't be me.

https://redd.it/etx3ia
@r_linux