Arch Linux – Boot stucked after installing SDDM on amd laptop

newbie here, after installing SDDM booting is stuck at: Starting version 245.7-1-arch.When i boot without quiet parameter it’s stuck on Finished| Load/Save random seed.

When i boot with loglevel=7 no errors show after Load/Save random seed line.

I tried – reinstalling sddm, plasma. Installing rng-tools, haveged

UPDATE: Running sddm-greeter returns: GREETER: Could not load the Qt platform plugin “xcb” in “” even though it was found

Go to Source
Author: Lukáš Starinský

netctl: Static IP configuration lost automatically after few seconds of starting the interface

I am using netctl in Arch Linux on Hyper-V. I have two ethernet interfaces eth0 & eth1.

IP config:

  1. eth0: dhcp (automatic configuration, no involvment of netctl)
  2. eth1: static ip (10.10.10.1/8) using netctl profile
  3. dhcpcd installed and enabled at startup
  4. NetworkManager installed and enabled at startup

eth1 netctl profile (/etc/netctl/sth1static):

Description='Static IP config for eth1'
Interface=eth1
Connection=ethernet
IP=static
Address=('10.10.10.1/8')
Gateway='10.10.10.2'
DNS=('10.10.10.2')

To start the interface I am doing as follows:

netctl stop eth1static
ip link set eth1 down
netctl start eth1static
netctl enable eth1static

After following the above steps, I am able to see the static IP configuration applied to the interface using ip a. Also I am able to ping the guest interface from my host OS successfully. However after a minute or so, I see the interface lose its configuration and get a fe80: based IPv6 address only and the ping stops working… Even after reboot, I don’t see the IP configurtion on the interface, where as the other interface (eth0) is working fine.

Could anyone suggest what’s going wrong and how to fix it?

Go to Source
Author: Anirban

Moving Files After Conversion to pdf

I have created a linux script to convert files from .odt to .pdf
But the script after converting moves files into same dir where script is executed. As script is recurring I want files to stay in the same where originals are.
Here is the script.

#!/bin/bash
​
for file in $(find -type f -name '*.odt')
do
    echo $file
    libreoffice --headless --convert-to pdf $file
    #libreoffice --headless --convert-to pdf $file
done
​
​
#find -type f -name '*.odt' -print0 | xargs -0 libreoffice --headless --convert-to pdf

I have tried setting --outdir to be path of directories but it moves all files to those directories. I want converted files to stay in same directory as original files.

Go to Source
Author: SahilM

I was installing Arch Linux but I messed up, I wanted to restart so I rebooted and booted back into my bootable USB. I am now in the interactive shell

Like I mentioned in the title I was at point where I was about to install grub but I found out I had messed up so I restarted and booted back into my USB, I am now stuck in the interactive shell. I am going to try to reboot and boot into manjaro using anothet USB unless someone says I shouldn’t.

Here’s a picture of my situation http://imgur.com/gallery/0kCyyxr

Go to Source
Author: probablyasmurf