General Linux Chat and Small Questions v. Year of the Linux Desktop!
4,886 replies, posted
[QUOTE=mastersrp;50192534]You might try to download and compile it yourself, then fix a nice custom ebuild for yourself.[/QUOTE]
I JUST might be able to accomplish former, but latter is definitely gonna crash and burn harder than the ebuilds I found
[QUOTE=Van-man;50192610]I JUST might be able to accomplish former, but latter is definitely gonna crash and burn harder than the ebuilds I found[/QUOTE]
How so? An ebuild is literally just a list of commands to run with some meta information.
[QUOTE=mastersrp;50192646]How so? An ebuild is literally just a list of commands to run with some meta information.[/QUOTE]
Because I'm a idiot at compiling, that's why.
Trust me, ebuilds have shielded me from fucking shit up, without that safety net, it WILL go bad.
[QUOTE=Van-man;50192683]Because I'm a idiot at compiling, that's why.
Trust me, ebuilds have shielded me from fucking shit up, without that safety net, it WILL go bad.[/QUOTE]
1. install dependencies
2. make && make install
3. ????
[QUOTE=maaatts;50200120]1. install dependencies
2. make && make install
3. ????[/QUOTE]
Throws errors at me I can't decipher myself, even with a search engine at my disposal.
Most likely a arcane dependency it's shit at telling me about, or some shitty code practice that was tolerable a few years ago, but now makes newer compilers get their panties in a bunch.
[QUOTE=Van-man;50200191]Throws errors at me I can't decipher myself, even with a search engine at my disposal.
Most likely a arcane dependency it's shit at telling me about, or some shitty code practice that was tolerable a few years ago, but now makes newer compilers get their panties in a bunch.[/QUOTE]
[code]$ ./configure --help[/code]
You might need to pass some arguments to configure here and there. Example, supposing what you're compiling has problems finding a "libbizarro" because it's in, well, a bizarre directory that the script doesn't think to check, you might need to tell it where that library is:
[code]$ ./configure --libbizarro-path=/opt/libbizarro/include[/code]
Is the brainfuck scheduler worth using today on modern machines? Or is it just observably benificial on old machines? I pretty much always use linux-ck when I use a different kernel source. I dunno though, might be placebo.
Just switch to the default kernel scheduler and see if you notice the slowdown. I don't know what distro you're on, so I don't know if that means changing kernel packages for you or setting an option in kernel config or what, but I'm assuming switching kernels and/or schedulers isn't too much of a pain in the ass, so if you don't like it you can just switch back :v:
[QUOTE=lavacano;50205371]Just switch to the default kernel scheduler and see if you notice the slowdown. I don't know what distro you're on, so I don't know if that means changing kernel packages for you or setting an option in kernel config or what, but I'm assuming switching kernels and/or schedulers isn't too much of a pain in the ass, so if you don't like it you can just switch back :v:[/QUOTE]
I'll probably test this on Gentoo then. Super easy and I can make sure they're configured the exact same (aside from the ck specific options)
feeling pretty genius! never really made something completely on my own using bash scripting, but today that changed. I saw some discussion about RAMDisks in sipwicket and I had the idea that I could probably put my FTB servers on a RAM disk as I have about 16GB in excess. tried scripts found on the internet first which didn't work (to copy the server off the RAM disk at regular intervals) so I made my own script. also solved my issue of server not auto restarting upon crash as the script also handles that
[code]#!/bin/bash
DATE=`date +%s`
if ps cax | grep startNormal; then
echo "Server running. Making backup."
cp -rv --preserve=links "/home/minecraft/Infinity/normal_RAMDISK/" "/home/minecraft/Infinity/backups/normal/$DATE"
cd /home/minecraft/Infinity/backups/normal && rm -rf `ls -t | tail -n +6`
echo "Backup complete!"
else
echo "Server not running. Launching..."
screen -S normal -X stuff 'cd /home/minecraft/Infinity/normal_RAMDISK && ./startNormal.sh\n'
echo "Server script executed!"
fi
[/code]
if I knew it was this easy then I would have done this ages ago. put it in my crontab to run every 5 minutes, works pretty swell so far
[QUOTE=PredGD;50206697]feeling pretty genius! never really made something completely on my own using bash scripting, but today that changed. I saw some discussion about RAMDisks in sipwicket and I had the idea that I could probably put my FTB servers on a RAM disk as I have about 16GB in excess. tried scripts found on the internet first which didn't work (to copy the server off the RAM disk at regular intervals) so I made my own script. also solved my issue of server not auto restarting upon crash as the script also handles that
[code]#!/bin/bash
DATE=`date +%s`
if ps cax | grep startNormal; then
echo "Server running. Making backup."
cp -rv --preserve=links "/home/minecraft/Infinity/normal_RAMDISK/" "/home/minecraft/Infinity/backups/normal/$DATE"
cd /home/minecraft/Infinity/backups/normal && rm -rf `ls -t | tail -n +6`
echo "Backup complete!"
else
echo "Server not running. Launching..."
screen -S normal -X stuff 'cd /home/minecraft/Infinity/normal_RAMDISK && ./startNormal.sh\n'
echo "Server script executed!"
fi
[/code]
if I knew it was this easy then I would have done this ages ago. put it in my crontab to run every 5 minutes, works pretty swell so far[/QUOTE]
I'm not sure, but it seems you're taking a backup, and then deleting the last 6 backups?
If so, then I can only advise you try something like borg backup, to avoid accidentally deleting *all* your backups just because size.
[QUOTE=mastersrp;50207116]I'm not sure, but it seems you're taking a backup, and then deleting the last 6 backups?
If so, then I can only advise you try something like borg backup, to avoid accidentally deleting *all* your backups just because size.[/QUOTE]
it takes a backup, and if there's a sixth folder in the directory it'll delete said folder.
[QUOTE=PredGD;50207578]it takes a backup, and if there's a sixth folder in the directory it'll delete said folder.[/QUOTE]
Whoops, you're right. Missed the '+'. Still, you might want to back up more than the last 6 backups. Especially if you're doing this every 5 minutes.
[QUOTE=mastersrp;50207707]Whoops, you're right. Missed the '+'. Still, you might want to back up more than the last 6 backups. Especially if you're doing this every 5 minutes.[/QUOTE]
it's more of a "ensure server is preserved in the event of power failure" (RAM disks man) than a backup so I feel pretty confident with 5 backups. I suppose I could spare the space for 10 backups, I do have 2TB at my disposal. probably better that way anyway
[QUOTE=thelurker1234;50204193]Is the brainfuck scheduler worth using today on modern machines? Or is it just observably benificial on old machines? I pretty much always use linux-ck when I use a different kernel source. I dunno though, might be placebo.[/QUOTE]
I was recently reading about this and it's a wash compared to the current scheduler. There's a bunch of good LWN articles on the subject: [url]https://lwn.net/Kernel/Index/#Scheduler[/url]
There's also an interesting HackerNews article on the subject: [url]https://news.ycombinator.com/item?id=11501493[/url]
Why isn't Ubuntu being downloaded from releases.ubuntu.com; rather, from this server? Is this an official Ubuntu releases server?
I know I am a bit paranoid, but after what happened with Linux Mint, I just feel like I should double check.
In any case, I will verify the ISO after downloading it.
[IMG]http://i66.tinypic.com/2gy3ot2.png[/IMG]
[QUOTE=~Kiwi~v2;50215128]It chooses your closet mirror.
Because I live in New Zealand my local mirror is this.
[img]https://chie.club/files/images/st/d8b72022-2750-4cbb-9cef-7e7fb49426f7.png[/img]
Of course you can go [URL="http://releases.ubuntu.com/16.04/"]here[/URL][/QUOTE]All right, thank you for your help! :smile:
[QUOTE=Reflex F.N.;50215140]All right, thank you for your help! :smile:[/QUOTE]
For further info on it, Cloudfront is Amazon's CDN which means that particular mirror is just hosted on AWS
What do you think would be better out of the box for an everyday user who wants to use KDE Plasma 5? Kubuntu or Debian testing?
Kubuntu, more stable
Also Kubuntu comes with KDE out of the box (dunno if it's Plasma 5 yet or not), unlike Debian, unless I missed something about their install process.
[QUOTE=lavacano;50219498]Also Kubuntu comes with KDE out of the box (dunno if it's Plasma 5 yet or not), unlike Debian, unless I missed something about their install process.[/QUOTE]
You can download alternative flavors of Debian with support for various desktop environments, but unsurprisingly they're mostly focused on the stable versions.
[QUOTE=lavacano;50219498]Also Kubuntu comes with KDE out of the box (dunno if it's Plasma 5 yet or not), unlike Debian, unless I missed something about their install process.[/QUOTE]
You can pick KDE during initial installation:
[quote=https://wiki.debian.org/KDE]
KDE Plasma Desktop task is what is installed by Debian-Installer's Desktop "task". You can choose this by going to "Advanced Options" => "Alternative Desktop Environments" => "KDE" in the installer menu (or by typing install desktop=kde at DebianInstaller CD prompt).[/quote]
[QUOTE=Van-man;50219506]You can download alternative flavors of Debian with support for various desktop environments, but unsurprisingly they're mostly focused on the stable versions.[/QUOTE]
Actually when I installed Debian with the netinstall, it asked me which DEs I wanted with my install, and let me select from Gnome, XFCE, KDE, and others. Like others have mentioned it's sticking with stable versions of KDE, so it's on KDE 4 something and I wanted to mess around with 5.
Debian testing is on KDE 5 though.
[QUOTE=SGTNAPALM;50219167]What do you think would be better out of the box for an everyday user who wants to use KDE Plasma 5? Kubuntu or Debian testing?[/QUOTE]
There's also openSUSE, which also comes with a well-integrated KDE desktop and the YaST which makes a lot of jobs easy. Main downsides are that it comes with quite a bit of bloat (tho, kubuntu does too), and problems won't be as easily googleable, but the IRC is quite helpful if needed.
[QUOTE=sam6420;50219977]I was surprised Debian had included DE's. Such a neat-o feature.[/QUOTE]
The debian installer is pretty great. [URL="https://www.youtube.com/watch?v=qHGTs1NSB1s"]Linus Torvalds ought to try it![/URL]
Oh, also, I noticed a little mistake in the OP. It says that fedora is the open source version of RHEL, but it's really just the gratis/free of charge version of it. RHEL is open-source.
I always thought that Fedora was like RHEL Public Beta
[QUOTE=Adam.GameDev;50220769]I always thought that Fedora was like RHEL Public Beta[/QUOTE]
That's more like it.
The closest thing to a totally free RHEL would be CentOS, which is mostly RHEL with the trademarks ripped out. They might have some additional patches, I'm not sure, but they're 100% compatible with binaries/packages for RHEL.
CentOS is basically free RHEL with no enterprise support. Fedora is the testing distro, and is more workstation geared.
[editline]28th April 2016[/editline]
Also Fedora OP
[QUOTE=thelurker1234;50220422]There's also openSUSE, which also comes with a well-integrated KDE desktop and the YaST which makes a lot of jobs easy. Main downsides are that it comes with quite a bit of bloat (tho, kubuntu does too), and problems won't be as easily googleable, but the IRC is quite helpful if needed.
The debian installer is pretty great. [URL="https://www.youtube.com/watch?v=qHGTs1NSB1s"]Linus Torvalds ought to try it![/URL]
Oh, also, I noticed a little mistake in the OP. It says that fedora is the open source version of RHEL, but it's really just the gratis/free of charge version of it. RHEL is open-source.[/QUOTE]
I like apt though, so I'm trying to stay in the Debian family.
[editline]28th April 2016[/editline]
I wound up installing Kubuntu.
augh
Does anybody know of a linux tool that can execute a command or script when a certain VU level is reached? Or maybe just a program or script that can do what Im trying to accomplish, being:
1: listen for any sound coming in through the mic jack
2: record to temp file
3: after the sound stops, playback the temp file, then delete it, and restart the script
Think electronic parrot.
I found someone who got pretty much the exact thing working, but its on a N900 and relies on a VU meter app to trigger it. [url]http://talk.maemo.org/archive/index.php/t-91467.html[/url]
Sorry, you need to Log In to post a reply to this thread.