• Breaking News

    [Android][timeline][#f39c12]

    Sunday, August 4, 2019

    Linux Which one should i try out?

    Linux Which one should i try out?


    Which one should i try out?

    Posted: 04 Aug 2019 12:11 PM PDT

    No GRUB after Windows 10 update

    Posted: 04 Aug 2019 08:01 AM PDT

    TLDR: dual boot system doesn't boot at all after windows 10 update.

    I have a dual boot system that I set up years ago, with ubuntu on one partition of a harddrive, and Windows 10 (upgraded from windows 7) on another partition.

    It was working fine until last night Windows wanted to update. It sounded like it might have been a major update that I might have held out on, so I'm not sure when the update is actually from. I let it run the update. It got to about 25% before it needed to restart. That one went find, and it continued with the update until about 33% when it needed to restart again. After this restart, instead of getting the grub boot loader, I got a BIOS screen with the following message

    Reboot and Select proper Boot device

    or Insert Boot Media in selected Boot device and press a key

    I've confirmed that my harddrive is still recognized in BIOS and is set in the boot order (moved it to the top just in case). I've restarted it and even unplugged it, opened it up (removed a lot of dust) and confirmed the harddrive is still securely plugged in. My next guess is that the Windows update finally messed with the partition table or GRUB. Or my harddrive died at exactly the same time.

    Has anyone had experience with this, or have suggestions on how to investigate / fix this? I'm guessing one of my next steps will probably be to create a linux usb to boot from.

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

    How to save the changes of the current file i'm working with?!

    Posted: 04 Aug 2019 07:25 AM PDT

    So my code is:

    grep "ingrese" name1.txt | cut -d ":" -f 2 > name2.txt 

    what can i do make all my commands affect and transform "name.txt" instead of creating "name2.txt"

    i tried:

    grep "ingrese" name1.txt | cut -d ":" -f 2 > name1.txt 

    but when i open "name1" it was all empty

    Thanks!

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

    How do I get the buttons from my graphics tablet working in linux mint?

    Posted: 04 Aug 2019 09:40 AM PDT

    I'm using Linux Mint 19.2 and a Gaomon M106K tablet,

    After I installed the drivers from here: https://github.com/DIGImend/digimend-kernel-drivers/releases/tag/v9

    I could use the pen to draw, but none of the buttons on the tablet worked, the ones on the pen worked fine, I couldn't configure them in any way from the graphics tablet menu.

    Thanks in advance for any help!

    Edit for clarification: by "them" I mean the buttons on the tablet itself, the buttons on the pen could be configured just fine.

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

    Rebinding capslock to end and ctrl+capslock to home

    Posted: 04 Aug 2019 01:47 PM PDT

    The title says it all, I run pop_os 19.04 with kde, and I couldn't really find a solution by myself, so I'm turning to this mighty community.

    I've used autohotkey on windows for this, if there is an alternative with the same or similar syntax, I'd be really happy. But simpler solutions interest me aswell, for which I wouldn't have to run a separate program.

    I've read about xmodmap and running a script with parameters at startup, but I didn't find a documentation on how to exactly use it.

    All help appriciated, thanks!

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

    Fedora 30 black screen after login

    Posted: 04 Aug 2019 01:29 PM PDT

    Fedora 30 goes to a black screen after I log into my account. Everything works perfectly fine on the login screen. I just downloaded a fresh install to a 64gb partition on D: drive using a live usb. I am dual booting fedora with Windows 10 on my Dell Inspiron 7559 core i5 Gtx960M laptop.

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

    Is there a way to re-execute a command in the terminal without the arrow keys?

    Posted: 04 Aug 2019 05:59 AM PDT

    Like if I'm doing

    vim x.rs cargo run 

    is there a way to run vim x.rs without pressing the up arrow? I know I can do !! to rerun cargo run, but idk how to do vim x.rs

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

    Make gimp photoshop friendly

    Posted: 04 Aug 2019 01:58 PM PDT

    I'm coming from windows, running pop os 19.04 with KDE, and I'm having a blast so far. The only thing missing is adobe photoshop, so how could I make gimp my daily driver, without suffering too much?

    I'm looking for some tips and tricks, or even some skins which make things look more familiar.

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

    Why does my mouse's scroll wheel stop working after resuming from suspend in Xubuntu 18.04?

    Posted: 04 Aug 2019 01:25 PM PDT

    I also posted this on askubuntu.

    I am running Xubuntu 18.04 kernel version 5.0.0-23-generic and using a cheap microsoft usb mouse. I also have setup imwheel with the following settings:

    ".*"
    None, Up, Button4, 3
    None, Down, Button5, 3
    Control_L, Up, Control_L|Button4
    Control_L, Down, Control_L|Button5
    Shift_L, Up, Shift_L|Button4
    Shift_L, Down, Shift_L|Button5

    as per this tutorial for slow scroll speed:
    http://www.webupd8.org/2015/12/how-to-change-mouse-scroll-wheel-speed.html

    My problem:

    when I resume from suspend the scroll wheel no longer works.

    A tedious workaround I found is to unplug and replugin the usb receiver. This will bring the scrolling function back, but will not resume the imwheel settings above--the scroll speed is super slow. To get back my scroll speed settings I have to type in console: imwheel --kill to restart my imwheel settings.

    Is there anyway to automate this process? My goal is to have normal scrolling when resuming from suspend without having to go thru steps above.

    I am still very new to linux so any help is greatly appreciated.

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

    Running linux or Mac OS off a usb stick?

    Posted: 03 Aug 2019 10:04 PM PDT

    Hi! I was wondering how many of you do this and if the speeds are adequate for work? I was thinking of selling my personal MacBook and running Mac OS off a usb stick and using it off my work machine for personal stuff. Is there a recommended USB stick for this sort of thing? Would running linux make more sense than running Mac OS? General web-dev side projects.

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

    How to get nano keybinds on vim?

    Posted: 04 Aug 2019 06:51 AM PDT

    Nano is the only text editor I'm used to, but vim has lots of great features. How do I get the nano keybindings on vim?

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

    lftp with socks5 support

    Posted: 04 Aug 2019 12:41 PM PDT

    Hi everybody, would anybody be able to help me out and explain step by step how to install lftp with socks5 support? I can not get my head around how to compile it and what I might be missing to complete the install;

    Thanks in advance! I use Ubuntu 18.04.2 LTS

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

    SWAP Is needed or not...

    Posted: 04 Aug 2019 07:40 AM PDT

    I have 8gb of ram laptop with i5-8th gen with NVME SSD. So I need to use swap or not...?

    edit: I think on my system heaviest application is android studio and heaviest game is rise of tomb raider... Usually I run android studio, it's avd, 5 to 10 chrome tabs, sublime text editor simultaneously.... And I heard that SAWP DEGRADE SSD LIFE TIME...is that true..?

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

    Selecting text on a laptop

    Posted: 04 Aug 2019 06:07 AM PDT

    I'm moving from my Mac to a Lenovo X390 running Manjaro and i3. I'm trying to figure out a reasonable way for click-and-drag operations like selecting text. I have the Xorg settings:

    Section "InputClass" Identifier "touchpad" MatchIsTouchpad "on" Driver "libinput" Option "Tapping" "on" EndSection

    I don't like the behavior of allowing me to tap select until my finger stops moving.

    Instead I would like physical button click to start selection and physical button click to stop selecting. Any ideas on how to do this?

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

    [HELP] my prompt is broken

    Posted: 04 Aug 2019 05:01 AM PDT

    after messing with "/etc/bash.bashrc", effectively getting rid of most of it

    the command prompt shows part of a previous command as well as the current command when I go through bash history (i.e. press the up arrow to look at previous command)

    the resulting error is not printed in the editable part of the prompt and can only be removed by opening a new prompt

    OS: Archlinux

    [edit] i can edit the area after the error and error has no effect on command following it

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

    Problem with transition between songs in mpd/ncmpcpp

    Posted: 04 Aug 2019 10:29 AM PDT

    How can I change transition between songs in ncmpcpp? I mean parabola starts before parabol is completely finished.

    https://i.redd.it/b1f3kistvge31.png

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

    Can you get 2 Gbit with two 1 Gbit NIC's? [Ubuntu Server]

    Posted: 04 Aug 2019 10:28 AM PDT

    Hello guys, I have a Ubuntu Server 18.04 LTS that I use as a file server over SMB to my Win clients. When I upload or download files to the server i reach my networks transfer limit (1 Gbit). So I was wondering if there is any way I can bond my two NIC's in the server to get 2 Gbit.

    I have been looking at netplan but could not get bond to work. My bond0 interface do not receive any ipv4 address from my DHCP. When I telled my bond0 interface what IP/Gateway/subnet it should use, the machine couldn't connect to anything.

    Netplan config file:

    network: bonds: bond0: dhcp4: true interfaces: [eth0,eth1] parameters: lacp-rate: fast mode: 802.3ad transmit-hash-policy: layer2 ethernets: eth0: {} eth1: {} 

    (I know that I also need better transfer speed on my other clients).

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

    Compton, can't get rid of the rectangular background under xfce notifications

    Posted: 04 Aug 2019 01:48 PM PDT

    this is how it looks

    So I'm running archlinux with xfce and using compton as the default compositor, because of the problems of gtk3 programs that draws there own shadows i installed gtk3-mushrooms which seems to solve the issue, but i can't know how to get rid of the rectangular background under the notifications, i tried shadow exclude xfce4-notifyd but it didn't fix it.

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

    Authentication failed despite typing in the correct password.

    Posted: 04 Aug 2019 05:27 AM PDT

    This is the first time I used Linux so be no C's I'm trying to install Linux Manjaro Gnome 18.04 stable using VM. After booting into Manjaro I click install manjaro and set up my device as usual. However, after rebooting my install my resolution settings as well as my language settings are reset. Not to mention I can't install anything due to the fact that my authentication code not working. It seems to reset every time I reboot. Is this a problem with Manjaro? Or is Oracle VM VirtualBox screwing me over. Any help would be appreciated. Thanks.

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

    Ubuntu slow download on SSD question/thoughts.

    Posted: 04 Aug 2019 09:05 AM PDT

    Okay here's some background on my PC regarding similar activities. I recently formatted a 380GB Hard Disk Drive partition from the factory HD. Formatted the partition with LUKS encryption option. The formatting process took 7 hours. Since then felt froggy and bought a 512GB SSD. I have Ubuntu18.04 downloaded on USB. I downloaded the OS onto my SSD with LUKS option. Took MAYBE an hour. Rebooted my computer and I had no option for uppercase letters. No shift, the caps lock button wouldn't even light up on my keyboard. My password required caps. So I read that SSD's sometimes had a problem with encryption and I'm assuming LUKS had a conflict with my OS's kernel (not sure). So plug my USB back in pick "erase Ubuntu and reinstall" without LUKS encryption option. It's been two days now and it's still SLOWLY processing. Is this a CPU issue? I think it's clocking somewhere around 3300MHz but I don't fully understand CPU's. Also the system has only 1 open RAM bank with a 4gb stick... I guess the question would be if anyone could explain this phenomenon and/or any suggestions.

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

    Does any Terminal support blurred backgrounds on Ubuntu? If not, what is your favorite terminal emulator?

    Posted: 04 Aug 2019 03:31 AM PDT

    Not able to run programs over SSH now that I removed monitor from computer

    Posted: 03 Aug 2019 09:29 PM PDT

    Hey guys, I have ubuntu mate running on an old computer which runs things like plex and qbittorrent and have ran it for several weeks without issue. I had always had it connected to a monitor which was always off/sleeping but would do most things over SSH. However, today I moved the computer and decided I no longer needed the monitor since I never use it anyways.

    The problem is that I think that to run any program the computer needs to be connected to a monitor, even if it is off. I plugged it in, was able to successfully ssh into the computer and was able to move around files and such. However, whenever I tried to start up any of my programs I got errors which I can only assume have to do with a monitor not being connected. Here are some examples

    Error: no DISPLAY environment variable specified

    user-open error: Object does not implement the interface

    qt.qpa.screen: QXcbConnection: Could not connect to display

    Could not connect to any X display.

    Now aside from plugging in a monitor that's going to remain off anyways, is there any way to get around this?

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

    Lenovo ideapad 700-15isk

    Posted: 04 Aug 2019 03:04 AM PDT

    Hello guys, I just wanted to ask for help, if someone installed Ubuntu 18.04 on Lenovo ideapad 700-15isk?

    Could you tell me which BIOS setttings are best to choose, and how to install drivers, and configure system properly?

    Thank you.

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

    VNC server and Viewer Cross Platform

    Posted: 04 Aug 2019 11:17 AM PDT

    I have been trying several different servers and viewers but unable to find a pair that work as I hope.

    Has anyone found a working setup for my needs?

    The setup:

    Windows running VNC Server Linux running VNC Viewer

    I need the server to accept resolution changes as sometimes the screen is too big. Non free for commercial use is not an option here. I have tried several and all I just cannot get the resolution to change even when using the same viewer and server software.

    Thanks.

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

    Critique my backup cron job and script?

    Posted: 04 Aug 2019 12:11 AM PDT

    I'm a newbie to Linux, learning as I go while getting deeper and deeper into /r/selfhosted stuff. I have successfully set up a cron job and script to automate weekly copies of a directory on a raspberry pi to a SMB share on my home server. I'd like to have some people grade my work and tell me where I can improve.

    This is my first foray into cron jobs, bash scripts, and SMB share use in Linux, thus I expect that I have a lot of blind spots. I'd love any constructive criticism on those aspects of this solution before I apply the same thing to backups for other files from other devices on my network.

    crontab:

    30 19 * * 4 /home/pi/scripts/unifibackup.sh 

    script:

     #!/bin/bash mount -t cifs -o user=[user] -o pass=[pass] //server/backups/ /mnt/backups/ && sleep 5 && echo "backup share mounted" > /home/pi/scripts/status/unifibackup.log cp /var/lib/unifi/backup/autobackup/* /mnt/backups/network/unifi/autobackup/ && sleep 5 && echo "copy complete" >> /home/pi/scripts/status/unifibackup.log umount -t cifs /mnt/backups/ && sleep 5 && echo "backup share unmounted" >> /home/pi/scripts/status/unifibackup.log 

    Objective: Use cron to run a bash script once per week in order to back up the contents of a directory to a separate device via SMB share. The script mounts the share, copies the files, then unmounts the share. It also outputs a simple log file.

    Reasoning: The cron job seems pretty straightforward. I used "sudo crontab -e" because the unifi directory has very limited permissions and running the script as root seemed to be the most direct solution. The script is pretty simple - it started just as "mount, copy, unmount" but I added sleep and echo commands while troubleshooting. I would get errors about the share not being mounted and it seemed to be because the copy command would run before the share was actually mounted. Adding the 5 second delays fixed this, and I added the echo commands in order to create a log file that I can check to see where the script broke should that ever happen. My understanding is that because the mount and sleep commands before each echo have "&&", the text will only be added to the log if both of those commands complete successfully.

    Where can I do better? The sleep commands feel kludgy. It technically works, but I'm sure there's a more efficient way to do this. I'm sure I'd want to minimize the sleep time if this were running in any sort of time-sensitive environment, but I don't know how to tell the script "wait until the share mounts, then do this". Also, you'll notice that this method stores the SMB user/pass in plaintext. Is this a terrible idea? It's a user created solely for this task and that only has access to this specific share.

    Thanks for reading. This is probably a ton of text for such a simple thing, but I'm trying to really "learn linux" instead of make things "just work", and having smarter people critique my efforts seems like a great way to do that. If this isn't the best place for this kind of request, feel free to point me in the right direction.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel