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 News Staff
      Pay What You Want for this Complete Linux eBook Bundle
      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.

      With the Pay What You Want bundles, you can get something incredible for as little as you want to pay. And if you beat the average price, you’ll receive the fully upgraded bundle! Included in this Pay What You Want deal, are the following courses:

      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. 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 this Complete Linux eBook Bundle
      Not for you?
      That's OK, there are other deals 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 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 Sszecret
      Microsoft Weekly: Edge Beta for Linux, a new Segoe font, and games galore
      by Florin Bodnarescu



      A number of things happened in the last seven days, including the arrival of Edge Beta on Linux, the unveiling of a new Segoe font variant, and even a refresh of the Azure logo. You can find info about that, as well as much more below, in your Microsoft digest for the week of May 2 - 8.

      Edge Beta for Linux


      We should begin with a little info regarding Edge, as not much has happened with the browser this week.

      For starters, build 92.0.878.0 made its way to the Dev Channel. While this would normally be pretty exciting, Microsoft says the build doesn’t change much, given that it came out just a few days after the previous build. The changes are so minor that the company didn’t even bother publishing its usual post about it.

      Moving on to the stable version, namely version 90, folks may be experiencing problems with YouTube playback, namely crashing. This bug has been acknowledged by a Microsoft engineer, who suggested users disable hardware acceleration as a workaround. The same engineer confirmed that the company is working on a fix, but that the issue may be more significant than initially thought.

      And since we’re taking a tour through the various Insider channels, it’s worth pointing out that over six months after the Dev channel availability of Edge for Linux, there is now a Beta variant for the open-source OS.

      Lastly, Microsoft is now testing everse image search in the Bing sidebar. This does pretty much exactly what it sounds like it would, namely allows you to right-click on an image and search for it on Bing in the sidebar which appears on the right of the Edge browser. As per Reddit user Leopeva64-2 who stumbled upon this, the capability is available in Edge Dev, though we have not seen this on any of our test devices.

      A new font


      For Insiders in the Dev channel, Microsoft pushed out yet another preview build, 21376, which included the usual array of fixes and, rather interestingly a new Segoe font variant.

      While Segoe UI itself has been used as a default system font going all the way back to Windows Vista, a number of variants have been revealed since, including Segoe Script, Segoe Pro, and what Microsoft used for its Modern design icons, Segoe MDL2 Assets.

      The new font is called Segoe UI Variable and as the name implies, it’s meant to vary slightly depending on the use case. Segoe UI itself for example was originally designed to be optimal at 9pt sizes, while Segoe UI Variable tweaks the letter weight and tracking depending on the size.

      For smaller text, the letters are more tightly tracked, have more weight and are more open, while at display size, text isn’t quite as tightly tracked and has amplified letter terminals. For those not familiar, tracking refers to the overall horizontal spacing between font characters. This is not to be confused with kerning, which refers to the proportional spacing between two individual letters, whereas tracking refers to, say, an entire word.

      On the subject of change, we should touch on the fact that Microsoft is set to fully remove Flash from Windows 10 in July. While support for Flash was dropped by Adobe on December 31, 2020, and Microsoft released a manual update to remove it back in October of the same year, it was, as the name implies, not necessarily mandatory. Starting in July, the Redmond giant is set to push out the update to Windows 10 v1809 and above, automagically removing the media plugin.

      To that end, the firm is also removing any update blocks for versions 2004 and 20H2 (May 2020 Update, October 2020 Update), allowing folks to freely upgrade to these supported variants. We’re on the verge of a new feature update anyway, so it’s not much of a surprise that Microsoft wants folks on the latest Windows 10 version, if possible.

      Last but not least, to the dismay of perhaps three people, Windows 10X is allegedly delayed indefinitely, as Microsoft focuses on Windows 10 proper.

      Since its original unveil at the end of 2019 with the dual-screen Surface Neo and Duo, the former device was delayed out of its Holiday 2020 release window, and Windows 10X was repurposed for single-screen devices - in stark contrast to its initial 'dual-screen devices first' approach. For now, it seems that the Redmond firm is putting 10X on the backburner, focusing its resources on the expected Sun Valley UI refresh coming to Windows 10 later this year.

      Games galore


      In a rather surprising announcement, Microsoft decided to take the wraps off a sizeable selection of titles now supporting FPS Boost. More than quadrupling the number of supported games from 23 to 97, the latest additions include Dying Light, a number of LEGO games, ReCore, and more, with supported framerates from 60 to 120FPS.

      There are good news on the Game Pass front as well, with FIFA 21, Red Dead Online, Psychonauts, Outlast 2 and many others either already available or joining the subscription very soon. Additionally, folks in the U.S. also get four months of Spotify Premium with Game Pass Ultimate, though this is available for new users only.

      On the revenue share front, Microsoft dropped its cut from 30% to 12% on PC, and was planning to do the same on console, but it will no longer do so. An interesting tidbit about the company’s strategy relates to exactly why it lowered its split. As per the court documents filed in January, this is done “in exchange for the grant of streaming rights to Microsoft.”, in other words, xCloud. It’s not exactly clear whether the proposal was far enough along to even be discussed with console publishers, but for the time being, the revenue split on Xbox remains 30/70.

      If you don’t think that’s such a great deal, maybe some of the Deals with Gold will pique your interest, like the discounts for Borderlands 3, Control, PAYDAY 2: Crimewave Edition, and others.

      However, if you have no desire to buy more games and already own the latest iteration of Flight Simulator or the spin-off title Minecraft Dungeons, it’s worth checking for updates, as both first-party games have received a number of enhancements and fixes.

      Dev channel
      The latest monthly Office Insider build on the Mac has added the ‘Share to Teams’ capability in Outlook, and more. Microsoft has announced its automation tool for security testing AI systems, dubbed Counterfit. Live transcriptions will soon be added for unscheduled and channel meetings in Teams. Microsoft has announced Reading Progress for Teams for education. Whiteboard now has improved Teams integration, support for rich content like images and stickers, and more. The Redmond giant has detailed more education features coming through August. Excel on the web now supports Power BI-connected PivotTables. Microsoft has delivered oxygen, ventilators, and more to support India’s COVID-19 response. New customization options are now available for Reply-all Storm Protection in Microsoft 365. Microsoft customers in the EU will be able to store all their data in the region by 2022. The Redmond firm has warned of a widespread gift card scam targeting organizations. Logging off
      We end the week with a refreshed Azure logo, an interesting Defender bug, and some Surface firmware updates.



      Starting with Azure, Microsoft has decided that the logo for its cloud service needed a bit of a Fluent Design facelift, and as such unveiled a brand-new icon. Ditching the angular shape of the old logo, this one is much more reminiscent of say, the Visual Studio icon, though in some cases, it may remind folks of the Adobe or Autodesk logos.

      On the flip side, what wasn’t needed was a rather weird Microsoft Defender bug, which ended up creating “thousands” of files in users' boot drives. Some folks saw small files less than 2KB in size, while other users reported multiple GBs of storage being eaten up. A fix is already rolling out, and if you’re on Microsoft Defender engine version 1.1.18100.5, you’ll be bumped up to 1.1.18100.6 following this update.

      Finally, for owners of the Surface Pro 4, Studio, Laptop 1,2, and 4, Microsoft has released a slew of firmware updates meant to bring stability and security enhancements.

      Missed any of the previous columns? Be sure to have a look right here.



      If you’d like to get a daily digest of news from Neowin, we now have a Newsletter you can sign up to either via the ‘Get our newsletter’ widget in the sidebar, or this link.

    • By News Staff
      Learn Linux Quickly eBook ($27.99 Value) - free download
      by Steven Parker

      Learn over 116 Linux commands to develop the skills you need to become a professional Linux system administrator. Claim your complimentary eBook (worth $27.99) for free, before the offer expires on May 12.



      Linux is one of the most sought-after skills in the IT industry, with jobs involving Linux being increasingly in demand. Linux is by far the most popular operating system deployed in both public and private clouds; it is the processing power behind the majority of IoT and embedded devices. Do you use a mobile device that runs on Android? Even Android is a Linux distribution.



      This Linux book is a practical guide that lets you explore the power of the Linux command-line interface. Starting with the history of Linux, you'll quickly progress to the Linux filesystem hierarchy and learn a variety of basic Linux commands. You'll then understand how to make use of the extensive Linux documentation and help tools. The book shows you how to manage users and groups and takes you through the process of installing and managing software on Linux systems.

      As you advance, you'll discover how you can interact with Linux processes and troubleshoot network problems before learning the art of writing bash scripts and automating administrative tasks with Cron jobs. In addition to this, you'll get to create your own Linux commands and analyze various disk management techniques.

      By the end of this book, you'll have gained the Linux skills required to become an efficient Linux system administrator and be able to manage and work productively on Linux systems.

      This free offer expires tomorrow, on May 12.

      How to get it
      Please ensure you read the terms and conditions to claim this offer. 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. While supplies last!

      Learn Linux Quickly ($27.99 Value) - free download
      Offered by Packt Publishing, view their other free resources. Expires May 12.

      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.

    • By Usama Jawad96
      Here is Linux Advisory Board's ruling on University of Minnesota's "hypocrite commits"
      by Usama Jawad

      A couple of weeks ago, we reported that Greg Kroah-Hartman from the Linux kernel development and maintenance team had banned submissions from the University of Minnesota (UMN) due to some questionable patches that they submitted. The issue received a lot of public attention particularly due to the email exchanges between Hartman and the student researchers being made public. The latter argued that the patches come in the form of "a new static analyzer", but Hartman took issue with the fact that the clearly incorrect patches had been submitted to the kernel without any warning.

      After much back and forth, the department heads for Computer Science at UMN stated that they would investigate the matter further, and soon after, the student researchers published an apology giving more context to their dubious efforts.

      Now, the Linux Technical Advisory Board (TAB) has published its own findings of the matter and its recommendations for the future.



      In its detailed audit, the Linux TAB has described the entire timeline of events from the time when "one member of the UMN community" began a research project in August 2020 to intentionally introduce flaws in the Linux kernel with fake identities. A research paper on this endeavor was published in November 2020 after which no patches were submitted. Questionable submissions began again in April 2021 which is when Hartman confronted the researchers and eventually banned them from contributing in the future.

      Linux TAB has concluded that the researchers broke several documented rules including submitting patches with false identities. Five of these changes were publicly admitted to being invalid by the researchers in their paper, but the TAB has noted that all incorrect changes were caught or ignored by developers and maintainers, which means that its review process works correctly.

      435 commits from the UMN were reviewed in total. A summary of findings can be seen below:

      Commits found to be correct: 349 Commits found to be incorrect and in need of fixing: 39 Commits already fixed by later commits: 25 Commits that no longer matter: 12 Commits made before the research group existed: 9 Commits the author asked to have removed: 1 In light of the above, the Linux TAB has recommended that moving forward, UMN must improve the quality of its patches. It has also indicated that it will work with researchers to document best practices for contribution to open source projects, including the Linux kernel. It has suggested that the UMN set up its own internal review team, which should consist of at least one experienced developer who validates changes before they are submitted to the kernel. The Linux TAB has cautioned that:

      The Linux TAB has emphasized that the research community and kernel developers and maintainers can work in harmony, as they have done so in the past, but the goal of the community should be to create a robust kernel for production use. If efforts like this benefit only the research community, then conflicts such as this can arise, but they can be avoided if the recommendations of the Linux TAB are followed. You can read the letter in detail here.

    • By indospot
      Edge for Linux is now available in the Beta channel
      by João Carrasqueira



      A Linux version of Microsoft's Chromium-based Edge browser has long been in the works, with the Redmond company first teasing it at Build 2019 and officially announcing it later that year. However, it wasn't until October of last year that the Dev channel of the Edge Insider program debuted on Linux. Over six months later, it's now time for the Beta channel to make its way to Linux users, Microsoft announced today.

      Since its Linux debut back in October, Edge has gained some new capabilities, including the ability to sign in with a Microsoft account and enable syncing across devices. The availability of Edge Beta for Linux lines up with last week's release of Edge 91 in the Beta channel, and it includes those improvements we've seen over the past few months.

      It's been a long journey for Linux users so far, and given how long it's taken for the Beta channel to become available, there's no telling when a stable release will happen. Microsoft also doesn't offer the Canary channel of Edge - which gets updated on a daily basis at the expense of stability - for Linux. Either way, a Beta release should offer more stability than what we've had so far.

      Edge Beta for Linux is available as both a Debian/Ubuntu package and as an .rpm file for Fedora or openSUSE users. If you use the Windows Subsystem for Linux and you're a Windows Insider in the Dev channel, you can also try the Edge browser there, since Microsoft recently added support for Linux GUI apps in Windows 10.