• Breaking News

    [Android][timeline][#f39c12]

    Monday, November 2, 2020

    Linux Switching parents' computer to Linux : a feedback

    Linux Switching parents' computer to Linux : a feedback


    Switching parents' computer to Linux : a feedback

    Posted: 02 Nov 2020 12:44 AM PST

    Hi,

    A couple of weeks ago I asked some questions about switching my parents' PC from W10 to Linux Mint. I saw them this weekend and decided to do a test with an old Windows Vista PC they no longer use because it was painfully slow. Didn't bother with the data that was on it so I didn't go for a dual boot.I chose Linux Mint XFCE as the PC is getting quite old (2009-10 I think). I also considered Linux Lite but Mint seems to be have more support and documentation.

    Preparation : a 8GB USB key, balena etcher installed on another computer, download the iso file you need. Then create your bootable device.

    The rest was crazy simple : turn the computer on, start on the USB device instead of Windows then use the installation wizard that's really well though. In 2h max I revived an old computer that was supposed to go to trash. All the pilots you need are detected and installed on first start. Basic softwares are also pre-installed (Firefox, Thunderbird, libreoffice).

    Mint XFCE is quite barebone but still very usable for noob parents since the UI is quite close to Windows (start menu at bottom left, you can drag&drop icons and files). As I read on some forums Mint XFCE is not crazy lightweight but it's still light enough to work on 10y-o PC, much better than Vista (not really hard you might say). To me Mint XFCE is a nice balance between accessibility (pre-installed softwares, simple installation) and lightweight.

    I setup Firefox and mail just like their W10 PC. I left them the computer for them to test, they can't do anything wrong since there is actually nothing on the computer. If this experience works, I will switch their W10 PC too, maybe try Mint Mate or Cinnamon.

    submitted by /u/ThatOtherFrenchGuy
    [link] [comments]

    How to properly install Linux on a secondary drive?

    Posted: 02 Nov 2020 10:05 AM PST

    Hello everyone, I hope this type of question is allowed. I understand how to do a fresh install of Linux as the first OS on a pc, and I have read a guide for installing on the same drive as Windows. However, I want to install Linux on a second SSD (either Ubuntu or Arch, not certain yet). Is there anything I should know before proceeding (especially since I can't seem to find a good guide for doing this)?

    Just for reference -

    - I have a B450 motherboard and ryzen 7 cpu

    - One M2 SSD with windows 10 on it, and a separate SATA SSD that I want to put Linux on

    - No Wifi card, I only use ethernet on this pc

    My plan is to first make a partition on that second drive and proceed from there, but I'll take any advice. Sorry if this is a bad question, my only experience with Linux is on the Windows WSL, and I want to use this to learn more about it.

    submitted by /u/AlpacasLikeToSmile
    [link] [comments]

    Advanced Copy - Add Progress Bar To cp And mv Commands In Linux

    Posted: 01 Nov 2020 07:32 PM PST

    How do you cat a "TO-DO List" vim file to your terminal window upon login?

    Posted: 02 Nov 2020 05:32 AM PST

    Hey lads and lasses, so the title basically covers what I want. I've gotten really unproductive in my work recently and decided that I need to make a to-do list that pops up on my screen to basically jump start my productivity. I don't know if this is like a really simple script that I can write or not. I've looked around for about 30 minutes now but haven't really found anything and thought I'd come here. I'm new to scripting and would appreciate any resources you folks can throw my way. Thanks!

    submitted by /u/DementedCrusader
    [link] [comments]

    Why doesn't directing text to stdin with >&0 execute that text as a command? Isn't that what stdin does?

    Posted: 02 Nov 2020 08:43 AM PST

    For example, from my obviously faulty understanding I would expect that

    echo "echo "a string to print"" >&0 

    might print a string to print instead of literally printing echo "a string to print" because the latter went into stdin, and I thought stdin is a place where things get exectuted. What am I getting wrong?

    submitted by /u/OminousOnymous
    [link] [comments]

    Help with civilization VI performance

    Posted: 02 Nov 2020 10:51 AM PST

    I just recently bought civ vi on Steam on sale because it had, supposedly, linux support. By changing how it launches I did manage to get it working, but I have quite bad performance compared to my friends that play on Windows with much less powerful hardware. My hardware is the following:

    Intel i7-9750H, Nvidia 1650 Max-Q, 16gb ram. I'm running the latest nvidia-455xx-prime drivers right now, and the game runs with `prime-run` (without it, it's even slower and `nvidia-smi` shows the game, so I'm sure it runs on the GPU).

    I'm getting FPS counts of at most 30 in more complicated scenes, playing on minimal settings 1080p. On ultra settings I'm maxing out around 15fps. Looking at online benchmarks (linux and windows) I would expect to be more near the 60fps range, even with complicated scenes. All the forum posts complaining about bad performance were from years ago when Linux support first rolled out, so I haven't been able to find any solutions.

    Running the game with proton doesn't work, so using that to translate the OpenGL calls to Vulkan ones is out of the question, sadly.

    The only thing I haven't tested yet is running windows on my laptop and comparing benchmarks. I don't want to go repartition my SSD and install windows right now, and running from external storage will have performance impacts, so the benchmark wouldn't be trustworthy.

    If anybody has any tips for making the game run as it should, they would be much appreciated.

    submitted by /u/BlazingThunder30
    [link] [comments]

    UFW blocks Code-OSS extensions marketplace connection

    Posted: 02 Nov 2020 08:27 AM PST

    Hi,

    I use UFW as my firewall, and just noticed, that UFW is blocking the connection from Code-OSS to the extensions marketplace.
    How can I configure UFW, to allow this connection? (Which port / app do I have to allow?)

    Thx!

    submitted by /u/m4chei
    [link] [comments]

    Increase disk space to 200gb in VMWare workstation for Ubuntu

    Posted: 02 Nov 2020 01:52 PM PST

    I am having a problem to increase disk space in vmware workstation. I want to allocate 200gb to Ubuntu but the disk space cannot extend more than 125gb. How to extend it to 200gb?

    submitted by /u/K_manjiri
    [link] [comments]

    Can I stream NBA League Pass on a Linux Mint computer?

    Posted: 02 Nov 2020 01:30 PM PST

    Hi,

    I'm wondering if I will be able to stream NBA League Pass on my Linux computer. Their website only lists minimum requirements for computers running Windows, Mac, Android and iOS. I'm curious if they skipped over Linux because it isn't compatible, or if it is because the number of Linux users is so low.

    I've listed what the website says below. I appreciate any of your insight here ... thanks!

    --

    Minimum System Requirements

    A broadband internet connection (DSL/cable or higher) of 800 kbps or higher is needed for the NBA app. If you have an internet connection speed of 3 Mbps or higher and your computer meets the requirements below, you will be able to enjoy the NBA app at its highest video quality.

    Minimum Windows Requirements

    • 2.33GHz or faster x86-compatible processor, or Intel® Atom™ 1.6GHz or faster processor for netbooks

    • 32- and 64-bit: Windows 7, Windows 8.1 and Windows 10

    • Latest versions of Microsoft Internet Explorer v11+, Microsoft Edge, Microsoft Edge (Chromium), Mozilla Firefox v47+, Google Chrome v35+ and Opera v31+

    • 512MB of RAM (1GB of RAM recommended for netbooks); 128MB of graphics memory

    • While features will work on 512MB of RAM, the playback experience at higher bitrates may be impacted

    Minimum Mac Requirements

    • Intel Core™ Duo 1.83GHz or faster processor

    • Mac OS X v10.9, or later

    • Latest versions of Safari 9+, Mozilla Firefox v47+, Google Chrome v35+, Opera v31+, and Microsoft Edge (Chromium)

    • 512MB of RAM; 128MB of graphics memory

    Minimum Android Requirements

    • Android OS 4.4 or higher

    • While most app features will work on devices meeting the minimum requirements, compatibility with live and archived NBA video content will depend on the device due to the number of Android hardware and OS combinations available.

    Minimum iOS Requirements

    • iPhone or iPad OS 11 or higher
    submitted by /u/shorthandluke
    [link] [comments]

    I might have messed up my Manjaro installation

    Posted: 02 Nov 2020 01:18 PM PST

    So I have recently installed Manjaro on my laptop in a dual boot configuration with Windows and I'm loving it so far. But something which has been annoying me is that the pacman packages on Manjaro always lag behind Arch by a few weeks, so when I came across this article on how to convert Manjaro to Arch, I thought I'd give it a shot. I followed it until the "Do an update by running pacman -Syyu" part, at which point it gave me some weird error about a dependency conflict with lib32-alsa-lib. I undid all of the steps in the tutorial, but now when I use pacman, it still says

    $ sudo pacman -Syu :: Synchronizing package databases... core is up to date 0,0 B 0,00 B/s 00:00 [--------------------------------------------------] 0% extra is up to date 0,0 B 0,00 B/s 00:00 [--------------------------------------------------] 0% community is up to date 0,0 B 0,00 B/s 00:00 [--------------------------------------------------] 0% :: Starting full system upgrade... warning: kpeoplevcard: local (0.1+r38.32d50a9-1) is newer than community (0.1-1) warning: pacman: local (5.2.2-2) is newer than core (5.2.2-1) :: Replace pygobject-devel with extra/python-gobject? [Y/n] :: Replace user-manager with extra/plasma-desktop? [Y/n] resolving dependencies... looking for conflicting packages... error: failed to prepare transaction (could not satisfy dependencies) :: installing alsa-lib (1.2.4-3) breaks dependency 'alsa-lib=1.2.3.2' required by lib32-alsa-lib 

    So then I thought maybe the warning about pacman being too new would be the problem. So then I did

    $ sudo pacman -S pacman 

    in hopes of being able to downgrade, but that gives me the following output:

    warning: downgrading package pacman (5.2.2-2 => 5.2.2-1) resolving dependencies... looking for conflicting packages... Packages (1) pacman-5.2.2-1 Total Download Size: 0,82 MiB Total Installed Size: 4,43 MiB Net Upgrade Size: -0,10 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... error: failed retrieving file 'pacman-5.2.2-1-x86_64.pkg.tar.zst' from manjaro.moson.org : The requested URL returned error: 404 error: failed retrieving file 'pacman-5.2.2-1-x86_64.pkg.tar.zst' from mirror.23media.com : The requested URL returned error: 404 error: failed retrieving file 'pacman-5.2.2-1-x86_64.pkg.tar.zst' from manjaro.moson.eu : The requested URL returned error: 404 error: failed retrieving file 'pacman-5.2.2-1-x86_64.pkg.tar.zst' from mirror.init7.net : The requested URL returned error: 404 error: failed retrieving file 'pacman-5.2.2-1-x86_64.pkg.tar.zst' from manjaro.osmir.ch : The requested URL returned error: 404 ... 

    Now I am kind of stumped. I read somewhere online that it might have something to do with a corrupted mirrorlist, but my /etc/pacman.d/mirrorlist looks good:

    ## ## Manjaro Linux default mirrorlist ## Generated on 2020-11-02 22:01 ## ## Please use 'pacman-mirrors -f [NUMBER] [NUMBER]' to modify mirrorlist ## (Use 0 for all mirrors) ## ## Country : Germany Server = https://manjaro.moson.org/stable/$repo/$arch ## Country : Germany Server = https://mirror.23media.com/manjaro/stable/$repo/$arch ## Country : Germany Server = https://manjaro.moson.eu/stable/$repo/$arch ## Country : Switzerland Server = https://mirror.init7.net/manjaro/stable/$repo/$arch ## Country : Switzerland Server = https://manjaro.osmir.ch/stable/$repo/$arch ## Country : Belgium Server = https://mirror.futureweb.be/manjaro/stable/$repo/$arch ## Country : France Server = http://kibo.remi.lu/stable/$repo/$arch ## Country : Germany Server = https://mirror.atysleaks.org/manjaro/stable/$repo/$arch ## Country : Australia Server = https://manjaro.lucassymons.net/stable/$repo/$arch ## Country : Austria Server = http://mirror.inode.at/manjaro/stable/$repo/$arch ## Country : Germany Server = https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch ... 

    So by now I am absolutely stumped as to why pacman isn't working anymore. Do I just have to reinstall the OS now?

    submitted by /u/tralalatutata
    [link] [comments]

    Help Crosspost

    Posted: 02 Nov 2020 01:14 PM PST

    XFCE change login panel position

    Posted: 02 Nov 2020 12:18 PM PST

    Using the ightDM GTK Greeter Settings I am able to edit the panel and its items but how do you change were the panel is position on the login screen in XFCE. On Xubuntu the panel is along the top and in Manjaro it is along the bottom.

    submitted by /u/trymeouteh
    [link] [comments]

    What is the best organizing app with cross compatibility with Linux and Android?

    Posted: 01 Nov 2020 11:01 PM PST

    I'm currently using Joplin for note taking and to-do lists, but the one thing that's killing me is the lack of a calendar or the support for exporting to one. What are your suggestions for an organizing app?

    Some important features for me:

    Sync - Must be supported between Android and Debian 10.

    Privacy - Encryption, preferably something like Joplin where your items are encrypted and sent to the cloud storage service of your choosing for sync and backup. I really don't want to login to some online service, either.

    FOSS would be preferred, but I would be open to a small one time fee if it checked all my boxes.

    Calendar - Must be able to at least export / sync with another calendar app with similar sync and privacy features. Ideally, it would have an integrated calendar (Android widgets and Plasmoids are a plus too.)

    Does anyone have any apps like this that work for them?

    submitted by /u/Jbnels2
    [link] [comments]

    su in script without prompting for password?

    Posted: 02 Nov 2020 10:50 AM PST

    Hello, I want to run a startup script that opens up a server after boot (really after x-windows under my normal user, say YouYewEwe), but the server is run under a separate server admin user, say gameservadmin, so I have to do an su in the startup script for the server. But it prompts me for gameservadmin password when I want an unattended startup of the server.

    I found a solution on stack exchange that reccomended editing sudoers with

    gameservadmin ALL=(YouYewEwe) NOPASSWD: ALL

    But this doesn't do anything, I'm still prompted for password when I try and su. (I know I can supposedly grant access to specific files, but I kind of don't want su to ask me for a password anyway,as both users are really me)

    ( Maybe I should have just not have had the gameserveradmin as a separate user but that's how the instructions setting up the server I read recommended doing it---I'm not sure why)

    submitted by /u/You_Yew_Ewe
    [link] [comments]

    Building a PC

    Posted: 02 Nov 2020 07:00 AM PST

    This will be my first pc and because I'm on a budget, I decided to build one. I have little to no technical experience and have a couple questions.

    Which version of ubuntu should I get?

    If I have a nvidia gtx 1650 super do I need a driver? If I do, what is a driver and how do I install one?

    Thanks in advance!

    submitted by /u/Jrlucken
    [link] [comments]

    Gnome freezes after login on Debian 10.6

    Posted: 02 Nov 2020 10:46 AM PST

    How to remove cat -n leading whitespace?

    Posted: 02 Nov 2020 06:28 AM PST

    I'm outputting the results of cat -n to a file, but I need this without the whitespace that -n adds. Is there a simple way to do this?

    I've tried messing around with sed, but the best I could to was go from this

     6 flour 5 eggs 4 chocolate 3 cushions 2 cheese 1 shampoo 

    using

    cat -n list1 list2 | sort -r > file 

    to this

    6 flour 5 eggs 4 chocolate 3 cushions 2 cheese 1 shampoo 

    using

    cat -n list1 list2 | sort -r | sed 's/ //g' > file 

    Edit: Now solved, thanks to input from /u/ang-p.

    I added a second pattern with sed that removed the tab after the digits (I didn't realise it was a tab there). Here's what I went with:

    cat -n list1 list2 | sort -r | sed 's/ //g;s/\t/ /g' 

    Resulting in the following output:

    6 flour 5 eggs 4 chocolate 3 cushions 2 cheese 1 shampoo 
    submitted by /u/CotswoldWanker
    [link] [comments]

    shell : give 'foo; bar; test.sh' command to GNU screen

    Posted: 02 Nov 2020 10:11 AM PST

    i want to pass multiple command that run one after another with screen : screen -dmS update cmd1 && cmd2 but this don't work since the shell separate the line, it exec screen -dmS update cmd1 then if it return 0 it exec cmd2 which is an understandable behaviour.

    but i would want to pass multiple command with shell syntax to screen, without making a shell script or anything, i wanted it to be a alias or a function at worse. I'm using zsh btw but i can do bash -c or other if needed.

    thanks. don't hesitate to ask me question, I'm not English i don't think i could explain well the problem.

    the complete command i wanted is : alias update='screen -dmS update yay -Syu --noconfirm; notif "yay finished $?"' where notif is a shell function too.

    submitted by /u/mirsella
    [link] [comments]

    Difference between installing .deb files with apt or dpkg or gdebi?

    Posted: 02 Nov 2020 09:54 AM PST

    Is there any real difference between these three? Across tutorials and stackexchange I've seen all three being used to install .deb packages so not sure if it matters which one I use. (It seems like even if I use dpkg or gdebi, the .deb file will still show up when I do apt list, which is good since I want to manage everything using just apt)

    submitted by /u/optimal_honeybee
    [link] [comments]

    Asus PN50 problem green background on samsung tv.

    Posted: 02 Nov 2020 09:40 AM PST

    Hi

    I have an ASUS PN50 plugged into my samsung tv running mint xfce the newest, and with every hdmi cable I try I get this green color on the login menu. The problem is that its not clear and white. I had this problem before and fixed it but now the problem has come back again.

    submitted by /u/Mode_Legitimate
    [link] [comments]

    Shared folder through VM disappearing after reboot

    Posted: 02 Nov 2020 09:32 AM PST

    So im currently tearing my hair out trying to get this to work, i tried everything:

    1.ticking in the box in the shared folder settings to have it be permanent 2.adding myself to the usergroups of virtualbox in terminal

    But alas nothing works because as soon as i restart in the vm, it disappears

    My last resort is to try and add a line for it in fstab but im literally clueless as to how I can edit it..

    Any help would be appreciated, im completely clueless at this point.

    submitted by /u/zetikla
    [link] [comments]

    Text editor for bash script?

    Posted: 02 Nov 2020 09:23 AM PST

    I'm mostly used to VS code in regard of programming when I was on windows. However I'm still relatively new to bash scripting and Linux as a whole — what would you guys recommend?

    submitted by /u/InDaysOfYore
    [link] [comments]

    Involuntary quickly repeated keystrokes

    Posted: 02 Nov 2020 09:21 AM PST

    How the hell can I uninstall/get rid of MiniDLNA?

    Posted: 02 Nov 2020 09:17 AM PST

    I was trying to use minidlna for a home media server but it's not going to work for my needs. However, now I can't get it to go away... this keeps appearing when I browse to "192.168.1.1:8200":

    https://preview.redd.it/5la6nrkh0vw51.png?width=1600&format=png&auto=webp&s=41607144906ecd57e0790278fa96d08e01593ccb

    And every time I refresh, different local clients are connecting and the number of files changes/goes up.

    I've tried:

    • purging the installation (sudo apt-get autoremove --purge minidlna)
    • rebooting multiple times
    • deleting all minidlna files (using "catfish" as root, searching the entire "/", deleting anything having to do with minidlna - there are no *minidlna* files on my computer whatsoever.)
    • checking my systemctl services (sudo systemctl list-units --type=service)
    • checking my ports (sudo lsof -i -P -n | grep LISTEN & sudo lsof -i:8200)
    • clearing my browser's site data/cookies

    and yet I'm somehow still plagued by this minidlna installation...

    WTF... 🤯😵😡

    Could somebody possibly offer me some additional guidance? This is bonkers...

    submitted by /u/richaardvark
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel