My Linux Based Questions


 Share

Recommended Posts

It's not working.

UUID=12498dda-899a-4e48-9d6e-a5372340f3dd /media/Movies ext4 uid=1000,gid=1000,umask=0022,sync,auto,nosuid,rw,nouser 0 0

This was taken from an example I found..

uid=1000,gid=1000,umask=0022 do I need this...I see this no where on the archwiki page?

Also, I am user bman....should i be using nouser, or should I put user or users

** I ended up putting this

UUID=12498dda-899a-4e48-9d6e-a5372340f3dd /media/Movies ext4 sync,auto,nosuid,rw,nouser 0 0

And all mounted without issue.

Link to comment
Share on other sites

you don't need users because you want it to be open. UID=1000 means that it will be accessible for your user by default (unless overriding policies are set on files) and gid=1000 means that your users group will have access to. So it's more of a permissions thing. You could try and remove those settings, but you may run into permissions (mounted as root) issues.

What is not working?

Link to comment
Share on other sites

As I stated above.

With those details it would give error, I removed it and had only

UUID=12498dda-899a-4e48-9d6e-a5372340f3dd /media/Movies ext4 sync,auto,nosuid,rw,nouser 0 0 

And everything mounted without issue, my programs that use it are still working. So it's working.

Thanks guys.

Link to comment
Share on other sites

Wikipedia tells me that uid and gid and unmask are for FAT file systems only, which probably explains why they don't work.

If you want to simplify things, try simply using "default" option only (instead of specifying all the options like sync, auto, nosuid, etc manually), and see if that works. Then if it doesn't do what you want, adjust as necessary.

  • Like 1
Link to comment
Share on other sites

So I got a chance to reboot since doing all that, and everything worked fine, in terms of mounting.

But now, copying or moving files to these drives are VERY slow. A 1GB file would have taken 1 min or less (usually less), it's now like 15 minutes or something, ridiculous!

I am assuming it's the auto mounting that did something, but what could have caused that?

Link to comment
Share on other sites

Have you only experienced this with copying to the mount? Also what about copying from or creating a copy of a file on the mount inside the mount itself?

Link to comment
Share on other sites

I changed the code to "defaults" instead, rebooted and it's back to normal. Not sure which code was causing the problem but it's all good.

Link to comment
Share on other sites

My guess is because you specified "sync" writes, which you don't need for an internal drive. If necessary, you can further boost performance if you add "noatime" as an option, although it won't write "last accessed" times anymore. :)

Link to comment
Share on other sites

Yea see I didn't know that. That's what you get for copying stuff from the internet lol

And I was just reading up on noatime, sounds good, but what do you mean by "last accessed"? What exactly will change when using my system?

Also, can I keep defaults, and just add noatime beside it?

Link to comment
Share on other sites

Yes, you can just use "defaults,noatime" without issue. Basically, every time you read or write a file, a timestamp in the file inode will be updated. This means that you can view the time that the file was last accessed if necessary. The obvious downside of this is that every read is also a write, and this has a moderate impact on performance.

'noatime' will prevent these access timestamps from being written, which reduces I/O usage, which is good for performance. This is of course at the cost of the last-access time being updated, which can cause issues for some older email clients and such, which rely on the difference between last accessed time and last modified time to determine if an email is unread.

Looking into it though, Ubuntu has made "relatime" a default option for ext file systems since around 2010 anyway (see here), so you'd probably see no benefit from using noatime anyway. The defaults should be just fine ;)

An explanation of noatime vs relatime can be found here: http://linux.koolsolutions.com/2009/01/30/installing-linux-on-usb-part-4-noatime-and-relatime-mount-options/

Link to comment
Share on other sites

I don't think I have asked this hear, and haven't found a good solution anywhere else.

I have the xscreensaver setup and works great. The only issue is that it comes on even with full screen applications running.

Alright, I use VLC that disables it while its open, great,...uh no. The problem with that is even if I have that VLC window minimized or in the small size (not full screen) the screensaver is still disabled, stupid.

Also, that doesn't work for flash sites like you tube.

Any ideas?

Link to comment
Share on other sites

I don't think I have asked this hear, and haven't found a good solution anywhere else.

I have the xscreensaver setup and works great. The only issue is that it comes on even with full screen applications running.

Alright, I use VLC that disables it while its open, great,...uh no. The problem with that is even if I have that VLC window minimized or in the small size (not full screen) the screensaver is still disabled, stupid.

Also, that doesn't work for flash sites like you tube.

Any ideas?

The same happens on windows with VLC. I think it is a setting as it disables my windows screenwaver

Link to comment
Share on other sites

Yes, the setting I want enabled because it stops the screensaver from happening when watching videos, but it's like it's not smart enough to know that if I have it minimized I want the screensaver to work.

Link to comment
Share on other sites

Yes, the setting I want enabled because it stops the screensaver from happening when watching videos, but it's like it's not smart enough to know that if I have it minimized I want the screensaver to work.

I get that on Windows. If I have VLC Open the screensaver doesn't work. Even minimized or without a video loaded.

Link to comment
Share on other sites

A new problem, well not new but haven't posted about it.

This has happened before but let it go because it's only once in a blue moon.

Sometimes randomly the VLC Icon on Unity stops working, at first the minimize and restore feature of the button stop working, then eventually there is no icon at all.

I have to reboot to get it to work again. Sometimes it does come back and start working again, but most of the time no.

Ideas, can't seem to find any information about it.

Link to comment
Share on other sites

I guess as the rest of the internet, no one here knows either. Alright ignore that for now.

I have Chrome installed and is my main program, I use it for everything. Does anyone know how to properly restart chrome?

When I close Chrome, it's still running in the background, if I look at the System Monitor, its still there. If I try to close all 20 processes it can sometimes cause issues with accounts and stuff, so I don't want to do that, besides it taking long.

I want to be able to restart chrome because after awhile, it uses a lot of resources and kills my fairly old system. Instead of restarting all the time, I'd rather restart chrome.

In Windows, if you exited it, it seemed to close fully, Ubuntu it does not.

Ideas?

Link to comment
Share on other sites

I guess as the rest of the internet, no one here knows either. Alright ignore that for now.

I have Chrome installed and is my main program, I use it for everything. Does anyone know how to properly restart chrome?

When I close Chrome, it's still running in the background, if I look at the System Monitor, its still there. If I try to close all 20 processes it can sometimes cause issues with accounts and stuff, so I don't want to do that, besides it taking long.

I want to be able to restart chrome because after awhile, it uses a lot of resources and kills my fairly old system. Instead of restarting all the time, I'd rather restart chrome.

In Windows, if you exited it, it seemed to close fully, Ubuntu it does not.

Ideas?

by default chrome allows extensions to run in the background (even while closed) this could be what you're experiencing when there are still chrome processes running after you close the browser

you can disable this option in settings at the very bottom of the advanced section

Link to comment
Share on other sites

No, I do use that feature, I have a few running in the background for a reason.

But, on Windows it had a Chrome Icon beside the clock, if you right click that and exit, Chrome fully closes. Ubuntu does not have that ability.

Link to comment
Share on other sites

