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

Powered by : @r_channels
Download Telegram
Easy to use Remote filesystem noscript mounting tool

Hi guys, some months ago, I wrote a small bash noscript to simplify the use of sshfs and fuse, in the process of mounting in my ubuntu local machine remote file systems.

I call it kmountssh and after installing it (also I wrote a sh installer noscript for ubuntu 18.04) you can just type and run something like:

$ kmountssh -h="[host\]" -u="[remote user\]"

And it will do the necessary to mount the remote filesystem.

Also, to display a detailed list of available options params you can always use:

$ kmountssh --help

The noscript, and the installer for ubuntu18.04 (it should also work in ubuntu19.x and beyond, provably also in Debian > 9.x) its available at:

https://github.com/lemyskaman/kmountssh

Hope it came as useful as it is to me, and if it does pleas comment :) cheers

https://redd.it/ks4c4s
@r_linux
Grub Windows 10 time keeps resetting to Greenwich time

Hello, I use Windows 10, and Ubuntu 20.14.1. LTS, Grub used for choosing OS while booting.

I have been experiencing occasional resetting of Windows time to GMT-0.

Why is this happening, and how do I set up to make sure the local time is kept for Windows 10?

https://redd.it/ks7az4
@r_linux
Questions about the /run/user/1000 directory

Why files in my home directory seem to be synced to the /run/user/1000 directory? Some images I downloaded are there. Can someone explain me the relationship between the /run/user/1000 directory and home directory?

https://redd.it/ks6koq
@r_linux
Does anyone have any news of HDR on Linux?

It has been many years since HDR became an important feature of displays, but I haven't seen Linux to do anything to support it, it seems like they have given up on HDR, maybe some of the developers here know what happens?

https://redd.it/ks8er5
@r_linux
My tabs disappear from the task bar on mint

I am very new to Linux just recently installed mint but recently when you open a tab in my laptop it doesn’t show up on the task bar so it is impossible to close it if you minimize it is there any way to fix this thanks to anyone who replies

https://redd.it/ks6het
@r_linux
Experimenting with colour managed applications, the case of Eye of Gnome and Shotwell

Greeting fellow Linux users!

​

*Dear mods, I tried posting to* r/linuxquestions *, but "Videos and images are not allowed". Maybe this will fall under Rule 5 "Relevance to this community". Let me know if it does not*.

​

TLDR:

1. Shotwell is apparently not colour managed, and yet, it displays the pictures in aRGB and sRGB differently. To my knowledge, this information is stored in the embedded ICC profile, no?
2. Eye of gnome clearly reads the embedded profile, in both jpg and png. How is that it displays both sRGB and aRGB images the same way? Does that mean that a colour managed application is able to convert any input profile to the system profile, using both the embedded profile (indicating what the original colour space is) and the system profile to render it properly?

​

​

Long version:

I have a question regarding color management and colour spaces (sRGB and AdobeRGB) and how Eye of Gnome (eog) & Shotwell deal with them.

I recently (re)dived into the topic and after exporting a picture I edited with Darktable in sRGB & aRGB, I decided to compare eog and shotwell to have an idea on how it would look on a different computer. *Note that I have a wide gamut monitor, calibrated and profiled using benQ palette master element and displaycal.*

Here are my results:

**PART I**

eog on the left, shotwell on the right. aRGB top, sRGB bottom, centre darktable preview in sRGB

