[–] [S] 3 points 2 days ago

I thought everything was good when I out it together. I don't know how to do a better job. It was very difficult to put back together so I could just make it worse with another attempt. If it is possible to do some reconnaissance in advance then I will prefer that.

  • source
  • parent
  • context
  •  

    My purely debian-family Linux Chromebook has been acting weird lately. I suspect that maybe when I replaced the internal battery a while ago, some of the connections inside might not have been put back properly because it was very difficult to reassemble. I was very careful but totally possible I made an error because I'm not too experienced with that. All the little ribbons and clips were so fiddly.

    Is there a way to monitor for loose connections from the terminal? Some kind of log entries that would be clues? I just am looking for the basic info here, don't feel anything is too obvious!

    Problems I'm having are like pauses of unresponsiveness, and a lot of confusion about the power (battery vs ac, full vs empty, plugged vs unplugged). Bluetooth has become less reliable also. Generalized poltergeist type behavior.

    Edit: I have confirmed a hardware problem. Pressing the keyboard and the bottom plate together around the power-in helps. So something is loose in there.

     

    Is there a way to permanently hide certain bluetooth devices showing up on scan, like when using blueman-manager? I want to hide them from the list, forever.

    It is densely-populated around here and the list of found devices is long. I want to just remove the clutter of my neighbors weird appliances and devices. I am always nervous that I will accidentally connect to someone else's device.

     

    I am trying to use find (or a similar tool, I also really like fd)

    • to locate directories matching the query

    • only those directories which are the deepest match

    • the target directories are not all the same depth, so -maxdepth or -mindepth can't do it

    • it would be the opposite of -prune

    Given the below directory tree, looking for directories with "red" in the name, the ones with Yes should be the matches:

    $ tree
    .
    ├── blue                = n
    ├── green               = n
    │   ├── red-apple       = Yes
    │   └── red-book        = n
    │       └── red-pen     = Yes
    ├── red                 = n
    │   └── red-strawberry  = Yes
    │   └── 
    └── yellow              = n
        └── basket          = n
            ├── flag        = n
            │   └── red     = Yes
            └── painted-red = Yes
                └── wagon   = n
    

    So "red-book" does not match because it contains a subsequent match ("red-pen"). But it's OK to have a deeper non-matching directory (like "painted-red").

    This is my basic command which finds 2 unwanted items:

    $ find . -type d -name "*red*"
    ./green/red-apple
    ./green/red-book
    ./green/red-book/red-pen   # wrong
    ./yellow/basket/flag/red
    ./yellow/basket/red
    ./red                      # wrong
    ./red/red-strawberry
    
    [–] [S] 2 points 4 months ago*

    Thunar file manager has volman. You can use it to manually unmount, including binds, but I'm not sure how to trigger it to know about them automatically. It's an extra step because it has to read the rest of the fstab file to find any dependencies and I don't know why it would do that.

    I updated the OP to show my fstab

  • source
  • parent
  • context
  • [–] [S] 1 point 4 months ago (1 child)

    Thanks, I am OK with issuing a command before physically unplugging the device. I was just finding too many uses of the word "mount" because it's a verb, a command and a noun in this situation lol. I added my fstab to the top so you can see that I am actually using a bind mount.

    I investigated symlinks as an alternative and for some reason decided against them. One thing I like about bind mounts is that there is always a backup directory in the location, so if the USB isn't plugged in, accidentally saved files don't just fall into the void. But I don't remember if that was the reason.

    I could write some kind of script but I thought it would make more sense to see if something had already been developed because usually in Linux, it has been.

  • source
  • parent
  • context
  •  

    I have bind mounts configured in my /etc/fstab. The source (i.e. where the files physically exist) is on a removable USB drive.

    Right now it works but I have to mount/unmount everything individually when I plug/unplug the drive. I would like to be able to have the bind mounts follow the state of of the USB drive automatically.

    Is there a way?

    Edit here is relevant section of fstab:

    /dev/mapper/external-crypt	/mount/external		auto	nosuid,nodev,nofail,x-systemd.device-timeout=5	0 0
    /mount/external/realfolder	/home/user/folder	none	bind,nofail	0 0
    

    So when I run sudo mount "/mount/external" I want sudo mount /home/user/folder to be implied; likewise for umount.

    Limiting resources sounds cool. I wish I could at least determine why Firefox sometimes goes out of control eating everything. Setting a resource limit per page would be good too. Sometimes my whole computer is ground to a halt, but closing a single tab fixes it. Often not a page that is obviously doing much. Certain ecommerce sites are frequent culprits. Doing something in the background.

    Firefox can tile two pages now: https://blog.mozilla.org/en/firefox/split-view/

  • source
  • parent
  • context
  • [–] 2 points 6 months ago

    After being told (at length) the answer was in the very long complex documentation, I said I had tried to find it but couldn't piece it together. And posted some of the sections I had looked in. Then my interlocutor said there is no reason why I should want to do such a thing.

    "Please mark your thread as SOLVED."

  • source
  • parent
  • context
  •  

    I having a hard time updating my arch-based computer because the downloads are so painfully slow. It takes hours and hours. Eventually some kind of error happens and Ive already left my computer to do something else so the task times out. Or download stalls to nothing and the process kills itself.

    I have already adjusted the settings in yay to be more tolerant of slow connection, but can hardly ever manage to complete the upgrade. And the longer you wait, the more updates there are.

    Does anyone else have this issue? I don't have a great connection but this is ridiculous. I do have a VPN running on router. This could be affecting it as github in particular seems to make downloads a slow trickle on certain VPN endpoints but lately I can't find any that satisfy it.

    I start at least 1 upgrade task every day, sometimes multiple attempts but I have only had 1 successful full system upgrade in the past 2 or 3 weeks.

    view more: next ›