This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By LoneWolfSL
      Easy Anti-Cheat is now supported on macOS, Linux, and by extension, Steam Deck
      by Pulasthi Ariyasinghe



      In a surprise announcement, Epic Games today revealed Linux and macOS support for Easy Anti-Cheat, the widely used cheat detection service for PC games. This service, which Epic made free earlier this year, is what's being used for catching cheaters in a substantial number of popular PC titles, including Apex Legends, Fortnite, Halo: The Master Chief Collection, Hunt: Showdown, Gears 5, and others.

      There is even more good news for Linux gamers, as alongside native support for their preferred operating system, Epic has also implemented support for the Wine and Proton compatibility layers. "Starting with the latest SDK release, developers can activate anti-cheat support for Linux via Wine or Proton with just a few clicks in the Epic Online Services Developer Portal," adds the announcement.

      For those in the dark, Valve will be utilizing the Proton compatibility layer to run Windows games on its upcoming Linux-powered handheld gaming PC the Steam Deck. The lack of official support for Linux by anti-cheat services would mean a large chunk of multiplayer games being walled off from the platform. But with the latest development, Easy Anti-Cheat powered games should be playable on the handheld without issue.

      While enabling Easy Anti-Cheat support on Linux and macOS does require developer intervention, the imminent Steam Deck arrival, and perhaps some gentle prodding by fans, should push relevant parties to implement the required changes.

    • By News Staff
      Lifetime membership to Whizlabs Online Certifications, now 94% off
      by Steven Parker

      Today's highlighted deal comes via our Online Courses section of the Neowin Deals store, where you can save 94% off a lifetime membership to Whizlabs Online Certifications. Get lifetime access to affordable world-class certification training courses and gain new, essential industry skills.



      Are you a practicing professional but wanting to learn more? Learn new skills and knowledge at your own pace with Whizlabs. Whizlabs is a pioneer among online training providers across the world. They provide online certification training in various disciplines such as Cloud Computing, Java, Big Data, Project Management, Agile, Linux, CCNA, and Digital Marketing. Launched in 2000, Whizlabs has helped more than 3 million professionals and 100+ companies across the world to succeed in their careers with multitudes of courses. If you want to boost your career or grow in your current field, then sign up to Whizlabs now!

      Access various courses on AWS, Microsoft, Google Cloud, Java, Linux & more Get certifications & validate and demonstrate your new skills Learn from subject-matter experts & certified professionals Get regularly updated content

      Here's the deal:
      Lifetime membership to Whizlabs Online Certifications normally costs $4,499, but you can pick it up for just $239.99 for a limited time - that represents a saving of $4,259.01 (94%) off. For a full description, specs, and instructor info, click the link below.

      Get a lifetime membership to Whizlabs for just $239.99
      C-MAX Chrono-Max Smartwatch
      12 Functions in 1 Device! Control Your Music, Receive Calls, See the Weather, & Track Your Sleep, Fitness, and Health Vitals All on Your Wrist

      Get this deal for just $59.99 (list price $219) 72% off

      Not for you?
      That's OK, there are other deals on offer you can check out here.

      Ivacy VPN - 5 years at 87% off NordVPN - 2 years at up to 68% off Private Internet Access VPN - subscriptions at up to 79% off Unlocator VPN or SmartDNS - unblock Geoblock with 7-day free trial Subscribe to Neowin - for $14 a year, or $28 a year for Ad-Free experience Giveaways: Apple Giveaway | Gaming Giveaway | Amazon Giveaway Neowin Deals · Free eBooks · Neowin Store

      Disclosure: This is a StackCommerce deal or giveaway in partnership with Neowin; an account at StackCommerce is required to participate in any deals or giveaways. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through our branded deals site, and it all goes toward the running costs.

    • By zikalify
      Canonical extends Ubuntu 14.04 LTS and 16.04 LTS lifespans
      by Paul Hill



      Canonical, the creator of the Ubuntu operating system, has announced that Ubuntu 14.04 LTS ‘Trusty Tahr’ and Ubuntu 16.04 LTS ‘Xenial Xerus’ have had their lifespan extended and will now get ten years of life each. With the new extensions in place, Ubuntu 14.04 LTS will be supported until April 2024 (instead of April 2022) and Ubuntu 16.04 LTS will be supported until April 2026 (instead of April 2024). This puts them in line with Ubuntu 18.04 LTS and Ubuntu 20.04 LTS which already have ten years of support.

      According to Canonical, the extension will give organisations time to balance their infrastructure upgrade costs by giving them more time to enact their upgrade plans. The news will act as a bit of a reprieve for companies that have been hit by the coronavirus over the year and a half.

      Commenting on the change to the schedule, Nikos Mavrogiannopoulos, Product Manager at Canonical, said:

      Typically, Ubuntu releases get five years of support – this is the case for people using the operating system on a personal basis. An additional five years of support can be purchased through Ubuntu Advantage bringing the total lifespan to ten years. If you’d like to see more information on Ubuntu Advantage and Extended Security Maintenance, check out the Ubuntu pages on the topic.

    • By News Staff
      Pay What You Want and get this Linux eBook Bundle by Packt
      by Steven Parker



      Today's highlighted offer comes via our Online Courses section of the Neowin Deals store, where for a limited time you can Pay What You Want for the Complete Linux eBook Bundle. The 4-book guide to programming more powerfully and efficiently with Linux.

      Unlock the following eBooks with a bid over the average price:

      Mastering Linux Security & Hardening
      A Comprehensive Guide to Preventing Your Linux System From Getting Compromised

      Linux Shell Scripting Cookbook, Third Edition
      Do Amazing Things with the Linux Shell

      Mastering Linux Shell Scripting, Second Edition
      Master the Complexities of Bash Shell Scripting

      or Pay What You Want for the unlocked eBook:

      Mastering Embedded Linux Programming, Second Edition
      Master the Techniques Needed to Build Great, Efficient Embedded Devices On Linux

      What's the benefit:
      The bundle represents an overall retail value of $160. To unlock the full bundle is under $15 at the time of writing. Bid the average price or over and you'll take home the entire bundle. Beat the Leader's price and get entered into the epic giveaway! Pay What You Want for the Complete Linux eBook Bundle
      Not for you?
      That's OK, there are other deals on offer you can check out here.

      Ivacy VPN - 5 years at 87% off NordVPN - 2 years at up to 68% off Private Internet Access VPN - subscriptions at up to 79% off Unlocator VPN or SmartDNS - unblock Geoblock with 7-day free trial Subscribe to Neowin - for $14 a year, or $28 a year for Ad-Free experience Giveaways: Polycade Home Arcade | $5K in cash | $10K in Crypto | Gaming Bundle Neowin Deals · Free eBooks · Neowin Store

      Disclosure: This is a StackCommerce deal or giveaway in partnership with Neowin; an account at StackCommerce is required to participate in any deals or giveaways. For a full description of StackCommerce's privacy guidelines, go here. Neowin benefits from shared revenue of each sale made through our branded deals site, and it all goes toward the running costs.

    • By hellowalkman
      Latest Ubuntu 21.10 blows the wind out of Windows 10 / 11 in certain performance tests
      by Sayan Sen

      Microsoft's next-gen Windows 11 OS is set to release publicly on the 5th of October which is about a week earlier than the release date for Ubuntu 21.10 (codenamed "Impish Indri"), the latter being on October 14. As a result, folks over at Phoronix were curious and wondered what the performances differences might be like between the two upcoming operating systems.

      According to the benchmark results obtained in the comparison across several workstation applications, it seems Ubuntu 21.10 is quite a bit ahead by around 50%, or much more, in some of the tests especially those that involve more dependency on the CPU, indicating that the OS is probably better at utilizing the available CPU resources than Windows. GPU-based applications however have generally tended to favor Microsoft's OS, however, the performance gaps aren't as big in Windows' favor.

      The test system used by the publication consists of:

      AMD Ryzen 9 5900X GeForce RTX 3090 16GB RAM Windows 10 21H1 / Windows 11 Build 22000.168 Ubuntu 21.10







      From the numbers, it is noticeable that Windows 11 doesn't really offer much of any significant improvement, if at all, over Windows 10, at least with this build version. The final image that shows WebP image encoding exhibits a certain anomaly as it is observed that the Windows 10 system is much faster than the Windows 11 one, possibly indicating some bug in the latter.



      Overall, Ubuntu 21.10 appears to be ~10% faster than Windows 10 and slightly more so in the succeeding Windows 11 build. You can find the full performance review with a lot more benchmark numbers on Phoronix's website linked in the source link below.

      Source and images: Phoronix