• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, January 1, 2019

    Linux Distro for persistent mode USB?

    Linux Distro for persistent mode USB?


    Distro for persistent mode USB?

    Posted: 01 Jan 2019 06:46 AM PST

    Hi, my PC died on me so I have to use my family's stuff, so the only way I can use Linux is from a persistent USB install. I want to use it for light gaming (strategy titles and old FPS, all is Linux compatible) office work, programming and learning Linux. Can you recommend me a distro for this? (I used Arch/Arch derivatives up until this point, but that is only compatible with the 64bit architecture.)

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

    What do bootable USB makers like Rufus actually do?

    Posted: 01 Jan 2019 10:00 AM PST

    I know that they take an ISO image and put it on your USB so that it (somehow) is bootable. Is there any special process that is happening here? What is Rufus actually doing?

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

    Scripts in cron.daily/ are not being run everyday

    Posted: 01 Jan 2019 11:50 AM PST

    I checked syslog and nothing about cron.daily (but for cron.hourly yes)

    I can run the scripts with run-parts /etc/cron.daily though

    And here is my /etc/crontab (modified)

    # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 54 * * * * root cd / && run-parts --report /etc/cron.hourly 6 9 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 9 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 26 4 * * 3 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 46 4 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # 
    submitted by /u/Bidibodida
    [link] [comments]

    Idea for Linux Noob

    Posted: 01 Jan 2019 10:48 AM PST

    I want to learn more Linux for my job and have an idea for a project at my house. I want to monitor network bandwidth in real time so that when I play PS4 online I can see if we cap out our 6mbps. I would like to build it on headless Linux but would like it to have a graphics display of the monitoring. Any ideas?

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

    Touchpad not working properly on Dell XPS 9370

    Posted: 31 Dec 2018 11:50 PM PST

    Happy new year everyone!!

    I've just recently installed Kubuntu on my Dell XPS 9370. I've never used Linux before, but decided to take the plunge and dual boot (although Windows isn't booting anymore, but that's a question for another day).

    Anyway, I've noticed that my touchpad has been very...crappy. It's not smooth, scrolling accelerates too quickly and decelerates to fast etc furthermore sensitivity whilst typing is horrendous. Now, in my touchpad settings I've noticed that several options are greyed out. Doing some digging around I saw that it was problem with libinput, and that I should install synaptics, which I did. However, these options are still greyed out and my problems still exist.

    Not sure what to do. I really want to start using Linux as my daily driver, but I can't continue with a problem like this. For reference, I'm not a computer programmer or data scientist or anything like that, so I am very green on this stuff.

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

    I need to move/copy a folder into my /usr/ and I'm not seeing a way around it other than logging in as root user, because I can't cd to /root without being root user?

    Posted: 01 Jan 2019 05:01 AM PST

    I'm trying to copy a desktop theme to a folder with the path: /usr/share/plasma/desktoptheme

    I can't use my GUI because I get denied access when I drag/paste it in there. Naturally my next thought was to use the terminal.

    But apparently to navigate anything other than /home/ using the terminal, I have to log in as root user. I found this out because I tried cd /root and I got "Permission Denied"

    As far as I can tell, there's no way to move a file/folder to the usr/ folder from the home/ folder without being in the root. Is this true?

    I'm wondering because I'm often told that being root user is bad since you can break things, and it seems like a suboptimal solution to this problem.

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

    Mint 19 - change default save location to second hard drive

    Posted: 01 Jan 2019 09:17 AM PST

    Hello. I toyed a little with Mint 17 a couple years back on another computer but never got too deep into it. Now I've decided to take the plunge to Mint 19 on my main computer, as Win7 is getting old and hard to keep updated. No desire to go to Win10.

    At any rate, I've (for now) set up a dual boot with my old Win7 in case anything goes horribly wrong with my Mint 19 install. I have both OSes on an SDD and all my data on a secondary HDD. I disconnected the HDD during Mint install (abundance of caution/paranoia). The install seems to have gone okay so far, so I've reconnected the HDD and now I want to change the default file save location to point to my existing Documents, Downloads, Music, Videos, Pictures folders on the HDD. It is formatted NTFS.

    Everything I've found online so far seems to be for older versions of Mint. If I've learned anything so far, it's that there can be significant process changes from version to version! I'm not too good at the Terminal yet but I am usually okay at following directions. ;) If there's a GUI way to do it, even better.

    How can I accomplish this in Mint 19? Thanks.

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

    sh vs bash and posix compliance (force POSIX compliance)

    Posted: 01 Jan 2019 11:24 AM PST

    I read in a book that [[ is not POSIX compliance, and hence it should not be available in sh. Well, I wrote a simple script.

    #!/bin/sh if [[ true ]]; then echo Hello World fi 

    If [[ is not POSIX complaint then this script should not run right? I've tried running it using sh example.sh and also as an executable, ./example.sh. It runs fine which confuses me.

    Is [[ available in sh?

    If it is not, then why does my script work fine? I read that in some distributions, sh is linked to bash. Is it possible for me to run a script and force POSIX complaince and give me an error when the script is not compliant.

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

    Multiple Linux Distros - shared ESP and Bootable options

    Posted: 01 Jan 2019 12:55 PM PST

    Hello, all. I signed up on Reddit today for the express purpose of seeking help on Linux.

    I have installed Manjaro alongside BlackArch. BlackArch has its bootloader in /boot which is a separate partition. Manjaro has three partitions, one for root(/), one for /boot, and one for /boot/efi. Now, let's say I want to install Fedora. Will there be any problem if I point Fedora's /boot/efi to Manjaro's /boot/efi partition? Also, I currently have only two OSes: BlackArch and Manjaro. However, in UEFI, there are 4 bootable options listed:

    One "Linux Boot Manager" entry, one "Manjaro" entry and two "UEFI OS" entries. How should I get rid of the duplication?

    Here is the pic of the UEFI bootable menu: https://imgur.com/a/yUVQ9Rh

    PS. I installed Kali Linux (which uses GRUB) just to see what exactly happens, and this is the efibootmgr results after Kali's installation:

    BootCurrent: 0004

    Timeout: 1 seconds

    BootOrder: 0002,0004,0000,0001,0005

    Boot0000* Linux Boot Manager HD(4,GPT,db98bb6f-7706-374e-80ce-09d0b0ee32c6,0x64096000,0xfa000)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)

    Boot0001* UEFI OS HD(4,GPT,db98bb6f-7706-374e-80ce-09d0b0ee32c6,0x64096000,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)..BO

    Boot0002* kali HD(4,GPT,db98bb6f-7706-374e-80ce-09d0b0ee32c6,0x64096000,0xfa000)/File(\EFI\KALI\GRUBX64.EFI)

    Boot0004* Manjaro HD(3,GPT,6881d199-30c9-4a84-ac40-084ff6bb472b,0x64000000,0x96000)/File(\EFI\MANJARO\GRUBX64.EFI)

    Boot0005* UEFI OS HD(3,GPT,6881d199-30c9-4a84-ac40-084ff6bb472b,0x64000000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)..BO

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

    Where do I need to place third-party Python modules so IDLE can access them?

    Posted: 01 Jan 2019 12:36 PM PST

    Hi, super ultra noob here. I'm trying to learn to program with Python on my laptop running Lubuntu 18.10, specs are i7-3520M, 8GB of memory and a 500GB SSD if that matters.

    I am trying to import third-party modules into the IDLE shell using the guide as described here:

    https://automatetheboringstuff.com/appendixa/

    So I installed pip with sudo apt install python3-pip, then I attempted to install the pyperclip module with sudo pip3 install pyperclip. This resulted in the following message:

    "The directory '/home/chris/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

    The directory '/home/chris/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. "

    However, it still claimed that it was successfully installed.

    But, when I go into the IDLE shell and type import pyperclip, I get the following error:

    "Traceback (most recent call last):

    File "<pyshell#0>", line 1, in <module>

    import pyperclip

    ModuleNotFoundError: No module named 'pyperclip'"

    I'm assuming that the module is being installed the wrong directory but I'm not sure what directory it should be installed to or how to find the module so I can move it.

    I tried installing the module without using sudo to see if that would change the result, and while the initial error message about the installation didn't pop up, I'm still unable to properly import the module into IDLE.

    Bearing in mind I am super nub, does anybody know what's going on here? Thanks!

    EDIT: for reference I am running Python 3.7.1

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

    Linux Mint 19.1 Freezes When Opening the Mumble Client

    Posted: 01 Jan 2019 11:39 AM PST

    I've been having an issue with my computer freezing when trying to open Mumble since I upgraded to 19.1, and I was hoping someone would be able to help shine some light on it.

    I tried updating to cinnamon 19.1 the day it was released. After installing it, whenever I tried to open a Mumble client the system froze, requiring reboots. I reverted the update with Timeshift, but got antsy to upgrade again. So I tried re-upgrading, and Mumble ran perfectly for a few hours. Then after a shutdown, trying to open the Mumble client resulted in the same system freeze.

    When the freeze happens, my mouse still works, but neither input from clicks nor keyboard input registers. Interestingly, when I mouse over the edge of windows the cursor still changes to the appropriate window resize icon, but I am not able to click on the window. While frozen, I am able to restart X (ctrl+alt+backspace), and I am able to access the tty consoles (ctrl+alt+F1-6). However, trying to exit the tty console back to the desktop (ctrl+alt+F7) results in a black screen, still with a moveable mouse.

    Here's what I've learned/tried:

    • This freeze occurs every time that I start Mumble, regardless from the start menu or from the command line.
    • Starting mumble from terminal returns "Couldn't register with accessibility bus: Did not receive a reply.", but from what I've found online, it looks like it's an unresolved (but unsymptomatic) bug on Ubuntu systems.
    • I'm not able to find anything relevant in the logs (it looks like the system sees Mumble as starting normally in /var/log/syslog) but I'm having a hard time deciphering most of the info. I'm happy to post any log outputs you think would be helpful.
    • I tried running Mumble in GDB, but this resulted in the same freeze and didn't save anything to the .txt output.
    • At the tty console, running Top shows that Cinnamon is at 100% cpu use, but mumble is in a normal range. Killing mumble doesn't solve any issues, and after killing Cinnamon, I haven't been able to restart it to get back into a desktop session. This leads me to think this is less related to Mumble and more related to how Cinnamon is handling the opening of it.

    I'm hoping that someone has some insight on any part of this issue. Even if you know, for example, why the mouse still has contextual window-resizing icon changes, it may help me track down the source of/solution to the problem. Thanks in advance.

    My specs are:

    OS: Linux Mint 19.1 Cinnamon 64-bit

    Cinnamon Ver: 4.0.8

    Linux Kernel: 4.15.0-43-generic

    GPU Driver: nvidia-driver-390 Ver 390.77-0ubuntu0.18.04.1

    CPU: i5-8600K CPU @ 3.60GHz × 6

    Mobo: ASRock Z370 Extreme4

    Memory: 2x8 GB DDR4 @ 2666Mhz

    GPU: GeForce GTX 1070

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

    Computer isn't utilizing all of my ram

    Posted: 31 Dec 2018 11:11 PM PST

    Just like the title says. So, I have 32GB of Ram currently installed but my computer only see's 16gb I've tried removing the sticks and placing them back in the slots just to be sure they were actually in, but nothing even the bios is showing 16gb Is there a way to fix this?

    MOBO: Asus Maximus V Gene

    Ram: HyperX Fury 8gb (x4)

    CPU: i7-4770k @ 3.50

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

    "yank" command in Ranger doesn't copy anything to clipboard

    Posted: 01 Jan 2019 11:03 AM PST

    Get the Name of a Font for Suckless Terminal

    Posted: 31 Dec 2018 10:08 PM PST

    I am ricing a mint PC and came across these lovely babies: https://int10h.org/oldschool-pc-fonts/fontlist/#ibm_pc_bios from another thread, and I want to use the IBM BIOS the first one in the suckless terminal. I can't seem to find the name of it however, how do I do so? In st I have to specify the font name like so static char *font = "Terminus:pixelsize=12:antialias=true:autohint=true"; /* font settings */ I am also using it for DWM how do I get this awesome oldschool fonts name?

    Edit: NVM I got it, first run fc-list for a list of all the fonts. As I know I want one with BIOS in the name I ran fc-list | grep BIOS, then you should see a list like so and from this list I can see I want this one /usr/local/share/fonts/Px437 (TrueType - DOS charset)/Px437_IBM_BIOS.ttf: Px437 IBM BIOS:style=Regular and when we look at this we can see the name is Px437 IBM BIOS, so use that for the name. I added this in case someone has the same issue.

    edit: I would actually prefer to set this one /usr/local/share/fonts/Px437 (TrueType - DOS charset)/Px437_IBM_BIOS-2y.ttf: Px437 IBM BIOS\-2y:style=Regular as the other is a tad bit to wide for me. Does anyone know how I would set that one? I get an error cause of the -2y

    Here's the error:

    In file included from x.c:65: ./config.h:4:36: warning: unknown escape sequence '-' [-Wunknown-escape-sequence] static char font = "Px437 IBM BIOS-2y::pixelsize=8:antialias=true:autohint=true"; / font settings */

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

    What filesystem should I use for home and root?

    Posted: 31 Dec 2018 10:34 PM PST

    I plan to use Linux mint 19 mate on my workstation PC for programming, and I'm deciding between ext4 and btrfs. Which one should I use? Should I perhaps use a different file system? Any opinions are really helpful.

    Thanks!

    submitted by /u/2slow4mebro
    [link] [comments]

    Im not a smart man ... Apt purge related ... Isc-dhcp-relay

    Posted: 01 Jan 2019 08:55 AM PST

    So I had built my Ubuntu Server 18.10 up to be, amongst other things, a PiHole DNS Server, NextCloud/Collabora server, and Plex server.

    I was trying to turn the box into a non-dhcp serving firewall. So, I tried isc-dhcp-relay. This did not serve my purpose (another issue for another day) so I moved on and decided to keep the box as is for now, as described above.

    Problem was, Collabora suddenly stopped working (rotating circle of death). In my ignorance, I thought the relay was the problem. So, rather than disable, I purged.

    Now the server won't resolve DNS requests and my NextCloud is down.

    What happened?

    EDIT: Also, in my state of idiocy, I did an apt autoremove after the purge :/

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

    Can anyone explain the meaning of "&>" in this line?

    Posted: 01 Jan 2019 08:49 AM PST

    I'm solving the bandit challenges on overthewire.org and noticed this symbol in this line: * * * * * bandit22 /usr/bin/cronjob_bandit22.sh &> /dev/null. What does this do? From my logical understanding, it is redirecting some kind of stream to null. Can anyone please clarify?

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

    Can't run any commands after I've logged as root in using `sudo -i`

    Posted: 01 Jan 2019 04:51 AM PST

    I'm trying to move something from my Desktop to a folder in my /usr/ directory and I need to be root to do that, as I have to start from the root in order to access both home/ and usr/ simultaneously (at least, this is the only thing I can think of).

    I was denied access when I tried cd /root normally, so I used sudo -i and logged in as root, then I ran cd /root again, but...nothing happens. In fact, no commands work at all.

    For example, I'll type ls and press enter, and it'll just seemingly accept the command but not show anything. The odd thing is that when I put in something that isn't a command, like weofiweoi, it'll tell me that that isn't a command.

    Anyone know what's happening? Is the output of my commands just not showing or something?

    Note that I'm using Dolphin, so I can't solve this problem by running sudo Dolphin; it just tells me something about a bug and doesn't allow it

    Any help is appreciated

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

    Is it safe to say that apt-get has all the same commands as apt and more? As in apt is just a streamlined version of apt-get? Is there really more to it than that?

    Posted: 31 Dec 2018 09:22 PM PST

    I've been going a lot of reading on trying to figure out the difference between apt and apt-get, and it's explained very differently in different places, and imo it's made out to be more complicated than it is. Isn't apt simply a streamlined version of apt-get? As in, a couple of apt-get's commands (the most commonly used ones) were chosen, and those commands are now available by just prefixing apt, instead of having to do apt-get? (apt-get is still an option even for those commands of course)

    Is there more to it than that? Am I missing anything? Sorry if this is a stupid question, just wanting to see if I'm understanding correctly

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

    Help with adding a user profile for Arch Linux / KDE Plasma

    Posted: 01 Jan 2019 06:44 AM PST

    Hello! I finally decided I'm just about done with Windows, and am trying to move into Arch Linux. (I know it's not the easiest one to start off on, but I have a tech background and am very willing to learn)

    I've set up the distro with the KDE Plasma desktop environment and the Grub bootloader. The Plasma login screen has loaded, but is empty, as I have forgotten to use the 'useradd' command before exiting the command line interface.

    Is there a way I can interact with the Plasma GUI to create my user profile or return to the terminal to use the 'useradd' command? Simple problem, but I've done a good amount of researching to no avail.

    Please help a newbie out!

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

    Why are so many programs only available to install through tarballs even though there's a Windows equivalent installer?

    Posted: 01 Jan 2019 05:59 AM PST

    For example: https://www.qbittorrent.org/download.php

    To build this I had to extract the tarball and manually install all the dependencies and then build it, and for some reason it took way longer than it took to install on Windows (specifically the make -j$(nproc) step took very long)

    On the other hand, the Windows installer is just a couple clicks and boom you have the program

    Don't mean to bitch, I still like Linux over Windows, but this just seems like a outdated and really inconvenient method for installing programs. Does this method have any advantages over a simple installer/package?

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

    any way to wipe "read-Only" corrupted SD card in linux Mint?

    Posted: 31 Dec 2018 10:16 PM PST

    I have this corrupted SD card that I recently purchased, and put files on. Well, I have recovered everything I can, and the non corrupted files can be easily accessed. However, when I go to delete the files, it gives me "this disk is write protected" error, and will not allow me to delete anything. I plan on wiping the entire disk so I can return it to the store.

    Any ways to unlock the card and/or wipe it?

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

    Trying to Boot a Live USB

    Posted: 31 Dec 2018 06:30 PM PST

    What does the -y prefix do? For example, when used in `apt-get install -y pkg-config`? I can't Google it for some reason

    Posted: 31 Dec 2018 09:32 PM PST

    I can't google it for some reason. I think Google excludes things with a - before them? In any case, I can't figure out what the -y (or any of those prefix/argument organizing letters) do. Could anyone clarify or maybe point me to a resource where the function of these letters are made clear?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel