• Breaking News

    [Android][timeline][#f39c12]

    Saturday, August 28, 2021

    Linux Alsa mixer clipping earphones audio at very low volumes.

    Linux Alsa mixer clipping earphones audio at very low volumes.


    Alsa mixer clipping earphones audio at very low volumes.

    Posted: 28 Aug 2021 06:48 AM PDT

    Install lightweight Linux distro onto old smartphone

    Posted: 28 Aug 2021 05:43 AM PDT

    I recently bought a Raspberry Pi 3A+ and I'm running it through a remote desktop connection to practice using the Linux command line and the OS in general. It seems to be really slow - lag when moving windows, takes time to open apps, text editor slow to respond, etc.

    I have an old Sony Xperia 10 which I don't use and I'm wondering if it might be worthwhile installing a lightweight Linux distro onto it to use that instead. Does anyone have any experience with this? Surely it would be much faster than the Pi? I managed to find a few walkthrough showing how to do it, I just wanted to check if it's worthwhile before going ahead with it.

    Thanks!

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

    Hi!, hope you are having an amazing day!, I have this problem, I automounted my drives (This is my first time doing it), and they do mount successfully on boot, but I don't have the apropriate permissions (ie: I can't save libreoffice documents on my drive), ny help is appreciated, thank you in adv.

    Posted: 28 Aug 2021 09:56 AM PDT

    Ethernet/Wi-Fi not working in Arch Linux after install

    Posted: 28 Aug 2021 01:23 PM PDT

    So I recently installed Arch and I noticed iwctl wasn't available so I used an ethernet cable. After doing ping google.com i got ping: google.com: Temporary failure in name resolution

    Any help

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

    How do I properly launch desktop files using dmenu, utilizing gtk-launch?

    Posted: 28 Aug 2021 04:59 AM PDT

    OS: Artixlinux x86_64 with openrc

    Using i3-wm version 4.19.2.

    Hey. I have an application that I want to run using dmenu, specifically an .AppImage file, and I have somewhat succeded in that regard - I extracted a desktop file, put it in

    ~/.local/share/applications 

    folder , then symlinked it to

    /usr/bin 

    and I can launch it using dmenu. The problem is that whenever I try to launch it, it just opens the desktop file itself as text on my browser. Here is the file in question:

    #!/usr/bin/env xdg-open [Desktop Entry] Name=RuneLite Comment=Launcher for RuneLite client Exec=/home/miuzore/.local/bin/RuneLite.AppImage Icon=runelite Terminal=false Type=Application Categories=Game; 

    I get the issue - the first line says to open the file with xdg-open and if I do that via terminal I get the same result as if I opened it with dmenu, that's so be expected. The application launches normally though if I open via the command

    gtk-launch runelite.desktop 

    and that's what I need help with. How do I launch the application using gtk-launch through dmenu?

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

    Low disk space on Filesystem Root on Ubuntu 20.04. What should I remove?

    Posted: 27 Aug 2021 07:16 PM PDT

    How to find large unnecessary files?

    Output of df -h :

    Filesystem Size Used Avail Use% Mounted on udev 3.8G 0 3.8G 0% /dev tmpfs 781M 2.2M 779M 1% /run /dev/nvme0n1p7 24G 20G 2.3G 90% / tmpfs 3.9G 180M 3.7G 5% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/loop0 33M 33M 0 100% /snap/chromium-ffmpeg/17 /dev/loop2 100M 100M 0 100% /snap/core/11420 /dev/loop4 100M 100M 0 100% /snap/core/11606 /dev/loop3 56M 56M 0 100% /snap/core18/2074 /dev/loop6 141M 141M 0 100% /snap/gnome-3-26-1604/104 /dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/102 /dev/loop7 296M 296M 0 100% /snap/obs-studio/1251 /dev/loop8 219M 219M 0 100% /snap/gnome-3-34-1804/66 /dev/loop9 51M 51M 0 100% /snap/snap-store/542 /dev/loop10 163M 163M 0 100% /snap/gnome-3-28-1804/145 /dev/loop11 1.2M 1.2M 0 100% /snap/gnome-clocks/433 /dev/loop12 62M 62M 0 100% /snap/core20/1081 /dev/loop13 302M 302M 0 100% /snap/obs-studio/1258 /dev/loop1 56M 56M 0 100% /snap/core18/2128 /dev/loop14 66M 66M 0 100% /snap/gtk-common-themes/1515 /dev/loop15 62M 62M 0 100% /snap/core20/1026 /dev/loop16 2.5M 2.5M 0 100% /snap/gnome-system-monitor/163 /dev/loop18 2.5M 2.5M 0 100% /snap/gnome-system-monitor/160 /dev/loop17 244M 244M 0 100% /snap/gnome-3-38-2004/39 /dev/loop19 242M 242M 0 100% /snap/gnome-3-38-2004/70 /dev/loop20 219M 219M 0 100% /snap/gnome-3-34-1804/72 /dev/loop21 6.4M 6.4M 0 100% /snap/gnome-clocks/375 /dev/loop22 296M 296M 0 100% /snap/vlc/2288 /dev/nvme0n1p1 296M 31M 266M 11% /boot/efi /dev/loop25 51M 51M 0 100% /snap/sublime-text/106 /dev/loop23 51M 51M 0 100% /snap/sublime-text/102 /dev/loop24 100M 100M 0 100% /snap/wine-platform-3-stable/11 /dev/loop26 65M 65M 0 100% /snap/gtk-common-themes/1514 /dev/loop27 165M 165M 0 100% /snap/gnome-3-28-1804/161 /dev/loop28 296M 296M 0 100% /snap/vlc/2344 /dev/loop29 74M 74M 0 100% /snap/wine-platform-3-stable/10 /dev/loop30 304M 304M 0 100% /snap/wine-platform-5-stable/16 /dev/loop31 338M 338M 0 100% /snap/wine-platform-runtime/233 /dev/loop32 51M 51M 0 100% /snap/snap-store/547 /dev/nvme0n1p9 31G 19G 11G 65% /home /dev/loop33 216M 216M 0 100% /snap/wine-platform-5-stable/13 /dev/loop34 338M 338M 0 100% /snap/wine-platform-runtime/234 /dev/loop35 65M 65M 0 100% /snap/stickynotes/950 tmpfs 781M 44K 781M 1% /run/user/1000 

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

    Hard drive completely full - I cant login anymore

    Posted: 28 Aug 2021 09:10 AM PDT

    Hey dear linux-loving fellows,

    I installed Linux Mint months ago on my PC and it worked flawlessly till yesterday. The hard drive was quite full (cause its not that big) but there were several GB left.

    Yesterday came a warning that there was no byte left and the explorer said so too (on the bottom of the window). Seeing this I deleted (not just moved to the bin) several bigger files (one of them 7GB) but that didnt change the situation at all (it still said 0 bytes left). I thought maybe reboot it but then I couldn't log in anymore.

    So I booted into recovery mode, deleted some old header with the clean option and I could log in again. But the space of my disk was still not free (from the 12+GB deleted files). Then some process (not sure what but I think an update) again ran the disk full again and I thought ok then, same process again but this time i couldnt boot into the recovery mode again (doing exactly the same I did before when it worked).

    Today I tried to use a live-usb to delete some files "remotely" but even from the usb the space didnt show up as free space even though I deleted files.

    Now I dont know what to do. Is there any way I can get access to my files at least?

    A third problem I encountered was that I tried to move another 7 GB file to a USB (to free up even more space) but the process first slowed, then halted at about 50% and an error message said the file was too big. Is there something I can do about this too?

    So I'm left with these three questions:

    • How can I log in again to access my data?
    • Why arent deleted files freeing up space?
    • Why can't I copy bigger files to a USB?

    I know this is a big mess and probably 100% noob stuff but I would be so grateful if someone could give me at least some tips to access my files which I need urgently.

    Thanks in advace for answers and have a nice day :D

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

    How do I write a script that opens a terminal emulator instance upon execution?

    Posted: 28 Aug 2021 04:57 AM PDT

    I've decided to write my first ever bash script. It installs a network card driver that I use. It installed fine, but I missed seeing the exact progress in a terminal. Is there a way to write a script in a way that it displays the exact step and progress in a terminal just as if I punched in the commands myself? I executed it, and then just restarted when I felt like it's probably done building and installing the driver, which felt a bit weird.

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

    What is dbus-launch?

    Posted: 28 Aug 2021 12:40 AM PDT

    I use Linux Mint. I switched from Cinnamon to i3wm a few weeks ago and I'm loving i3wm.

    Now, when I run gnome-disks on the terminal, it takes about 9 to 20 seconds to open gnome-disks. But when I run dbus-launch gnome-disks, it takes less than 2 seconds (sometimes it doesn't even take a second) to open gnome-disks.

    So, what's dbus-launch? And Why does it take so long to open some GNOME programs without dbus-launch on i3wm?

    Thank you! :)

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

    Linux mint to Pop OS

    Posted: 28 Aug 2021 08:08 AM PDT

    Hi, I'm thinking about switching distros, I've been using Linux Mint and I'm looking to switch to Pop OS, do you think it's a good switch? Any tips?

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

    Bootable usb.

    Posted: 28 Aug 2021 11:33 AM PDT

    Hello all.

    Looking to create a multi bootable usb with ventoy. I have an old laptop that I'd like to keep windows on but also be able to try a few Linux distros.

    My main question is. Will my changes to the OS stick? So if I boot Linux lite from the usb will I be able to go back to it later with all my saved files etc ?

    I'd like to get used to Linux before fully committing and eliminating windows. I'd also like to be able to switch back and forth between windows and Linux if I need to.

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

    cron job question

    Posted: 28 Aug 2021 11:22 AM PDT

    trying to get crontab job to download daily podcasts - this is what i have in the crontab file but it's not working as i thought it would

    i can execute the commands at the command line without issue (will update the podcasts, then download them) would like this to happen from the crontab, but it doesnt execute from the crontab file, why, what am i missing/not understanding?

    thanks for any help

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

    What would be a good window manager for me?

    Posted: 28 Aug 2021 07:36 AM PDT

    I want a tiling window manager that has this characteristics Can resize windows with mouse, Manual window management, Easy to configure, Under 220 MB of ram used

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

    I need help with partitioning. Dual booting.

    Posted: 28 Aug 2021 11:10 AM PDT

    So I want to install Kubuntu. I have an SSD with 240GB and an HDD with 1TB of space. I have already experienced installing Linux, but the confusing thing is about partition since I'm dual booting. I've searched about it, but there are different answers that's why I'm so confused. I want to install Kubuntu on my SSD. I'd give it at least 30GB of space.

    From Ubuntu's wiki, it says Ubuntu will use 2 partitions at a minimum. It didn't mention EFI partition. Does that mean I don't need to create a partition for that? It's one of the most confusing thing to me when installing Linux. I've seen answers where I don't have to do anything with the "Device for boot loader installation" since Ubuntu automatically chooses the EFI partition of Windows. And those answers were like 3-5 years ago so I don't know if that is still the case. Here's what I'm trying to do.

    30GB of space will be used by root and swap. I don't have to create a /home partition since I have an extra 1TB HDD. I don't need an EFI partition since there's already an existing one. What do you guys think?

     

    Edit: I have 8GB of RAM. Do I still need swap? My BIOS Mode is UEFI.

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

    Help making a script to pull time from a webserver

    Posted: 28 Aug 2021 11:07 AM PDT

    I am attempting to pull the time from a webserver to update my system time regularly. This is what I have so far:

    date -s "$(curl --head google.com | grep ^Date | cut -d' ' -f2-)

    And it works perfectly.

    But now I want to ensure I have internet connectivity first (or else my time is set to 12:00:00)

    I was trying something like:

    _response='curl --head google.com' If _response=' (6) Could not resolve host: google.com' then exit else date -s "$(curl --head google.com | grep ^Date | cut -d' ' -f2-)

    But I am receiving a parse error that I cannot figure out. Any suggestions or perhaps "prettier" ways of accomplishing this?

    Thanks for any pointers!

    EDIT: Thanks to the input and a little more research I have this code now:

    ``` ping -q -c 1 1.1.1.1

    if [ $? -eq 0 ] then date -s "$(curl --head 1.1.1.1 | grep Date | cut -d' ' -f2-) exit 0 else echo "Failed" >&2 exit 2 fi ```

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

    Please Help me with my linux problem.

    Posted: 28 Aug 2021 10:54 AM PDT

    I have several computers on which I use POP OS. I like it a lot. But I have packet manager issues constantly when I try to do updates, and I have to reset a lot. Is there some kind of maintenance regiment or setup that I am overlooking? I have fixed it before but it seems like it always comes back.

    The following two issues may or may not be related to not being able to update properly. My 1 laptop which is an old macbookpro which has an i7 and 8gb of ram constantly will go up to maximum memory usage and freeze, or the internet will need to be turned off and on. I have to reset the entire computer basically every half hour when using it. Yes I have a lot of tabs open and when I close some it seems to go down but it is an issue regardless. I like to keep tabs open in my browser so that I remind myself about things I need to do when I see them. All my other reminders and to do lists are too diluted but if there is an app someone could recommend I could try that. I did manually install the wifi card driver when I first booted it so that may be related to the wifi which stops working.

    My main computer which is a desktop usually works pretty good. I set up file sharing on it so I can put all my important files on that one but it doesn't connect anymore. I cannot access the shared folder from either computer it loads a long time and gives me an error.

    If anyone can offer a more user friendly computer setup I would appreciate it. I can backup my files to hard drives and start from scratch on better linux distros if necessary. Thinking maybe a lightweight version or thin client on the laptop and some type of server OS on the desktop so I can keep all my files on it. I just like to use my laptop on the couch all the time. Or maybe there is a setting or I am just neglecting my updates for too long and I need to resolve that. I would like to find a good way to synchronize whats on my computers without a headache.

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

    So where would i find those

    Posted: 28 Aug 2021 10:54 AM PDT

    Automatic Themes for Ubuntu?

    Posted: 28 Aug 2021 06:56 AM PDT

    Is there an option to get automatic themes like macOS? light (or standard) in the day and when night comes it turns into dark mode.

    is there an option for this?

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

    Im fearing my webcam has been hacked.

    Posted: 28 Aug 2021 10:34 AM PDT

    Distro: Pop_OS (its a ubuntu based one)

    Title. In my younger days i definitely downloaded all sorts of random crap and visited lots of shady websites on windows but then i resetted some months back and did a lot of malware scans which didnt find anything so im assuming im safe. Then I heard about linux and how cool (wow epic) it was and moved to it.

    But over a few days im suspecting my camera has been hacked but im not fully sure. I have this issue with chrome where the screen just randomly flashes white and idk if im just noticing that happening when the entire screen is not fully in focus of my eye or if im seeing my webcam light turn on cuz i think im seeing it more towards the top of the screen. Anything i can use to check if im being hacked??

    And also im only noticing this a week after i switched to linux. Nothing like this happened when i was using windows. And i dont think i installed anything weird.

    Only things i installed using terminal was gufw by sudo apt-get install gufw

    Other than that i only used the pop shop and some other trusted apps from its source.

    And i think im noticing this happening around the same hour almost every day.

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

    What is the easiest to use distro for an elderly person?

    Posted: 28 Aug 2021 01:44 AM PDT

    My aunt is in her 80's and her 5-year-old Windows PC is slow as hell and loaded with bloatware. So I want to load up the easiest to use distro for her on my laptop that I want to give to her.
    Any suggestions? The internet in the town she lives in is sloooow; 2.5mbs and that's the best in her town. Hopefully something that I can log into and help her with any tech issues, if possible.
    I'm currently using MX 18.3. I know, but I'm waiting for 20 before I install.
    Thanks!

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

    Can't boot into Windows

    Posted: 28 Aug 2021 09:54 AM PDT

    Hello,

    I used to have this running fine, but for some reason after my latest reinstall I can't get it working again. I tried installing Windows 10 first and then Fedora, but then I could not boot into Windows. And then I wiped my drive, installed Fedora first, and then Windows 10. Again, I could not boot into Windows.

    Grub does not find Windows. I did run os-prober in both sequences, but nothing. I also mounted the volume with Windows installed on it before running os-prober, but still nothing. Any ideas?

    P.S. Yes I know, not booting into Windows is not a problem, it is a solution. But, I want to play video games.

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

    Mouse cursor goes to the second monitor while on fullscreen game

    Posted: 28 Aug 2021 09:50 AM PDT

    i'm playing minecraft and sometimes the mouse cursor just goes the second monitor when i turn right on the game and i have no idea why, please someone help me with this.

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

    How to configure APK on Alpine / PmOS

    Posted: 28 Aug 2021 09:19 AM PDT

    Unfortunately I was not able to find anything about a config-file in the apk-manual or in the /etc/apk directory.

    Is there a way to configure apk? Specifically I'd like it to always run in interactive mode and list packages before installation / upgrades.

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

    Investigating outgoing connections in the UFW logs (firewall)

    Posted: 28 Aug 2021 09:18 AM PDT

    Hello Reddit,

    I would be grateful for any help in respect of the following two things:

    1. Finding information about the source of outgoing connections appearing in my UFW (firewall) log.
    2. Improving my approach to checking firewall logs to identify unusual entries.

    I have a PC with Linux Mint 20.2 (Uma) installed. I use it as a media server and also a torrent seedbox. It sits on a home LAN behind the gateway/router provided by my broadband supplier.

    Everyday, I SSH to the Mint PC from my main computer and check the UFW.log to see what has been happening since I last looked.

    This is the command I use:

    cat ufw.log | grep -v '192.168.1.99\|SPT=53227\|AUDIT\|DPT=123\|255.255.255.255\|224.0.0.22\|192.168.1.255\|8.8.8.8\|8.8.4.4\|178.132.0.132'

    I use grep in this manner because I find that I can exclude entries in the UFW log that I have previously investigated and found to be normal/regular. Thus, the command produces a concise output that identifies any outgoing connections that the firewall has allowed which may be unfamiliar to me.

    Because I am trying to learn both linux and networking at the same time, both the method of searching the UFW log and the results of the search are of interest to me (hence items one and two at the start of this post).

    This brings me to the second of the two points at the start of the post: is this a reasonable use of grep in the circumstances?

    If not, what is the better way to check my firewall through the command line without having to sort through reams of entries that I know are safe and are of no concern to me.

    I should add that I copy and paste that grep command to the terminal window, so I am not entering it in full each time I use it. I suppose I could set-up an alias to do the same thing, but my question is more concerned with the use of grep or whether there are better tools to do the same thing from the command line.

    Addressing the first point at the start of this post, I have noticed that the firewall has recently allowed many frequent outgoing connections to 185.162.184.6, which is a host called Bitesized.

    I have seen similar outgoing connections to Google servers and, after some research, I think these represent installed apps calling the mothership (server) to see if there are any updates, or something along those lines - as stated above, I am trying to teach myself about such things so I am not 100% sure of this.

    Rather than assume that those outgoing connections to Bitesized are benign, I move to the /var/log directory and use the following command to see whether this IP address appears anywhere else, other than the UFW logs:

    grep -R 185.162.184.6 | grep -v UFW

    The aim here is to try and establish which app is initiating that outgoing connection, or at least try and gather more information as to what it can be.

    Among the output of that grep command in the terminal, these items stand out (there are several similar results and I am showing just a few here for brevity):

    Binary file journal/61f22c5f670f40d78231ac18132213cb/system@f5ca1d3a71bf4815bc4f79419966199b-00000000001cac2d-0005c6c119aee93f.journal matches

    Binary file journal/61f22c5f670f40d78231ac18132213cb/system@0005c81ef1088004-7d31f9b4ecc593cb.journal~ matches

    Binary file journal/61f22c5f670f40d78231ac18132213cb/system@f5ca1d3a71bf4815bc4f79419966199b-000000000017393f-0005c54397a15cd8.journal matches

    This is my second question: is there anything those entries call tell me more about the process that appears in the UFW logs and how do I go about investigating further.

    I hope this makes sense. I would appreciate any advice offered, whether your own methods or criticisms/suggestions regarding mine.

    Many thanks in advance.

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

    Is there a way to upgrade to the latest version of "Raspberry Pi OS Lite" without losing my configurations?

    Posted: 28 Aug 2021 09:11 AM PDT

    I've pretty much just got my Pi setup as a dns server using PiHole, and there really isn't much to configure, but just for the sake of knowledge, is there a way to upgrade the OS using the .img file, or am I basically going to have to flash the sd card again and then download/install all the packages I had before?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel