My Linux Based Questions


Recommended Posts

+longgonebn

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 post
Share on other sites
firey

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 post
Share on other sites
+longgonebn

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 post
Share on other sites
+Majesticmerc

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 post
Share on other sites
+longgonebn

Thanks guys, awesome help!

Link to post
Share on other sites
firey

glad it's working for you :)

Link to post
Share on other sites
+longgonebn

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 post
Share on other sites
firey

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 post
Share on other sites
+longgonebn

This is moving and copying, to and from any of the drives.

Link to post
Share on other sites
+longgonebn

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 post
Share on other sites
+Majesticmerc

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 post
Share on other sites
+longgonebn

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 post
Share on other sites
+Majesticmerc

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/

  • Like 1
Link to post
Share on other sites
+longgonebn

Thanks again. :)

Link to post
Share on other sites
Haggis

you can also use nodiratime aswell :)

Link to post
Share on other sites
+longgonebn

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 post
Share on other sites
firey

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 post
Share on other sites
+longgonebn

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 post
Share on other sites
firey

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 post
Share on other sites
+longgonebn

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 post
Share on other sites
+longgonebn

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 post
Share on other sites
Brandon H

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 post
Share on other sites
+longgonebn

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 post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By zikalify
      Canonical announces Ubuntu Pro for Google Cloud
      by Paul Hill



      Canonical has announced that Ubuntu Pro is now available on Google Cloud. According to the firm, Ubuntu Pro is a premium version of Ubuntu aimed at enterprise and production use that comes with several additional features including live kernel patching, a 10-year maintenance commitment, and patches for software in Ubuntu’s universe repository.

      Commenting on the news, June Yang, VP and GM, Compute, Google Cloud, said:

      Unlike the Ubuntu you may be familiar with on desktop systems which is free, Ubuntu Pro on Google Cloud is not free. According to Google, Ubuntu Pro will cost 3%-4.5% of your average computing cost. Customers can purchase Ubuntu Pro through the GCP Console or Google Cloud Marketplace where they will receive a streamlined procurement process with access to the commercial features offered by Canonical.

      As Ubuntu Pro offers ten years of support, it means that users can use Ubuntu 16.04 LTS which, on the main track, reached end of life earlier this year. With more access to Ubuntu 16.04 via Ubuntu Pro on Google Cloud, companies will have more time to migrate over to Ubuntu 20.04 LTS.

    • By zikalify
      Linux Mint 20.2 beta ISOs undergo testing and are due soon
      by Paul Hill



      At the end of May, it was reported that Linux Mint 20.2 would see a beta release in mid-June. We’ve reached mid-June and it looks as though the team is running last-minute tests on the beta ISOs before making them available to the public. Following the ISOs’ release, the beta period should run for about two weeks before the stable release is made with upgrade paths opened up.

      The Cinnamon, MATE, and Xfce images were tested about 7 hours ago and all failed, the Xfce image was tried again several hours later and failed again, now the Xfce image is being tested a third time along with the MATE edition. Users don’t have to worry about these tests, only, the longer they take to pass, the longer you’ll all be waiting to try out the beta.

      Linux Mint 20.2 has been given the codename Uma and is an iterative upgrade in the 20.x series which began in the first half of last year. As with the other versions in the Linux Mint 20.x series, this update will be supported until April or May 2025. Once security updates stop, you can continue to use it but you won’t be safe especially if you connect to the internet with the device.

      Linux Mint 20.2 will come with a new XApp called Bulky that allows you to rename files in bulk, the Nemo 5.0 file manager will be present in the Cinnamon edition, and the local file sharing tool Warpinator will now give you the option to compress files that are sent to reduce the transfer time.

    • By zikalify
      Linux Mint 20.2 'Uma' to get beta release by mid-June
      by Paul Hill



      Clement Lefebvre, head of the Linux Mint project, has published a blog post revealing that Linux Mint 20.2 is codenamed 'Uma' and is set for a beta release by the middle of June. The new release will still be based upon Ubuntu 20.04 LTS but comes with an upgrade to the Cinnamon, MATE, and Xfce desktops and comes with newer hardware enablement stacks that ship with Ubuntu LTS point releases.

      Linux Mint 20.2 will feature a new XApp (apps made by the Mint team) called Bulky that allows the users to rename files in bulk on both the Cinnamon and MATE versions of Mint. On Xfce, the Thunar file manager already comes with an embedded bulk renamer so Bulky won’t need to be shipped with the Xfce edition of Mint.

      Another change in Linux Mint 20.2 is the inclusion of Nemo 5.0, the file manager on the Cinnamon edition of Linux Mint. With Nemo 5.0, users can now perform a content search in addition to a file’s name. The new content search will look for search terms within documents and return the document to the user if the search finds anything relevant.

      The local file-sharing program Warpinator, which was released with Linux Mint 20, has also been updated. Now, users can select which network interface they want to share files on if they have several available. Additionally, a new option to compress files that are sent has been added, this should reduce the amount of time it takes to send large files.

      Finally, the NVIDIA Prime applet has been updated to fix an issue where the applet would disappear from the tray. It also contains support for computers with AMD/NVIDIA hybrids.

      Linux Mint 20.2, just like the rest of the 20.x series, will be supported until around April or May of 2025. At that time, it will stop receiving software updates and users will need to upgrade if they want their system to stay secure.

    • By indospot
      You can now run Linux GUI apps in Windows 10 [Update]
      by João Carrasqueira

      As this year's Build developer event kicks off, Microsoft has announced a major new feature for Windows 10 - the ability to run Linux apps with a GUI. This is a major expansion of the Windows Subsystem for Linux, which already lets you run command line-based Linux apps, and it means you can now use GUI apps without having to set up a traditional virtual machine with a Linux distribution.

      Interestingly, this feature has actually been in testing with Windows Insiders on the Dev channel since April, but it isn't coming through a typical Windows 10 feature update. It's just available now for existing versions of Windows 10 and you can start using it right away.

      That's not all that's new for Windows developers either. Microsoft also announced that Microsoft Edge WebView2 is now generally available in WinUI 3.0. The new WebView is powered by the Chromium-based Edge browser, and it's been gradually rolling out starting with Win32 C/C++ apps, followed by .NET, WinForms, and WPF. Now, it's generally available for WinUI 3.0 as well, after spending some time in preview form. This allows you to implement web elements into native apps, such as for signing into a service.

      Project Reunion is also getting a new preview update to version 0.8, which will be the next big update following the release of version 0.5 in March. Version 0.8 brings support for developing apps for both client and cloud endpoints, and general availability is planned for this quarter, according to the roadmap.

      Finally, Microsoft also announced Windows Terminal 1.9 Preview, the latest release of its unified command line tool. This version adds Quake Mode, which allows users to launch Windows Terminal from anywhere in Windows with a simple keyboard shortcut.

      Editor's note: Despite some confusing wording in Microsoft's book of news from Build 2021, this feature is not generally available yet. You'll need to be running a Windows 10 Insider Preview build to do this.

    • By News Staff
      Learn Linux in 5 Days - Free Download
      by Steven Parker

      If you want to learn how to use Linux and level up your career but are pressed for time, read on.



      In this eBook, you will learn the most important concepts and commands, and be guided step-by-step through several practical and real-world examples. As new concepts, commands, or jargon are encountered they are explained in plain language, making it easy to understand. The most important material is condensed into five sections, each designed to be consumed in a day.



      Here is what you will learn:

      How to gain access to a Linux server and what Linux distribution is What software is needed and what SSH is The file system layout of Linux systems and where to find programs, configurations, and documentation Basic Linux commands you'll use the most often And much, much more If you feel like you don't have enough time and you're not sure where to start, this resource will help relieve your frustration and guide you toward the answers you need.

      How to get it
      Please ensure you read the terms and conditions to download this resource. Complete and verifiable information is required in order to receive this free offer. If you have previously made use of these free offers, you will not need to re-register.

      Learn Linux in 5 Days - Free Download
      Offered by Linux Training Academy | Limited time offer

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

      Enter giveaways: Polycade Home Arcade | $5K in cash | $10K in Crypto Ivacy VPN - 5 year subscription for just $1 per month NordVPN - 2 year subscription at up to 68% off Private Internet Access VPN - subscriptions at up to 71% off Unlocator VPN or SmartDNS - unblock Geoblock with 7-day free trial Neowin Store for our preferred partners. Subscribe to Neowin - for $14 a year, or $28 a year for Ad-Free experience Disable Sponsored posts · Neowin Deals · Free eBooks · Neowin Store

      Disclosure: A valid email address is required to fulfill your request. Complete and verifiable information is required in order to receive this offer. By submitting a request, your information is subject to TradePub.com's Privacy Policy.