[eog on the left, shotwell on the right. aRGB top, sRGB bottom, centre darktable preview in sRGB](https://preview.redd.it/vgacu2o5fi961.png?width=1915&format=png&auto=webp&s=b8206a2db281a0335c87e372a2388c1a29b7fd66)

​

Observations:

* sRGB (centre pic) look more saturated than the others because I took this screenshot on a wide gamut monitor with the relevant profile.
* both pictures on the left look the same with eye of gnome, despite one being saved in sRGB and the other in aRGB
* shotwell displays the pictures differently. Conclusion: shotwell knows the difference between sRGB and aRGB. It means, it must be reading the embedded icc profile, right? (more on that later)

​

**PART II**

Same as above, only difference is the central picture is now displayed using the system profile.

eog on the left, shotwell on the right. aRGB top, sRGB bottom, centre darktable preview using system profile

[eog on the left, shotwell on the right. aRGB top, sRGB bottom, center darktable preview using system profile](https://preview.redd.it/jfngzbtdfi961.png?width=1907&format=png&auto=webp&s=ceb4411c44608010926dc60fe757b5b2c806c0b3)

Observations:

* The picture in the centre looks like those displayed on the left, ie by eye of gnome, right? Conclusion, eog can now use the system profile to render a picture.
* Note, that I also did this test with Geeqie, and I get eog results if I enable colour management in the menu VIEW > COLOUR MANAGEMENT

​

**PART III**

Using test images to check if eog and shotwell read embedded ICC.

[test jpg and png using embedded profile. eog on the left, shotwell on the right](https://preview.redd.it/k4te02y9hi961.png?width=1128&format=png&auto=webp&s=1435d5ecb31f7cbbac5bb7eb2154b1c029e0efaa)

Observations:

* Well, the screenshot is pretty self explanatory, shotwell does not read embedded ICC profiles...

​

**QUESTION**:

Finally the question!

1. Shotwell is apparently not colour managed, and yet, it displays the pictures in aRGB and sRGB differently. To my knowledge, this information is stored in the embedded ICC profile, no?
2. Eye of gnome clearly reads the embedded profile, in both jpg and png. How is that it displays both sRGB and aRGB images the same way? Does that mean that a colour managed application is able to convert any input profile to the system profile, using both the embedded profile (indicating what the original colour space is) and the system profile to render it properly?

​

Thank you!

​

**Sources**:

* RAW from Anthony Morganti:
[https://www.youtube.com/watch?v=09OlTLUIXFU](https://www.youtube.com/watch?v=09OlTLUIXFU)
* Test images from DisplayCAL website: [https://displaycal.net/icc-color-management-test/](https://displaycal.net/icc-color-management-test/)
* My exported jpg in adobeRGB: [https://plik.root.gg/file/ce7iutZUAAHONN39/TtwBfWZbh7Q2d6X7/\_DSF0731\_aRGB.jpg](https://plik.root.gg/file/ce7iutZUAAHONN39/TtwBfWZbh7Q2d6X7/_DSF0731_aRGB.jpg)
* in sRGB: [https://plik.root.gg/file/ce7iutZUAAHONN39/EDA7nezBcR4e5pns/\_DSF0731\_sRGB.jpg](https://plik.root.gg/file/ce7iutZUAAHONN39/EDA7nezBcR4e5pns/_DSF0731_sRGB.jpg)
* Note that this upload will expire on 2/4/2021 at 1:01:36 PM UTC-0
* eog 3.38.1-1 & shotwell 2:0.30.11-1

https://redd.it/kqyg55
@r_linux
Using a different distro each year

I don’t know if someone has done this before but:

What would be the benefit of changing ones main machine Linux distro per year?

Say I for the next 5 years, I use a different Linux (or Unix idk) distro for a year. Then report back what certain aspects of using the distro were beneficial or different from other distro, or couldn’t do but could do in other distros...

Like Ubuntu would be the easiest and most supported distro for many things

Versus using fedora or Linux mint and seeing if those will run docker or kubernets

I just thought if someone wanted to bathe in the Linux pool and take a dive in each one to see what kind of rides or slides that each distro gives the user.

https://redd.it/kr05t2
@r_linux
New in Linux - question about RAM usage

I use Pop OS, switched from Win. I mostly do simultaneous tasks in Blender 3D, Davinci Resolve and Vmware Workstation Player. I noticed that RAM usage is great.

But what is the difference between Cache and Swap? This I don't understand based on Cache is used and when Swap is used.

Thank you for explaining.

https://preview.redd.it/fuulhbq1bw961.png?width=1716&format=png&auto=webp&s=0ef10f054406bed5d216c080398ffe7b48460c94

https://redd.it/ksbge8
@r_linux
GNU Units: measurement conversions, general-purpose scientific calculator
https://www.gnu.org/software/units/

https://redd.it/ksclqg
@r_linux
Releases for KDE software in January include KIO Fuse, an add-on that lets all applications like LibreOffice access remote files safely as if they were local; bugfixes; and new apps MyGNUHealth, KGeoTag and Kongress
https://kde.org/announcements/releases/2021-01-apps-update/

https://redd.it/kscuer
@r_linux
Moving to Linux (maybe), Proton Compatibility and Programing from Linux.

Long story short, i've used Ubuntu about... 11 years ago and i liked it. But windows kept me hostage because i just like games so much.

I'm upgrading some pc parts this week, and i'm going to format my pc, i'm deciding if i'll keep using Windows 10 or if i'll move to Linux.

Question1:

I'm starting a college course to learn programming in a couple of weeks. If i code something on Linux will it be difficult to run on Windows 10?

Question2:
The vast majority of my games are on Steam or Itch.io and i've heard about Proton, and how it can make a lot of games run on Linux without an issue. Is there any way to check on steam which of my games will be able to run on proton? I'm fine if a couple of my 556 games won't work atm. But if MOST of my games won't run that'll be a problem.

https://redd.it/ksezm9
@r_linux
Search within Zathura PDF

Over the past couple days, I've been working on building a new, more personalized note-taking setup using vim similar to the method explained in this video:https://www.youtube.com/watch?v=wh\_WGWii7UE&t

Halfway through the video, nixcasts (aka connormcd) shows they're making use of a Linux-based pdf viewer called Zathura. So far, I've read a little about how Zathura's nice as a PDF viewer if you're interested in navigating through pdf docs using Vim key-bindings. While that's really cool, I'd also like to find out how well Zathura supports searches through PDF text.

Can any existing users of Zathura comment on how well / how fast Zathura can search through pdfs? As a Mac user, I'm basically only familiar using Adobe DC reader for working with pdfs where search is... depressingly slow. Though I recognize searching pdf text is something that may be more of a problem inherent to working in the pdf standard rather than more easily indexed plaintext. In short, since search is a pretty important feature for my needs, I just want to know if programs like Zathura, etc. are any faster at executing search.

Also, as a Mac user, I realize there would be certain major obstacles to getting started with a program like Okular, so that's not really an option I can easily entertain. Plus I'd like to be able to actually start working on and thinking about my notes, not messing around with KDE installations and then working through an abstract, personalized Vim configuration. My time is unfortunately pretty limited.

https://redd.it/ksg1fi
@r_linux
Why would you choose Linux over Windows or MacOS

I've uses Linux because of the challenge of it and because I like working with minimalistic graphical interfaces. I recently had an argument with a mate who insits on MacOS and I wondered what other arguments beside that it's open source are in the favour of Linux.

I know there are some security and data policy related issues and it also uses less ressources than for example windows. Maybe you guys know some ,,hard" facts why to choose Linux over Windows or MacOS.
Maybe you can also provide some links?

https://redd.it/kshsnu
@r_linux
Discussion for the video editors out there. Any favourite editing software, distro, DE for editing?

Hi, just wondering what is your opinion/experience with Linux video editing softwares, your favourites?
Do you think there is an optimal distro/DE for editing /the program you use?
I'm quite new to Linux...
What do you think?

https://redd.it/kserye
@r_linux
Installing Linux on MSI Creator 15.

Distro chosen: PopOs!

TL/DR: The install is pretty smooth.

​

1. I first followed the installation instructions on the System76 website. This gets me to the USB live install disk. Easy peasy.
2. First problem: the Kernel is not signed. Upon loading:error: /casper_pop-os_19.10_amd_intel_debug_191/vmlinuz.efi has invalid signature         error: you need to load the kernel first
3. Based on a quick scan of the issue (here and here), I need to turn off the secure boot option. WINUSB has a neat page for this (look at the end for MSI specific instructions).
4. With this correction, I get a black screen of death after the installation menu. I find about the issue here by googling "black screen after install menu". Easy: set bios to UEFI mode.
5. Kernel loaded. I'm in. I choose the complete install (don't care about Windows).
6. At the account setup page, pretty much everything fails: facebook, google, exchange. That's fine, I'll set it up later.
7. I chose my username/password combination: honeypot/easypass.

Thats is pretty much one of the easiest install I've had to do with a Linux distro.

https://redd.it/kqrjy2
@r_linux
I'm not new to programming, but Linux scares me a bit, and operating systems are my weak point. Any good learning materials out there?

As a quick background I recently graduated undergrad in computer engineering, more focused on CPUs and hardware. I have taken OS but understanding Linux still eludes me. I'm working with raspberry pi and trying to understand Linux along with my programming is rough. Any recommendations for resources that have high and low level denoscriptions of Linux and its commands?

https://redd.it/ksnsx2
@r_linux
nVidia 460 Long Lived Unic Driver Just Released!!!!!!!!!!!!!!!!!!!!!!!

https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-460.32.03-Linux
#
https://www.nvidia.com/Download/driverResults.aspx/168347/en-us
#
https://us.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/README/index.html
#
https://wiki.archlinux.org/index.php/NVIDIA
__________________________________________________________________________________

Release highlights since 460.27.04: With Official Vulkan Ray-Tracing

Added support for the following GPUs:

A40
T500
A100-SXM4-80GB
Added a new “NoInterlacedModes” token to the NVIDIA X driver’s “ModeValidation” option, to allow preventing interlaced modes from being validated. Refer to the “X Config Options” appendix of the driver README for further details.

Fixed a bug that could cause X clients to crash when closing display connections to the X server.

Fixed a bug that could cause the X server to configure DisplayPort Multi-Stream Transport displays in an inconsistent order.

Fixed an interaction problem with 5.4 and newer Linux kernels that caused a performance regression when allocating system memory.

______________________________________________________________________

NVIDIA today released the 460.32.03 Linux graphics driver as their first stable release in the 460 driver series.

Back before the holidays NVIDIA published the 460.27.04 beta Linux driver with firmed up Vulkan ray-tracing support and many other changes. The NVIDIA 460.32.03 driver out today is the stable version of that prior beta driver.

Thus with today's NVIDIA 460.32.03 driver are mostly of the previously noted changes including Vulkan ray-tracing in KHR form, NVIDIA RTX A6000 series support, Reverse PRIME Bypass, various other new Vulkan extensions added, VDPAU video acceleration improvements, experimental S0ix suspend-to-idle support, and many bug fixes.
- Added support for the following GPUs: RTX A6000
- Fixed a bug that could cause detailed timing information for displays with a large number of detailed timings to be truncated in the X log.
- Fixed a bug that prevented scaled display resolutions configured via the nvidia-settings control panel from being reported by RandR.
- Fixed a bug with the SLI Mosaic Mode configuration dialog in nvidia-settings that left displays enabled when they were not needed in the selected configuration.
- Added support for RandR rotation and reflection while using an NVIDIA-driven display as a PRIME Display Offload sink.
- Added support for "Reverse PRIME Bypass", an optimization that bypasses the bandwidth overhead of PRIME Render Offload and PRIME Display Offload in conditions where a render offload application is fullscreen, unredirected, and visible only on a given NVIDIA-driven PRIME Display Offload output. Use of the optimization is reported in the X log when verbose logging is enabled in the X server.
- Add support for the VK_KHR_acceleration_structure extension.
- Add support for the VK_KHR_ray_tracing_pipeline extension.
- Add support for the VK_KHR_ray_query extension.
- Add support for the VK_KHR_pipeline_library extension.
- Add support for the VK_KHR_deferred_host_operations extension.
- Removed the MetaMode string truncation warning for older X Servers when saving the X Configuration file from nvidia-settings.
- Add support for the VK_NV_fragment_shading_rate_enums extension.
- Fixed a bug where copying from an X11 pixmap to an RGB overlay window would exhibit corruption.
- Fixed an issue with VK_ACCESS_MEMORY_READ_BIT and VK_ACCESS_MEMORY_WRITE_BIT when used as part of a render pass.
- Add support for the VK_KHR_fragment_shading_rate extension.
- Add support for the VK_KHR_shader_terminate_invocation extension.
- Reduce host memory consumption for denoscriptor memory in cases where the pNext chain contains a structure of type
- VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO.
- Increased the default size for new OpenGL/Vulkan Shader Disk Cache location to 1024MB. Note that caches with paths containing "/.nv/ will continue to use the previous default of