General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
Annoying question here, you guys might not be able to solve it but I need to work it out and I'm running out of places to ask
I'm using this TCL / Expect script called [url=https://hg.openttdcoop.org/autopilot]Autopilot+[/url] to run a OpenTTD server, and it monitors the output of ./openttd -D in the tty to do administrative stuff like IRC mirroring, etcetera. If I try to start it through a Systemd unit, it just fails with:
[code]Jan 21 00:11:12 cream.luaduck.co.uk bash[10528]: expect: spawn id exp0 not open
Jan 21 00:11:12 cream.luaduck.co.uk bash[10528]: while executing
Jan 21 00:11:12 cream.luaduck.co.uk bash[10528]: "expect_user {[/code]
which I'm putting down to it not having a physical TTY to work with. Any workarounds I can use? Screen works, but it doesn't give me any feedback and I need that for a web interface I'm working on, and so that other peeps can restart it. Fedora 19, x64.
Try setting "use_console = no" in the config.
I'm using windows again for the first time in a long while due to college and DAMN everything looks blurry as fuck.
[QUOTE=Mega1mpact;43615937]I'm using windows again for the first time in a long while due to college and DAMN everything looks blurry as fuck.[/QUOTE]
Windows still has horrible DPI scaling
[QUOTE=kaukassus;43616642]Windows still has horrible DPI scaling[/QUOTE]
And horrible font rendering. And horrible viruses, and horrible slowness. Pretty sure it's just horrible
[QUOTE=djjkxbox360;43616926]And horrible font rendering. And horrible viruses, and horrible slowness. Pretty sure it's just horrible[/QUOTE]
And horrible filesystem, and horrible shell, and horrible window manager, and horrible security. Yeah, horrible.
Too bad almost every big developer is developing with Windows in mind. Only one AAA title is needed for Linux and its popularity will climb higher and higher.
Only reason I use windows is because of the support, too many programs I can't really use or games I can't play on Linux. Seems like the situation is slowly getting better though, thanks mostly to Valve.
[QUOTE=supervoltage;43618724]Too bad almost every big developer is developing with Windows in mind. Only one AAA title is needed for Linux and its popularity will climb higher and higher.[/QUOTE]
We've already got Metro: Last Light and the entire Valve library... Unless you mean something like CoD or Battlefield being ported to Linux.
There's also the Steam Machines coming up which, I think, is a really good move from Valve to get game developers to support Linux.
[editline]21st January 2014[/editline]
Also I feel like they're going to announce HL3 sometime this year in an event related to the Steam Machines. It would really promote the SMs.
Drivers are also a big issue. Maybe not just from your few video card companies, but from integrated graphics as well. Intel's Sandy Bridge still freezes up at times though it's gotten better over the kernel releases.
[QUOTE=Lyoko774;43619908]We've already got Metro: Last Light and the entire Valve library... [/QUOTE]
minus CS:GO and Portal 2.
Linux related ish. Need a graphics card to go with some old parts for a HTPC/steam box. Going for something that's supported by radeon/radeonsi (if the performance really is fixed with 3.13) and also don't want to spend anything much, will be mostly watching video, perhaps netflix through pipelight, steam in home streaming, you get the idea. Any suggestions? The 6450 seems really very cheap but would it be too weak for this? Maybe a 6670 or even an R7 240, but only if it's worth the cost for this use case. Never really looked at GPUs from a perspective other than gaming before so this is kinda new.
I wouldn't really trust the open-source drivers for that, I'd go with Nvidia and proprietary drivers.
[QUOTE=nikomo;43621938]I wouldn't really trust the open-source drivers for that, I'd go with Nvidia and proprietary drivers.[/QUOTE]
For gaming I would recommend Nvidia with proprietary aswell, but the opensource drivers for the R900 chipset (6000 series) is not bad at all actually. I went from the troublesome Catalyst driver to the opensource ones without a hitch. I even get better all around performance in KDE and some games.
[URL="http://www.phoronix.com/scan.php?page=article&item=amd_gallium3d_2013&num=1"]Phoronix: Open-Source AMD Radeon Graphics Had A Wonderful 2013[/URL]
[URL="http://www.phoronix.com/scan.php?page=article&item=amd_8way_cat11&num=1"]Phoronix: 8-Way AMD Gallium3D vs. Catalyst Ubuntu GPU Benchmarks[/URL]
It seems like you have to be somewhat lucky though, as not all of the cards in the 6000-series performs just as good. (I got the 6870)
See: [URL="http://www.phoronix.com/scan.php?page=article&item=amd_gallium3d_tf2css&num=1"]Phoronix: 13-Way AMD GPU Open-Source Linux Driver Comparison On The Source Engine[/URL]
[QUOTE=Anderen2;43622173]For gaming I would recommend Nvidia with proprietary aswell, but the opensource drivers for the R900 chipset (6000 series) is not bad at all actually. I went from the troublesome Catalyst driver to the opensource ones without a hitch. I even get better all around performance in KDE and some games.
[URL="http://www.phoronix.com/scan.php?page=article&item=amd_gallium3d_2013&num=1"]Phoronix: Open-Source AMD Radeon Graphics Had A Wonderful 2013[/URL]
[URL="http://www.phoronix.com/scan.php?page=article&item=amd_8way_cat11&num=1"]Phoronix: 8-Way AMD Gallium3D vs. Catalyst Ubuntu GPU Benchmarks[/URL]
It seems like you have to be somewhat lucky though, as not all of the cards in the 6000-series performs just as good. (I got the 6870)
See: [URL="http://www.phoronix.com/scan.php?page=article&item=amd_gallium3d_tf2css&num=1"]Phoronix: 13-Way AMD GPU Open-Source Linux Driver Comparison On The Source Engine[/URL][/QUOTE]
As I said, I won't be directly playing games on it, instead using Steams streaming from my primary PC.
Ubuntu (it's actually Upstart-related, so anything that uses Upstart probably, which is... Ubuntu) is incapable of performing a clean shutdown, even if the user requests it (AKA turns off the computer through the menu), which is causing filesystem breakage.
[url]https://plus.google.com/u/0/+LennartPoetteringTheOneAndOnly/posts/LjkLwkeDiLc[/url]
The good thing about that though, is that problems in filesystems regarding unclean shutdowns, actually get found out, because Ubuntu does it so frequently.
[url]https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1073433/[/url]
[quote]
No one else has complained or noticed up until now, because other distro's apparently are capable of doing a clean shutdown allowing the file system to be unmounted cleanly. Ubuntu, unfortunately, is incapable of reliably doing a clean shutdown even when users request it, which is why Ubuntu users are seeing this behavior much more frequently, and apparently some people have panicked as a result. Sigh....
[/quote]
With UEFI, is it super easy to move your root partition? I've been thinking about doing it and it seems like all I would need to do is move the partition and change the PARTUUID in the bootloader...
Nothing is easy with UEFI.
[QUOTE=Larikang;43625429]With UEFI, is it super easy to move your root partition? I've been thinking about doing it and it seems like all I would need to do is move the partition and change the PARTUUID in the bootloader...[/QUOTE]
Depends on the bootloader/manager you're using. If you're using something like rEFInd: you don't have to do anything but move the root partition. rEFInd will scan and find the installation like usual, but I can't speak for other efi bootmanagers.
Can't find an easily readable source, but I'm trying to figure out a bash script to rename multiple files just by file type (eg. file.php to file.txt). I heard this is possible with proper use of the [b]cp[/b] command, but can't find it again. What do you guys suggest?
Just spent a bit over an hour just doing the base setup of Arch.
Fucking everything goes just fine, reboot, Operating System not found.
Ugh, I might actually try to debug it this time, instead of just saying fuck it.
Edit:
I got into my zen position, thought "What would MacGyver do?" and explored the universe, after which I remembered I didn't set my /boot partition as a bootable partition.
It works now.
[t]http://i.imgur.com/6b8sSdN.jpg[/t]
It's happening, I guess?
Now I need to decide how I want the rest of my system to work.
how do I permanently set my setxkbmap layout? I keep switching to norwegian layout, and the keyboard.conf in x11 says it's no but it keeps resetting every so often. why is this?
What DE/WM do you use?.
Do you mean resets on boot or?.
[QUOTE=initrd;43631504]What DE/WM do you use?.[/QUOTE]
Gnome.
Some people hate it but eh. Whatever floats your boat.
You mean PredGD or you?.
If PredGD, DEs usually have a keyboard layout setting in the control panel so using config files is not necessary and may not work correctly.
If you mean yourself, it's also good to know what other people use; i use xfce since it's light on resources, and is more useable than lxde.
Enlightenment for life
(even though I haven't used a proper Linux install for the past few months :saddowns: I miss it.)
Love me some Openbox, been my WM of choice for a fairly long time.
Glorious pipe menus.
Openbox is wonderful, too. Honestly, I don't really dislike any WM. They all have their merits and uses.
Except Compiz.
Fuck Compiz. With a rusty spoon.
Sorry, you need to Log In to post a reply to this thread.