Recent content by digitaltrails

  1. digitaltrails

    multiple monitors not being detected [Resolved, thanks]

    I googled Bee-Link ser7. According to the current website it's a Ryzen 7 with a AMD Radeon 780M GPU. I don't have any knowledge about AMD GPUs. Further goolging of Linux AMD Radeon 780M GPU does seem to indicate that they may have some extra driver installation requirements which might apply...
  2. digitaltrails

    multiple monitors not being detected [Resolved, thanks]

    This seems to indicate X11 has only detected one display, and both xrandr and KDE aren't aware of any other connectors for additional monitors. No connectors are listed, no HDMI, no Display-Port. That seems strange, maybe Bee-Link hardware requires a more recent OS or kernel than you are...
  3. digitaltrails

    multiple monitors not being detected [Resolved, thanks]

    If you are using X11 (not wayland), what was the output from xrandr? It's possible to use xrandr to configure multiple monitors. For example, here is the output from xrandr for my desktop: % xrandr Screen 0: minimum 8 x 8, current 7200 x 2160, maximum 32767 x 32767 DP-0 connected...
  4. digitaltrails

    multiple monitors not being detected [Resolved, thanks]

    A few thoughts: 1. If you're using X11, then the xrandr command should report what displays are connected. If it reports all three, that rules out anything close to the driver or hardware. 2. Perhaps something is fouled up for this user. You create a new user and see if that login works...
  5. digitaltrails

    multiple monitors not being detected [Resolved, thanks]

    What's the GPU and GPU driver? That might cast some light on the issue. For example, if you happened to be using the Nvidia proprietary drivers with Xwindows, you might need to enable the additional displays in the nvidia-settings application.
  6. digitaltrails

    Why are there no easy ways in Linux to retrieve system information?

    Same underlying data, but massaged differently for different purposes - as it should be.
  7. digitaltrails

    Why are there no easy ways in Linux to retrieve system information?

    Been there, done that, it's a right of passage :cool: Python psutil along with pyqt makes this kind of stuff straight forward enough. With this utility all processes are shown. Each process is a colored dot indicating the owning user. That's unless a dot is temporarily bright red, which...
  8. digitaltrails

    Why are there no easy ways in Linux to retrieve system information?

    I think we've come full circle. The OP was asking why it was necessary to trawl a file hierarchy and parse text files. If one is already coding in C/C++ it can seem a waste of resources to have to trawl this stuff and turn it back into integers, lists, trees, ...
  9. digitaltrails

    Why are there no easy ways in Linux to retrieve system information?

    Anyone can write an virtual filesystem. There's even a File-system-In-User-Space (FUSE) module for writing a filesystem without having to work inside the kernel. Actually getting something accepted into kernel official source would be pretty hard work. You'd need to sell it right, write it...
  10. digitaltrails

    Solved Is there a way to display the result of a command on the same line?

    If you're just targeting echo, it has a -n (no newline argument): echo -n 'hello'; echo ' world' But yes, as already suggested, embedding the output into a string $() or the more older option of back-quotes a more general solution. echo "currently at $(pwd) and the date is $(date)" echo...
  11. digitaltrails

    Why are there no easy ways in Linux to retrieve system information?

    Yes, this is the UNIX way. There are advantages: One common simple means of access - the file API. The info is often human readable without additional software beyond standard tools such as cat, sed, and awk. File-based access permissions and conventions can be can be applied to many things...
  12. digitaltrails

    Today's article is about mounted partitions...

    It should probably be noted that some distributions load the driver responsible for /dev/sd*, sd_mod, as a module. This will make the assignment of drives /dev/sd[abc...] somewhat random between boots. On such systems, if /dev/sda is the currently assigned to the root drive, after a reboot it...
  13. digitaltrails

    How to shorten first line characteres in multiple files

    You'd have to start with the original files and capture a bit of each match so you can append .chr1 onto it: sed 's/>Vibrio_cholerae_\([^\W]*\)/>\1.chr1/' The \( \) enclose a capturing group that follows Vibrio_cholerae_. The group to be captured is [^\W]*, which is to say a set of...
  14. digitaltrails

    Brightness and contrast control for desktop monitors

    Oh, OK. Using xrandr to squish the brightness toward one end or the other of a fixed physical backlight brightness effectively cuts the dynamic range available to X11 - effectively providing less bits to distribute the color over. Where as using DDC to adjust the backlight just shifts the...
  15. digitaltrails

    Brightness and contrast control for desktop monitors

    Exactly so - I did deliberately say "I won't directly benefit..." :)
Top