General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[QUOTE=Larikang;44194747]I'm leaning towards ZFS but it really rubs me the wrong way that the only "easy" way to install it would be to use an unofficial repository. Also I would need to build a custom live image if I wanted to be able to fix anything when my system can't boot. I'm starting to think I'll just stick with ext4 and hope that none of my disks fail before Btrfs becomes more robust.[/QUOTE]
What distribution are you using? You can add boot option for most kernels to blacklist modules, in which case you would just blacklist 'zfs' to have it not load the zfs module and thus be unable to actually load any zfs partitions, allowing you to do recovery if things ever go bad. But why would they ever go bad?
[QUOTE=mastersrp;44194780]But why would they ever go bad?[/QUOTE]
Watch it, every time I ask myself that question shit goes bad.
It's the MacBeth of the Linux world.
I don't know much about btrfs or its niche features. One thing I immediately noticed is that btrfs doesn't make a big journaling file. Ext4 always makes a big 'lost+found' folder for this. It also auto detects my sad and applies the correct TRIM without doing anything. It also installs Arch faster on my SSD. And it hasn't crashed/gone bad. Stable enough for me.
Thus my entire knowledge of alternative FS's has been depleted.
[editline]11th March 2014[/editline]
Damn do I love btrfs + my SSD. Takes literally one minute to download and install arch base + base-devel
[QUOTE=rilez;44207049]I don't know much about btrfs or its niche features. One thing I immediately noticed is that btrfs doesn't make a big journaling file. Ext4 always makes a big 'lost+found' folder for this. It also auto detects my sad and applies the correct TRIM without doing anything. It also installs Arch faster on my SSD. And it hasn't crashed/gone bad. Stable enough for me.
Thus my entire knowledge of alternative FS's has been depleted.
[editline]11th March 2014[/editline]
Damn do I love btrfs + my SSD. Takes literally one minute to download and install arch base + base-devel[/QUOTE]
iirc the lost+found is for orphaned files that are found on the file system.
[editline]12th March 2014[/editline]
/g/ found my domain. I didn't know this except for the fact that my server was suddenly getting a shitton of traffic.
[url]http://archive.rebeccablacktech.com/g/thread/S40695237[/url]
Also who is "that faggot who also goes to this forum"
[editline]12th March 2014[/editline]
I'm gonna need a bigger server [t]http://i.imgur.com/oTDlYGH.png[/t]
[QUOTE=Mega1mpact;44210737]Also who is "that faggot who also goes to this forum"[/QUOTE]
I plead the fifth.
Hello,
I have the following problem. I have one gmod server installed and just copied the main "gameserver" folder from it and named it "gameserver_1". I also copied the startscript from the old one and changed the paths in it. But now when I try to start it through webmin I get the following error [code]Executing /etc/init.d/garrysmod_tttserver_1 start ..
/bin/sh: 1: /etc/init.d/garrysmod_tttserver_1: not found
[/code]
[QUOTE=Tezou;44215241]Hello,
I have the following problem. I have one gmod server installed and just copied the main "gameserver" folder from it and named it "gameserver_1". I also copied the startscript from the old one and changed the paths in it. But now when I try to start it through webmin I get the following error [code]Executing /etc/init.d/garrysmod_tttserver_1 start ..
/bin/sh: 1: /etc/init.d/garrysmod_tttserver_1: not found
[/code][/QUOTE]
It needs to be executable, also ensure that the user trying to execute it has permissions to execute said file.
It is executable.
How can I add this permission? The startscript is in /etc/init.d/garrysmodstart.sh
And the server files in /home/kilian/gameserver_1/garrysmod
So I'd like to make the switch to linux, probably Arch.
There is are two games that I really don't want to stop playing, Third Strike and Street Fighter 4.
Probably a long shot but has anyone ran ggpo on linux or ssf4? Experiences?
How is wine for games now, has it improved in the last few years?
[QUOTE=reevezy67;44220369]So I'd like to make the switch to linux, probably Arch.[/QUOTE]
don't. assuming you are completely new to Linux, you'd be better off with an Ubuntu derivative like Xubuntu or Kubuntu. Ubuntu would do but the interface is pretty crap and the themeing can get fucked if you install other desktop environments.
[QUOTE=reevezy67;44220369]How is wine for games now, has it improved in the last few years?[/QUOTE]
you can check the performance of games on [URL="http://appdb.winehq.org/objectManager.php?sClass=category&iId=2&sAction=view&sTitle=Browse+Applications"]WineHQ[/URL]. you might also want to take a look at [URL="http://www.playonlinux.com/en/"]playonlinux[/URL] which is based on WINE.
[QUOTE=Tezou;44216312]It is executable.
How can I add this permission? The startscript is in /etc/init.d/garrysmodstart.sh
And the server files in /home/kilian/gameserver_1/garrysmod[/QUOTE]
Are you running the init script as root? If so, make sure that you've run
[code]
sudo chmod +x /etc/init.d/garrysmodstart.sh
[/code]
before executing the init script.
Thanks.
Well now it says:
[code]
Executing /etc/init.d/garrysmod_tttserver_1 start ..
/bin/sh: 1: /etc/init.d/garrysmod_tttserver_1: not found
[/code]
The startscript is exactly is same, except of the path.
[code]
#!/bin/sh
### BEGIN INIT INFO
# Provides: kilian
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Garrysmod server
# Description: Starts a the 32 Slot TTT Server
### END INIT INFO
NAME="Garrysmod"
USER="kilian"
SCREENREF="garrysmod"
BINARYPATH="/home/kilian/gameserver_1/"
BINARYNAME="srcds_run"
PIDFILE="garrysmod_1.pid"
OPTS="-game garrysmod +maxplayers 32 +map ttt_minecraft_b5 +host_workshop_collection 222194437 -authkey XXX"
cd "$BINARYPATH"
running() {
if [ -n "`pgrep -f $BINARYNAME`" ]; then
return 0
else
return 1
fi
}
start() {
if ! running; then
echo -n "Starting the $NAME server... "
start-stop-daemon --start --chuid $USER --user $USER --chdir $BINARYPATH --exec "/usr/bin/screen" -- -dmS $SCREENREF $BINARYPATH/$BINARYNAME $OPTS
pgrep -f $BINARYNAME > $PIDFILE
if [ -s $PIDFILE ]; then
echo "Done"
else
echo "Failed"
rm $PIDFILE
fi
else
echo "The $NAME server is already started."
fi
}
stop() {
if running; then
echo -n "Stopping the $NAME server... "
kill `cat $PIDFILE`
while running; do
sleep 1
done
rm $PIDFILE
echo "Done"
else
echo "The $NAME server is already stopped."
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
if running; then
echo "The $NAME server is started."
else
echo "The $NAME server is stopped."
fi
;;
*)
echo "Usage: $0 (start|stop|restart|status)"
exit 1
esac
exit 0
[/code]
EDIT:
Okay I got it now to work, eventually. Now my error changed into the following:
[code]Executing /etc/init.d/garrysmod_tttserver_1 start ..
The Garrysmod server is already started.
[/code]
But it's not. A other gmod server is already running, yes, but this is in another directory.
I already tried, just to change the "SCREENREF", but that didn't changed anything.
Here's my current startscript:
[code]#!/bin/sh
### BEGIN INIT INFO
# Provides: kilian
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Garrysmod server 1
# Description: Starts a the 32 Slot TTT Server
### END INIT INFO
NAME="Garrysmod"
USER="kilian"
SCREENREF="garrysmod_1"
BINARYPATH="/home/kilian/gameserver_1"
BINARYNAME="srcds_run"
PIDFILE="garrysmod_1.pid"
OPTS="-game garrysmod +maxplayers 32 +map ttt_minecraft_b5 +host_workshop_collection 222194437 -authkey 00358ABD107258925234C5E34079F653"
cd "$BINARYPATH"
running() {
if [ -n "`pgrep -f $BINARYNAME`" ]; then
return 0
else
return 1
fi
}
start() {
if ! running; then
echo -n "Starting the $NAME server... "
start-stop-daemon --start --chuid $USER --user $USER --chdir $BINARYPATH --exec "/usr/bin/screen" -- -dmS $SCREENREF $BINARYPATH/$BINARYNAME $OPTS
pgrep -f $BINARYNAME > $PIDFILE
if [ -s $PIDFILE ]; then
echo "Done"
else
echo "Failed"
rm $PIDFILE
fi
else
echo "The $NAME server is already started."
fi
}
stop() {
if running; then
echo -n "Stopping the $NAME server... "
kill `cat $PIDFILE`
while running; do
sleep 1
done
rm $PIDFILE
echo "Done"
else
echo "The $NAME server is already stopped."
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
if running; then
echo "The $NAME server is started."
else
echo "The $NAME server is stopped."
fi
;;
*)
echo "Usage: $0 (start|stop|restart|status)"
exit 1
esac
exit 0
[/code]
BTW, this is how my "/home/kilian" directory looks, I just copied the first "gameserver" folder and renamed it "gamerserver_1". Maybe that could cause the problem?!
[IMG]http://i.imgur.com/YfPozRX.png[/IMG]
I updated PushOverAuth. It now sends prettier messages. [url]https://github.com/Mechazawa/PushOverAuth[/url]
[t]https://github-camo.global.ssl.fastly.net/7f1a590945110b8a6b95b6204637e839b3fcc48f/687474703a2f2f692e696d6775722e636f6d2f355653624643392e706e67[/t]
Watching HTML5 videos in 720p on YouTube absolutely murdered performance on my laptop, so I started playing around with stuff.
VLC manages to actually play 720p YouTube videos without murdering my laptop, so now I'm just using that.
[t]http://i.imgur.com/20C7LDE.jpg[/t]
Works great. I really need to have a look at my fonts later today though.
[editline]13th March 2014[/editline]
Now VLC's browser plugin just decided to not work.
This is going to require work.
Why not tell mplayer2 to play the video?
Because I'm not a communist that uses mplayer.
(And because I don't use the damn thing, don't even have it installed I believe, and I'm not sure how you'd go about doing that)
I'm using a different userscript to do YouTube with VLC now, works great.
Still working on the Cinpli project:
[t]http://i.imgur.com/VQ97MYB.png[/t]
[t]http://i.imgur.com/9lnKU1s.jpg[/t]
I've switched back to GNOME. Cinnamon is too "unfinished". So I've come up with a unique solution, to retain the "freedom" that Cinnamon offered.
The distro will run under GNOME session. The top panel you're seeing is actually XFCE panel. So you have the benefit of GNOME session (proper GTK3 support, GNOME activities/overview ((which are awesome IMO))) but the freedom of XFCE/Cinnamon (you can place applets just like you would in XFCE/Xubuntu/etc). Best of both worlds.
The side panel is the default GNOME dash, brought to the desktop and modified with several extensions. It works like Unity's dock, except it intelligently dodges windows, and you can delete it if you want. Moving it however is a pain in the ass, so I'm hoping people don't mind having it on the left. Unlike other docks, it doesn't disappear when you enter activities (and has drag-drop support). It can be removed from the desktop without breaking the session (so you can use AWN, Docky, Plank, whatever you think works better)
It displays running applications, favorites. You can turn all of those off and just have it be an activities button. It can also be centered like the GNOME dash usually is.
I've gone through all the docks and every major DE. This IMO is the best combination of looks and function.
[editline]14th March 2014[/editline]
One problem is the XFCE panel disappears in activities. So right now I just have both panels set to look the same. I think I'll just hide everything on the main GNOME panel and make it transparent
Are you using xorg or wayland? It'd be awesome if it used wayland.
Also can we download and image somewhere?
I'm not even sure where Wayland support is at right now. I'm using GNOME stable (for Arch, so 3.10.2) which I don't think has full support. How does that work in regards to proprietary drivers/Steam?
I'll drop an image here soon. I've settled on the interface, so now I'm working on the theme and packages. When that stuff is usable, I'll work something out
Forgot to mention I found this gem the other day, will definitely include this:
[URL]http://code.google.com/p/arch-argon/[/URL]
I honestly don't know where support for wayland is right now. You should hop into the Fedora irc and ask since redhat is pushing wayland to fedora 21 soon. Also they are one of the driving forces behind making more and more stuff support wayland.
F21 is still a ways out though. Like October late. And Fedora is usually the first distribution to release with new GNOME releases. I'd like to have something out way before that.
That's why you should ask what the current state of support for wayland is at in the fedora channel. If anyone knows it'd be RedHat/Fedora
[editline]14th March 2014[/editline]
or the wayland channel.
Give me the image so I can give it a go and try to install wayland on it
I just a built a new HTPC/stream machine. It was a bit of a dilemma to figure out how to get it to easily switch between XBMC and Steam BPM (without needing a mouse or keyboard), but I eventually came up with a really simple hack:
1. Set up autologin and starting X at login
2. Install openbox (or some other minimal WM. Steam needs to run in a WM)
3. ~/.config/openbox/autostart
[code]
steam steam://open/bigpicture
openbox --exit
[/code]
4. ~/.xinitrc
[code]
mv ~/.xmedia ~/.xmedia.tmp
mv ~/.xmedia.other ~/.xmedia
mv ~/.xmedia.tmp ~/.xmedia.other
~/.xmedia
[/code]
5. ~/.xmedia
[code]
exec xbmc
[/code]
6. ~/.xmedia.other
[code]
exec openbox-session
[/code]
And that's it. All you do is exit whichever program you are in and it restarts X to run the other program.
I cannot thank enough the developers of Arch for not using ubuntu's way of booting stuff.
Since my pen drive broke I had to find a new way to boot into live systems. There are programs like unetbootin and universal usb installer which can extract iso files onto usb drives etc. These programs have an option to extract to any drive you want to, which is great because I can just snip off a 2 gb from windows to make a fat32 partition, unpack onto it and restart. I had to make several attempts editing the BCD file to make new boot options towards several bootloaders, which all have failed in several ways, but mostly not finding the medium that contains the live system where it boot off? With ubuntu and its derivatives, they load the kernel and the initrd then it stops waiting and displaying the initramfs prompt. But they don't emit any information about the issue. Arch linux wrote out that it couldn't find /dev/disk/by-label/ARCHBANG so all I had to do is either relabel the partition, or do a symlink inside initramfs to continue booting. Now I'm typing from the live system, and it works very well!
[editline]14th March 2014[/editline]
[t]http://i.imgur.com/jorPZrz.png[/t]
It's incredible how much ram it eats.
[QUOTE=rilez;44231814]Still working on the Cinpli project:
[img]http://i.imgur.com/VQ97MYB.png[/img]
[/QUOTE]
Now I know what I would really like in a DE. That combination of Unity and GNOME Shell where the Dash is replaced with the activities overview (and I'm not talking about just Shell with a dock). And when GNOME 3.12 comes out, it should be possible to use a context menu on those shortcuts like with Unity. Shame XFCE global menus don't really exist or work on more recent versions.
The GNOME dash on the left supports context menus like Unity. So for example, Nautilus shows your Home directories. Xnoise brings up playlist information. Can't quite remember how I got that working, think it's a combination of a package and an extension. Can't check though because...
On a side note, tried compiling GNOME 3.11.(9?). Whatever the beta is. Broke my install, whoops. Backed up most of the important stuff. Is there an easy way to install the beta on Arch? I was trying to install packages from here: [URL]https://github.com/lubosz/gnome-unstable[/URL]
I think what I'll do now that my system is broken is check out SteamOS. They've got their own custom compositor running on top of GNOME shell, and it's based on xcompmgr. What I would like to do is get Compton (based on xcompmgr) working with this custom shell/DE situation I've got going on. Compton is beautiful when configured.
[QUOTE=rilez;44239193]The GNOME dash on the left supports context menus like Unity. So for example, Nautilus shows your Home directories. Xnoise brings up playlist information. Can't quite remember how I got that working, think it's a combination of a package and an extension. Can't check though because...[/QUOTE]
Now I'm curious on that package and extension. None of the extensions in the extensions web site seem to have that feature (Shell 3.10).
[img]http://i.imgur.com/6Wzj8MA.png[/img]
On Unity, this would of had a New File and New Window option as specified in its *.DESKTOP shortcut, but New Window's native on the shell.
Managed to fix my install by chrooting from archiso. I've never felt this confident about working with Linux before, almost seems easy now.
Any way, these two extensions should get you most of the way there. I know why you didn't find it on the website:
[URL]http://code.google.com/p/quicklists-gnome-shell-extension/[/URL]
[URL]https://extensions.gnome.org/extension/763/quit-from-dash/[/URL]
Make sure you have xdg-user-dirs and xdg-user-dirs-gtk installed, not sure if they're deps but they might add more function
[editline]14th March 2014[/editline]
Seems to work for me :)
[t]http://i.imgur.com/saCuOkP.png[/t]
I just compared Xorg to driving through a forest full of violent convicts with guns that have just escaped from a nearby prison.
It's a good day.
I would like to be able to send input to an X session through SSH or something. Sometimes Steam needs to be monkeyed with outside of BPM and it's annoying to need to lug out a mouse and keyboard each time for the HTPC. If I could somehow use my laptop's touchpad and keyboard to control it, that would be awesome.
Right now I'm using [URL="http://forum.xda-developers.com/showthread.php?t=1292627"]Droidmote[/URL], which works kinda nicely with my tablet but it doesn't support keyboard key/mouse press combinations among other things.
Does anyone know of something like that for Linux? Bonus points for it being open source.
[editline]15th March 2014[/editline]
I should have Googled harder. [URL="https://github.com/dottedmag/x2x"]x2x[/URL]
[code]ssh -Y htpc x2x -to :0 -north[/code]
Sorry, you need to Log In to post a reply to this thread.