• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, June 30, 2021

    Linux Battery health has dropped rapidly from 100% to 96% just after two weeks. What should I do?

    Linux Battery health has dropped rapidly from 100% to 96% just after two weeks. What should I do?


    Battery health has dropped rapidly from 100% to 96% just after two weeks. What should I do?

    Posted: 30 Jun 2021 08:11 AM PDT

    I'm using Manjaro KDE on Ideapad 5 15'

    I use my laptop for 8-10 hours and charge it 3-4 times as I've set the charge threshold at 60%.

    I just checked my battery health and now it's at 96%. I'm starting to get a bit worried.

    I'm using tlp, auto-cpufreq, and battmngr has set battery mode to 'battery saving' and battery conservation (it set charge threshold to 60%) on.

    What should I do I'm getting really worried about this.

    $ acpi -ib Battery 0: Discharging, 47%, 05:34:52 remaining Battery 0: design capacity 4964 mAh, last full capacity 4777 mAh = 96% $ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: Celxpert model: L19C3PF5 serial: 1987 power supply: yes updated: Wednesday 30 June 2021 has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 26.03 Wh energy-empty: 0 Wh energy-full: 54.86 Wh energy-full-design: 57 Wh energy-rate: 4.671 W voltage: 11.477 V time to empty: 5.6 hours percentage: 47% capacity: 96.2456% technology: lithium-polymer icon-name: 'battery-good-symbolic' History (rate): 1625051841 4.671 discharging $ sudo tlp-stat -b [sudo] password for demistify: --- TLP 1.3.1 -------------------------------------------- +++ Battery Features: Charge Thresholds and Recalibrate natacpi = inactive (laptop not supported) tpacpi-bat = inactive (laptop not supported) tp-smapi = inactive (laptop not supported) +++ Battery Status: BAT0 /sys/class/power_supply/BAT0/manufacturer = Celxpert /sys/class/power_supply/BAT0/model_name = L19C3PF5 /sys/class/power_supply/BAT0/cycle_count = 18 /sys/class/power_supply/BAT0/energy_full_design = 57000 [mWh] /sys/class/power_supply/BAT0/energy_full = 54860 [mWh] /sys/class/power_supply/BAT0/energy_now = 25840 [mWh] /sys/class/power_supply/BAT0/power_now = 4668 [mW] /sys/class/power_supply/BAT0/status = Discharging Charge = 47.1 [%] Capacity = 96.2 [%] 
    submitted by /u/modsbegae
    [link] [comments]

    Playing Minecraft makes my SSD go blackout

    Posted: 30 Jun 2021 05:53 AM PDT

    I'm a Debian (bullseye) user experiencing issuses with my SSD, Intel SSDPEKNW010T8.

    A few weeks ago I was happily flying in Minecraft to test the 32 chunks render distance, then regions started not to load and the game was weird, I tried to save and it just froze from saving screen down to CTRL+ALT+Fnn. reisub? not working, pressed the reset button on my keys and it booted up in my ubuntu installation, no way to launch Debian by ubuntu's GRUB, it was as physically not present.

    Got my SSD out, hot enough for scrambled egg, kept it cooling down and was working again, SMART was and is OK, no data loss, yet very rarely goes blackout and everytime I play Minecraft, and optionally make a save, goes blackout.

    uname -a is Linux xxxxxx 5.10.0-8-amd64 #1 SMP Debian 5.10.46-1 (2021-06-24) x86_64 GNU/Linux

    any ideas what this could be? should my drive be replaced? PS. The drive is plugged with a Sabrent adaptor through a PCIE 3 slot.

    submitted by /u/marco_has_cookies
    [link] [comments]

    Rsync only include files with specific string in name

    Posted: 30 Jun 2021 03:35 AM PDT

    I want to use rsync to backup databases from my webserver.

    I created a cronjob on the webserver that creates a mysqldump of the database and names it with the current date in the beginning every night. Files older than 30 days will be deleted.

    Now I want to backup only the databasefile of the current date to my NAS via a cronjob.

    How can I only include that one file? Or vise versa, how can I exclude everything except that one file?

    My code for rsync is the following:

    rsync -avz -h -c --include="*$(date +%Y-%m-%d)*" -e "ssh -p $PORT" $USER@$SERVER:$SQL_SOURCE $SQL_TARGET --delete 

    The filename for today thats on the webserver would be 2021-06-30_databasename.sql <br> But also every other file like 2021-06-29_databasename.sql gets synced.

    submitted by /u/xBIoS_2
    [link] [comments]

    Complete n00b migrating to Linux

    Posted: 30 Jun 2021 01:42 PM PDT

    I've used Windows for as long as I've been able to use a computer. However, I've had enough of Windows for a plethora of reasons and would like to migrate to Linux altogether.

    I haven't got particularly good computer skills. I'm able to do the basics, install, remove hard drive, back up stuff, install new operating system, but that is it.

    I intend to migrate to Zorin OS. I like that it has a Windows feel, not much if any coding or command prompts stuff is required, and it comes as a package with stuff like LibreOffice already installed.

    It would be gratefully appreciated if you lovely people could explain things to me like I'm five, what I need to do to ensure I can access my files when I delete Windows and go Full Zorin.

    Most importantly, I've saved my Firefox passwords and other passwords, so I won't lose my settings, bookmarks and so forth.

    What else do I need to do, be aware of, useful tips, useful stuff to download for Zorin? Any and all information will be gratefully appreciated.

    I'm also looking forward to getting a Raspberry Pi and getting Pihole! That will be a different thread altogether, at a later date.

    I've already created a backup of Windows and system image, just in case. I hope it's a case of waving goodbye to the old and hello to the new.

    Thank you.

    submitted by /u/humaninspector
    [link] [comments]

    What are the downsides of using an .AppImage?

    Posted: 30 Jun 2021 01:40 PM PDT

    Hi, running Majaro KDE and an application I wanted to run from the AUR had a really messed up GUI, So I downloaded a .AppImage from its Github (meant for ubuntu) and ran it with AppImageLauncher, added an icon, and slapped it in my favorites to get quick access to launch it.

    What is the downside of doing this, and was I just lucky it worked for this application?

    submitted by /u/icecreamterror
    [link] [comments]

    Installing linux mint

    Posted: 29 Jun 2021 08:59 PM PDT

    I am installinh linux mint as my main os should i keep secure boot enabled i read it is support after linux mint version 16 and uefi or bios boot?

    submitted by /u/shubhamyadav7
    [link] [comments]

    Syslog-NG on RHEL 8.2

    Posted: 30 Jun 2021 01:27 PM PDT

    Bit of a noob question. But I have an (unregistered) Red Hat 8.2 server. And want to install Syslog-NG on it.

    Am trying to install it from source, but am worried that certain dependencies (libwrapper) won't work properly.

    Was curious if anyone had success installing Syslog-NG on RHEL 8.2.

    submitted by /u/acebossrhino
    [link] [comments]

    Kubuntu Install boots to black screen

    Posted: 30 Jun 2021 01:03 PM PDT

    Trying to install 20.04 LTS for Kubuntu. I boot to a black screen every single time after a couple "No irq handler for vector" messages. Here's a list of shit I've tried:

    • removed all other unnecessary peripherals/storage other than the M.2 I'm trying to install on
    • tried booting with only one stick of ram
    • used 2 installers (rufus/ventoy)
    • fiddled with bios/uefi settings for boot options

    How fucked am I?

    submitted by /u/ajej4j6jdj1j197dh4
    [link] [comments]

    Ncspot configuration

    Posted: 30 Jun 2021 12:58 PM PDT

    I've got ncspot up and running and now i want to change some default configurations like bitrate, allow gapless playback. I tried adding it like this in the config.toml file in /home/usr/ncspot/

    [bitrate]

    "bitrate" = "160"

    but i think the syntax is wrong because ncspot fails to run after saving this in the config file. Can someone give me the correct syntax or maybe share their config file ? I have searched on google but couldn't file any configuration files. I'm very noob with these things and its my first time changing config files in linux.

    Edit: I'm on Linux mint 20.1 cinnamon DE

    submitted by /u/stonedsatanskiss
    [link] [comments]

    Manjaro - How to install Runelite OSRS Client?

    Posted: 30 Jun 2021 06:55 AM PDT

    Hi,

    I'm looking to migrate over to Linux, more specifically Manjaro. The Runelite website has three options:

    1. x64 (AppImage)
    2. AArch64 (AppImage)
    3. .jar

    Which one of these downloads should I choose? I don't know what the difference between the two types of AppImage, or if it's better to just use .jar instead?

    submitted by /u/_victorfries
    [link] [comments]

    Installing Linux on Huawei Matebook D15

    Posted: 30 Jun 2021 06:53 AM PDT

    Hello, I'm thinking on switching to Linux, I'm using W10 currently on a Huawei Matebook D15. This laptop has an SSD and an HDD, in thinking on making a dual boot but idk if I will be able to use the HDD right away, and if the files I have there will be somewhat corrupted or something like that. Never used Linux outside of a VM so kind of scared tbh.

    Thanks in advance.

    submitted by /u/IdunnoF
    [link] [comments]

    Help with clonezilla

    Posted: 30 Jun 2021 12:34 PM PDT

    I want to backup my 500 GB SSD to a 500GB HHD, if I do a local device to image does the image is going to be 500 GB or would it be smaller? And if not are there any risk of the image being larger than 500 GB?

    submitted by /u/joseluisrojas21
    [link] [comments]

    Error occurred during initialization of VM Unable to load native library: �

    Posted: 30 Jun 2021 11:07 AM PDT

    hi, I am trying to install Clion by jetbrains. when I go to installation folder and run the installation script by running ./clion in the terminal I get this error: Error occurred during initialization of VM Unable to load native library: �. what can I do to fix this error?

    submitted by /u/male-mind
    [link] [comments]

    How To: Create a New User Without a /home Directory

    Posted: 30 Jun 2021 11:01 AM PDT

    Way to hide my secrets from Linux commands like ps and others. (from non-sudo users)

    Posted: 29 Jun 2021 09:46 PM PDT

    I have written some service files, but my secrets can be viewed from simple ps or htop commands. Is there a way to hide them from other users.

    I am loading my secrets from a file, using 'EnvironmentFile'.

    Thanks

    submitted by /u/Minhaj_ul_abidin
    [link] [comments]

    xbindkeys not working properly

    Posted: 30 Jun 2021 10:45 AM PDT

    [Please help] How do I install Linux on a PC with two drives?

    Posted: 30 Jun 2021 06:58 AM PDT

    My PC has a 128GB SSD and a 1TB HDD. I installed Windows on SSD and used HDD for storage and everything was fine. However, when I installed Pop OS, I found that Linux have a totally new file system which has one home directory. The other 1TB HDD has to be 'mounted' where I ran into complications. The HDD does not automatically mount at all. I tried to look at Disks utility and became more confused. I installed a game on HDD and played it but when I restarted my computer, Steam no longer recognized the game on HDD. Whenever I open Disks after starting my PC, the HDD is always unmounted and has a ZZZ written beside it. My friend, who knows a thing or two about Linux, suggested to make changes in the etc/fstab file but messed things up as now Pop OS isn't even updating since it etc/fstab has been changed.

    So I am planning to install Ubuntu (which has far more documentation than any other distro and is more beginner friendly for a noob like me). This time I want to install with my HDD working normally and I being able to access my games in it normally.

    I have searched YouTube and Google for solutions but almost no video or article mentions installing Linux on multiple drives (if you search installing Linux on two/multiple drives, Google assumes you are talking about dual booting). Those who do, often have terminologies that I simply don't understand. So please help.

    submitted by /u/MisterIgnorant
    [link] [comments]

    How do I set this up (personal files backups)

    Posted: 30 Jun 2021 12:58 AM PDT

    Hey. So i've got this machine running Manjaro for a while. I've got Timeshift set up to backup my system, and I kinda think what I want could be done with this program, but im not sure how.

    Thing is, I have a folder with all my files, which I have backed up in a couple of drives. Every month or so I copy that folder again in the different drives, so that the backup is updated. My question is, is there anyway that I can automatically have the files added into the main folder copied into the other drives backups, so that I dont have to copy again the entire folder each time I update it?

    submitted by /u/nachetb
    [link] [comments]

    reinstall ubuntu and removing win10 from dual boot

    Posted: 30 Jun 2021 06:48 AM PDT

    Hello guys i installed Linux Ubuntu alongside windows 10, but one day when i was using steam link on windows.

    I turned off my laptop using the shut down option on the steam link app on my phone, after returning back to my laptop, when i wanted to open windows it kept crashing on the load screen, after showing my laptop brand on the screen i freaked out and launched Ubuntu instead.

    But for some reason the WiFi wasn't working, i restated the laptop and after a while, WiFi went on working on again,

    But i couldn't access windows so i downloaded gparted and erased windows partition.

    My problem is: every time i launch my laptop it always shows the dual boot screen i want to get rid of it and merge all the other free partitions thanks for your help

    submitted by /u/Dry_Search5837
    [link] [comments]

    I'm trying to install puppy Linux but when I press enter here the countdown just resets, same when I let it run out. The second image is what happens if I press tab. I tried the USB in both fat32 and ntfs, both with the same results. Anyone know what the issue could be?

    Posted: 30 Jun 2021 10:21 AM PDT

    Is my Linux system infected?

    Posted: 30 Jun 2021 03:54 AM PDT

    Hi. I borrowed my laptop to a friend for her university (she is trusted so no security issue here) anyhow when I got my laptop back I noticed a folder name MATLAB in my home directory. When I asked her about it she said she needed Matlab for here university so she installed it. The thing is she said the she used crack and didn't buy a license (It's pretty common practice in my country). So I'm afraid that the crack is some sort of virus and it has infected my system. Here is what I know/done so far:

    • She installed Matlab folder in the home directory and didn't use sudo to install it system wide. I deleted the Matlab folder as it's said here

    • She told me the site that she's downloaded the Matlab from. I checked the site and the instruction about cracking the Matlab. It requires you to copy a file to Matlab subdirectory so as far as I know it's been in home directory (before I deleted the Matlab folder)

    • I thought to myself maybe if the system was infected the virus would run as a daemon (it's just a guess) so I checked the daemons using service --status-all and didn't see anything unusual.

    How can I be sure that my system is not infected? Do I need to reinstall Linux or can I continue using my current system?

    submitted by /u/misty_kristy
    [link] [comments]

    anybody able to play bluray folders?

    Posted: 30 Jun 2021 09:20 AM PDT

    like the raw files not an mkv.

    here is the only guide I could find.

    https://www.howtogeek.com/240487/how-to-play-dvds-and-blu-rays-on-linux/

    but makemkv no longer has the stream icon.

    i am on arco(arch) linux, 5.12.

    i looked at mplayer as well, but they only seem to have a dvd folder command(which does work) but no bluray folder command.

    submitted by /u/ProperManufacturer6
    [link] [comments]

    How do I get back the GRUB menu with the blue background?

    Posted: 30 Jun 2021 09:15 AM PDT

    The partition table scheme is GPT and UEFI with Secure Boot enabled is used instead of legacy BIOS.

    Below is the partition layout of my hard disk drive:

    536.9MB EFI system partition 511.7MB /boot (unencrypted) 100GB encrypted logical volumes (contains 99GB of / partition, 1GB of swap area.Debian Buster was installed on this partition) 16MB Microsoft reserved area (automatically created by Microsoft Windows' installer) 100GB Microsoft Windows 10 
    1. Debian Buster's 64bit installer was used to create the EFI System Partition, the /boot partition and the encrypted logical volumes. Installation was successful and I was able to boot into the GRUB menu with a blue background. It had an entry named Debian GNU/Linux.
    2. Next I installed Microsoft Windows 10 and the installation was successful.
    3. I rebooted into Debian and used sudo os-prober to add the Microsoft Windows' entry to GRUB followed by sudo update-grub
    4. Dual-boot of Debian and Windows was possible.

    Question:

    A. In which partition were GRUB bootloader and GRUB menu installed? In the unencrypted /boot partition or the encrypted / partition?

    Problem(s) happened after I did the following:

    1. With a USB stick containing Debian Testing (Bullseye), I booted into the Debian's installer screen and deleted the 100GB encrypted logical volumes.

    2. As a result 100GB of free space was made available. I configured it to have two encrypted logical volumes: 99GB of / partition, 1GB of swap area.

    3. Debian Testing was installed on the 100GB partition. Installation was successful.

    4. However, I am now unable to boot into the GRUB menu with the blue background. Instead all I have is a black screen with the word grub> _ (The underscore is actually the position of the cursor)

    Questions:

    B. In which partition were GRUB bootloader and GRUB menu installed? In /boot partition or the encrypted / partition?

    C. How do I get back the GRUB menu with the blue background and an entry named Debian GNU/Linux?

    Thanks for your help.

    submitted by /u/uxebajidiz
    [link] [comments]

    Superpaper won't change the Wallpaper

    Posted: 30 Jun 2021 05:23 AM PDT

    Hello together,

    i am using Linux Mint Cinnamon in the latest Edition. I was looking for an option to span a Wallpaper over my 2 Monitors so i came to Superpaper which sounded perfect to me. After downloading the AppImage i made it executable. Then i followed the instructions by adding a new profile, select sources and so on. But everytime i click "apply" the Wallpaper on my Monitors doesn't change. Additionally the Wallpaper in the Preview Window on Superpaper jumps to the next one in the Source.

    Has someone a idea what could that be and how to make it work properly?

    Kind Regards

    submitted by /u/ToffeeFudgeofDoom
    [link] [comments]

    Not able to set GRUB timeout to 0

    Posted: 30 Jun 2021 08:40 AM PDT

    i edited the grub file to the following:

    GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT_QUIET=false GRUB_TIMEOUT=-1 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" 

    i tried setting GRUB_TIMEOUT to 0 and -1 and also updated grub after every edit but the GRUB menu still appears during startup

    I'm using Ubuntu 21.04 with kernel 5.13

    submitted by /u/tundra_tea_party
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel