• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, October 1, 2019

    Linux Windows deleted linux, what could've happened?

    Linux Windows deleted linux, what could've happened?


    Windows deleted linux, what could've happened?

    Posted: 01 Oct 2019 03:22 AM PDT

    A new academic year just started and my professors required us to install a couple of windows apps ex. Microsoft dynamics nav.

    Not knowing some similar linux compatible programs, i decided to dual boot windows from an external hdd. All went well and windows showed up on the boot menu. I launched it and after a couple of minutes i was greeted with a bsod "invalid boot device". I probably fucked something up, i knew it.

    My laptop reboots, windows automatic repair starts and windows launches. I was happy until i noticed windows just deleted my fedora partition and just installed over it. I'm surprised how windows could be so hostile.

    Now i'm looking for an answer on how this could've happened and how i can prevent this in the future.

    Specs: lenovo ideapad 330 Fedora 29

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

    Can someone please take a look if this short bash script looks up-to-date and legit, before I apply it to my main system?

    Posted: 01 Oct 2019 11:31 AM PDT

    Hello!

    I'm not really comfortable with using random code form the internet, so I would ask of you, if you have time, to take a quick look at this bash script I found on the XFCE forum as a solution to having different icons on different workspaces. I am using Debian xfce, and have tested this on the newest MX Linux in a VM, with ok results, but a somehow bugged out start.

    Could you also try to interpret the significance and meaning of the WSPACE_ICONS_FOLDERS line. Not really sure what it's all about, and it is the only line you have to edit and put in your user name.

    Original forum thread: https://forum.xfce.org/viewtopic.php?id=11066&p=2

    #!/bin/bash #Name: xfdeskicons #Version: 2.1 (saves and restores last workspace) #Description: Displays a different set of icons on each workspace's desktop (corresponding to separate folders) #Requires: wmctrl, xdg-user-dirs, xprop #Debug mode: bash -xv /path/to/xfdeskicons 2>&1 | tee xfdeskicons.log declare -a WSPACE_ICONS_FOLDERS ### Set these values to the folders containing the icons for each workspace WSPACE_ICONS_FOLDERS=( "/home/misko/Desktop" "/home/misko/Pictures" "/home/misko/Downloads" "/home/misko/Development" "/home/misko/Music" ) ### Do not change anything below here # make sure that only one instance of this script is running per user lockfile=/tmp/.xfdeskicons.$USER.lockfile if ( set -o noclobber; echo "locked" > "$lockfile") 2> /dev/null; then trap 'rm -f "$lockfile"; echo $(($CURRENT_WORKSPACE-1)) > ~/.cache/.xfdeskicons; exit $?' INT TERM EXIT echo "xfdeskiconsDEBUG: Locking succeeded" >&2 # on startup, get the latest real xfdesktop icon file ICON_FILE=$(ls -t ~/.config/xfce4/desktop | grep screen | head -1) # on startup, set the CURRENT_WORKSPACE value & display correct icons CURRENT_WORKSPACE=$(cat ~/.cache/.xfdeskicons) # finalize preparations [[ "$CURRENT_WORKSPACE" == "" ]] && CURRENT_WORKSPACE=$(($(xprop -root -notype -f _NET_CURRENT_DESKTOP 32c ' $0\n' _NET_CURRENT_DESKTOP | cut -d ' ' -f 2)+1)) wmctrl -s $CURRENT_WORKSPACE xdg-user-dirs-update --set DESKTOP "${WSPACE_ICONS_FOLDERS[$(($CURRENT_WORKSPACE-1))]}" cp ~/.config/xfce4/desktop/icon.layout.$(($CURRENT_WORKSPACE-1)) ~/.config/xfce4/desktop/$ICON_FILE pgrep xfdesktop || xfdesktop & # query the active workspace number and if different from the previous one, send a notification xprop -root -spy -notype -f _NET_CURRENT_DESKTOP 32c ' $0\n' _NET_CURRENT_DESKTOP \ | while read -r workspace do sleep 1 NEW_WORKSPACE=$((${workspace: -1} +1)) if [ $CURRENT_WORKSPACE -ne $NEW_WORKSPACE ]; then # save current icon layout cp ~/.config/xfce4/desktop/$ICON_FILE ~/.config/xfce4/desktop/icon.layout.$(($CURRENT_WORKSPACE-1)) # using xdg-user-dirs-update, point $XDG_DESKTOP to the proper icon folder xdg-user-dirs-update --set DESKTOP "${WSPACE_ICONS_FOLDERS[$(($NEW_WORKSPACE-1))]}" # reload xfdesktop to re-read values and display correct icon set ICON_FILE=$(ls -t ~/.config/xfce4/desktop | grep screen | head -1) cp ~/.config/xfce4/desktop/icon.layout.$(($NEW_WORKSPACE-1)) ~/.config/xfce4/desktop/$ICON_FILE kill -HUP $(pidof xfdesktop) # Save the new current workspace CURRENT_WORKSPACE=$NEW_WORKSPACE fi # restart xfdesktop if it dies pgrep xfdesktop || xfdesktop & done # can't create lockfile - notify user and quit else echo "xfdeskiconsDEBUG: Lock failed, check for existing process and/or lock file and delete - exiting." >&2 exit 1 fi exit 0 

    Thank you!

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

    fresh install keeps getting corrupted

    Posted: 01 Oct 2019 12:05 PM PDT

    I have a 2008 MacBook Pro, Core 2 Duo, that I want to convert to Linux.

    I pulled the old spinning drive out and put in an SSD. I installed macOS 10.11 (SIP is disabled) then partitioned it, added rEFInd, then installed Linux. I have tried both Mint and Kubuntu to similar results.

    It will boot a few times, then booting fails and I get a full screen command line screen telling me I need to run FSCK. I don't know how to run FSCK from the command line so I've been restarting from a Mint USB stick and using the Disks app to repair the Linux partition. Repair will succeed and I will be able to boot the Linux partition a few times, then it will happen again.

    Between the trials with Mint and Kubuntu I started from scratch. The mac partition continues to work fine, which makes me think the drive itself is ok (but it's not a high end drive.) Could it be my install media (I used etcher, on a mac to make the stick)? Could it be a hardware/software issue? This model as both the integrated and discrete GPU? Any ideas welcome?

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

    How can I learn to use Linux (mostly the terminal)?

    Posted: 01 Oct 2019 11:04 AM PDT

    Is there any guide/video/playlist you would recommend me to learn hot to use Linux? I'm tired of having to ask every five minutes for help

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

    How to hide a GUI program?

    Posted: 01 Oct 2019 12:57 PM PDT

    Is there a command/script to hide/unhide an interface completely? (Not even minimize it)

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

    Using Master Password password manager?

    Posted: 01 Oct 2019 12:32 PM PDT

    Hi,

    I've recently stumbled upon Master Password, which has a very clever approach to passwords. Their home page is just a lot of marketing, that doesn't give any details or explanations, but their gitlab readme provides a lot of useful info. I don't have any knowledge in cryptography, but from what I've read the idea seems really clever and a pretty cool one. So has anyone with background in cryptography investigated their implementations and done any sort of analysis?

    How secure is it, what experience using it can you share? What are the benefits/downsides when switching to it from a traditional password manager like, in my case, Bitwarden? This seems like a really cool idea, that I would surely love to use, but I want to learn a little more about it before using it.

    (yes, I know that they specifically say that they are NOT a password manager, I just couldn't think of any other way to reference Password Manager without it being confused with master password in traditional password managers)

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

    [Help]Website imgs gone in ubuntu

    Posted: 01 Oct 2019 03:33 PM PDT

    I m studying html/css and stuff and I had few websites created in windows and had those in my usb, but I got this strange thing, if I open my website from my usb everything works, if I copy the folder inside ubuntu and I open it up most of the imgs are gone.. idk why, the imgs Links are all correct z_z

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

    a Ryzen 7 laptop/notebook with Intel wifi card please?

    Posted: 01 Oct 2019 03:30 PM PDT

    Hi!

    I don't want to buy a Lenovo Thinkpad 330S and then swap the wifi card (maybe it also void the warranty), so I'm open about suggestions. I like Dell machines, but I'm open minded :)

    Thanks for kind suggestions!

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

    Linux Forum That Doesn't Require Google?

    Posted: 01 Oct 2019 08:33 AM PDT

    I've just tried to sign up to LinuxQuestions.org but you need to allow scripts from Google so you can complete a CAPTCHA before it will let you. It's the same for Linux.org and stackexchange. Is there a good Linux forum that you can sign up to without Google?

    submitted by /u/Spire-Al
    [link] [comments]

    Partitions LVM and encryption question

    Posted: 01 Oct 2019 02:24 PM PDT

    Hi

    I'm setting up a home server (converting an oldish qnap NAS) by installing Debian ARM-based. The server will have 2 drives: 60gb SSD and 2TB HD.

    For data/backup, I'll have a Movies, Music and Docs folders. The Docs folder should be encrypted, i.e. if the server was stolen I would want this folder to be inaccessible. Though for day to day use, want to be able to access the Docs folder on the fly, and to be able to write to using back up software such as syncthing.

    A few questions:

    1) What would be the best scheme of the partitions - is there a guide? Most basically, I was thinking that OS and progs - /boot and /root - installed on the SSD, and /home would be on the HD?

    2) Should I use LVM with encryption during installation for both the drives?

    Thanks for any help.

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

    So, I accidentally destroyed my terminal

    Posted: 30 Sep 2019 06:26 PM PDT

    So I use a terminal called terminal emulator (the launch command is exo-open --launch TerminalEmulator), and I decided to customize it with figlet. I thought, "oh, i know how to get this to auto launch!" And put a figlet command in the startup commands section in the preferences for the terminal.

    Except I didnt. I I accidently wrote the figlet command in the "custom login shell command" section. Now my terminal crashes immediately upon opening. I cant seem to find the config file for xfce terminal. Nothing is in ~/.bashrc that I can find, and I'm having trouble finding any solutions.

    Any help?

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

    Can you suggest me some new (not so common) Icons & Themes for my Linux distro?

    Posted: 01 Oct 2019 04:23 AM PDT

    I'm aware of a lot of popular icon packs and themes. However, instead of browsing endlessly, I thought of asking here for some cool suggestions, please let me know some in the comments.

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

    Realtek Drivers / Audio Manager on Linux

    Posted: 01 Oct 2019 12:59 PM PDT

    Good morning!

    The time has come for me. After spending another 5h trying to fix an issue inherent to Windows last night, I decided to switch my main home computer to Linux entirely. I've done a lot of research and it looks like I can get pretty much everything I get on Windows right now from open-source software.

    I have one issue though. I do a lot of voiceover work and the way my setup is set up, the output from my mixer is plugged directly into the audio input on my mobo. Using the Realtek Audio Manager that comes with Realtek drivers on Windows, I can monitor the input without any lag while recording it. It's mixed in with the audio coming from my computer. This is important for streaming games, for example.

    My question is this: Can this be done on Linux? I've read that the Realtek Audio Manager is a Windows-only program but the sound chip on my mobo supports this feature. Can it be accessed in Linux? I'm not looking for a step-by-step tutorial just yet. Just a quick yes or no, so I can make my decision on whether to switch now or wait until I found a solution for this.

    My motherboard is an ASRock Z77 Pro3. The manufacturer says it uses the Realtek ALC892 Audio Codec. If you need to know anything else about my system, please ask.

    Many thanks!

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

    How to make stow ignore folder?

    Posted: 01 Oct 2019 11:57 AM PDT

    Hi, I have recently made my dotfiles repo. I'm using GNU Stow to create symlinks to dotfiles. I have created script, that executes stow packagename command for every package in my repo, but I would like Stow to ignore some folders. I have created .stow-local-ignore files with ^* inside, but Stow says: ^* matches null string many times in regex and still creates symlinks for files in that folder.

    What should I do in order to make stow ignore everything inside folder, where that file is located?

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

    Why it asks me to unlock my 2 drives in 2 different ways? The latest I have manually configured by adding an entry in fstab and one is crypttab. I would like to unlock both at the same time since they’re encrypted with the same password if possible

    Posted: 01 Oct 2019 11:30 AM PDT

    Just started with Ubuntu as my first ever distro, having issues with the trackpad scrolling.

    Posted: 01 Oct 2019 07:44 AM PDT

    Hi there.

    Just made the jump from Win10, where the trackpad scrolling was quick and sublime. The two finger scrolling feature does work for me, but the speed is extremely slow and frustrating. I have to drag my fingers across the area for a longer distance, to get very little screen scroll mileage in return. Any advice to increase it's sensitivity would be greatly appreciated!

    I have tried playing around in the settings, but no luck so far.

    Here are my specs:

    Laptop: Lenovo Thinkpad L440 Processor: i5 4th Gen Ubuntu version: Ubuntu 18.04.3 LTS

    If there's any info I'm missing to provide, please let me know and I'll update my post accordingly.

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

    Trying to install Solus

    Posted: 01 Oct 2019 03:08 AM PDT

    Im trying to install Solus on my laptop, but it won't let me, it also happened on Manjaro, I believe it has something to do with how Fedora partitioned my drive? It hasn't happened to me before.

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

    When there are headphones connected to my laptop, it shows only one option, the headphones, in output devices (same goes with mic and input) and when I have nothing connected, it shows only one option too but the internal speakers. So audio is working, but I can't change the output device.

    Posted: 01 Oct 2019 08:53 AM PDT

    Remmina on Linux Mint

    Posted: 01 Oct 2019 08:49 AM PDT

    Followed install instructions on https://www.tecmint.com/remmina-remote-desktop-sharing-and-ssh-client/ but when I run Remmina, I only get SSH and SFTP as protocol choices, however, I need RDP to connect to remote Windows rigs. What am I doing wrong?

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

    Linux on a 2 in 1

    Posted: 01 Oct 2019 08:47 AM PDT

    I already bought and installed Elementary OS in an older machine but my personal laptop is a convertible and has a pen, in windows this works really good.

    Do you think it be compatible or do you know any distro with good touch and pen support??

    Also it has windows hello (facial recognition) do you think I can get that working as well?

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

    Need urgent help! Can't connect 4G/LTE modem

    Posted: 01 Oct 2019 08:37 AM PDT

    Every time I try and connect the USB modem via ModemManager and NetworkManager, it will shut off.

    When I run 'ModemManager --debug' on the terminal, I get this output: https://pastebin.com/K7rhECs6

    When I run 'sudo NetworkManager --debug' on the terminal, I get this : https://pastebin.com/zzTsCAR2

    Running mmcli -L gets me :/org/freedesktop/ModemManager1/Modem/0 [huawei] E3372

    and running mmcli -m 0 gets me :https://pastebin.com/72aVjYcC

    When I try to start modemmanager by sudo /usr/sbin/ModemManager, I get :

    ModemManager[9099]: <info> ModemManager (version 1.10.0) starting in system bus...

    ModemManager[9099]: <warn> Could not acquire the 'org.freedesktop.ModemManager1' service name

    ModemManager[9099]: <info> ModemManager is shut down

    I've been trying all the solutions on google but to no avail. Any help is greatly appriciated!

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

    Mounting MS-Dos .img file

    Posted: 01 Oct 2019 08:32 AM PDT

    Hi, im trying to mount an MS-Dos drive image inside linux (Manjaro)

    Its a Fat16 drive (Was Formatted with fdisk from withing msdos). The Img file is empty and i want to transfer files.

    So far ive tried

    sudo mount -t msdos ddrive.img ~/.dosbox/hdd/mnt

    and i get the following error

    mount: /home/lonecoder/.dosbox/hdd/mnt: /home/lonecoder/.dosbox/hdd/ddrive.img is not a block device; try "-o loop".

    so i tried

    sudo mount -o loop ddrive.img ~/.dosbox/hdd/mnt

    and i get

    mount: /home/lonecoder/.dosbox/hdd/mnt: wrong fs type, bad option, bad superblock on /dev/loop1, missing codepage or helper program, or other error.

    Its only to transfer files to and from the drive. Any help is appreciated.

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

    1 heck of a predicament

    Posted: 01 Oct 2019 04:33 AM PDT

    so here's my story:

    i finally got linux mint installed alongside windows 10, at first it took me a while due to enabling legacy mode in two different sections. at first i could not get linux mint to show up in grub until i found out a way to boot into it, now that im in linux mint the wireless network doesn't work, i can't search any wireless networks in the area so i wanted to fix this but it turns out i need to log into windows and download drivers, but now i can't even log into windows because i changed something in bios to boot into mint first. so i guess i have two problems, i cant boot into windows and i cant get internet to work in linux. i dont know if there is a screenshot or command someone wants me to run to show u information on my computer but im so stuck im just gunna wait here until someone knows what they're doing can lead me in a direction so i dont break anything else.

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

    Applying rainbow LED lighting to DS4 controller

    Posted: 01 Oct 2019 08:05 AM PDT

    On Windows you can use DS4Windows to set DS4 LED colors and rainbow very easily, but on Linux I know only how to set individual RGB channels from this guide. Is there even a way to do it? I'm using elementaryOS 5 (Ubuntu)

    submitted by /u/My-Uncle-Touched-Me
    [link] [comments]

    Terminal flags?

    Posted: 01 Oct 2019 12:27 AM PDT

    https://i.imgur.com/3EopO5B.png still absorbing linux knowledge but cant figure out what to search for when looking for these.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel