Page 10 of 24

Re: Linux

Posted: Thu May 04, 2017 3:20 pm
by Reese Riverson
PluMGMK wrote:Did you check the kernel log with dmesg? Or any other logs?
Can't say I'm familiar with checking logs like that. :oops2:

Re: Linux

Posted: Sat May 06, 2017 11:10 am
by PluMGMK
No shame in that, I was just asking. :)
Well, you can use dmesg to view the kernel log since you booted the machine. Obviously that could be a lot of info, so you could use dmesg|tail to see just the last few lines, or dmesg|less to be able to scroll through it. For the non-kernel logs, if you're using systemd (which basically everyone does now!) you can use journalctl to see logs from every service on the system. You can use journalctl --since=today to see just the ones since midnight or journalctl --since=10:40 (for example) to see all the logs since 10:40 today.

My project's coming along. For audio, I tried to set up JACK2, but ran into problems compiling it. I then realized that Steam in-home streaming will probably cover everything I need audio for! It also performs better, because seemingly having a VNC server running slows down graphics performance (which makes sense I guess!). As for writing a script to set it up automatically, it didn't take too long. I noticed I could run a whole bunch of commands within the script as root, with only one prompt, by passing a here-document to a root shell:

Code: Select all

cat << EOF | pkexec bash
# Commands go here.
EOF
Strikes me as something that could be a security risk, but it works. :?

Re: Linux

Posted: Sun May 07, 2017 8:52 pm
by incognito
I wanted to talk about a super useful tool, created to run under Linux, that simplifies all the commandline :

Climate.
The following is from the gitHub page
Image
Climate is the ultimate command line tool for Linux. It provides a huge number of command line options for developers to automate their Linux system. This tool can be extremely helpful to learn various unix commands too. There is an option to print each command before they're executed to help you memorize them over time.

Nuff' said, check it out on git hub here :
https://github.com/adtac/climate

How it works ? Simply input

Code: Select all

climate battery
as an example, and it will tell you the remaining battery percentage.

Re: Linux

Posted: Sun May 07, 2017 11:21 pm
by PluMGMK
Now that's an interesting project! I guess it's kind of like GNOME and its ilk, with their various tools, but without the burden of a clunky GUI!

Re: Linux

Posted: Mon May 29, 2017 11:42 pm
by Reese Riverson
Since I have a newer laptop to play with, Core i3 with crummy ATI graphics of sorts, I'll try linux on it. Probably just transfer my drive from the old Dell to this one. :) SSD FTW.

Re: Linux

Posted: Tue May 30, 2017 6:25 am
by incognito
Since I talk about Linux, I just installed the latest version of enlightenment yesterday, to use a new GUI, I'll probably go back to Awesome, but I wanted a break.

Re: Linux

Posted: Wed Jul 12, 2017 10:33 pm
by incognito
The dude above me swhitched back to Awesome a few hours after that post...

So, well yeah, what's in my newest geeky adventures lately ? Mmmh, it has been pretty calm, all the issues I met were solved in the matter of minutes so I don't really have anything to say about that, however, things might get mucho picoso since I plan to install QT5 and switch to KDE5 for the RD.

Re: Linux

Posted: Wed Jul 12, 2017 10:50 pm
by PluMGMK
Just to have problems to complain about and boost your post-count? Now that's dedication!

The only really geeky thing I've done with my Linux lately is updating OpenSSL and QT. Which ended up causing problems since this was my first time compiling WebKit since upgrading to GCC7, and the codebase is decidedly not ready. As far as I remember most if not all of it boiled down to the fact that the GCC7 headers have been refactored so a lot of them no longer include <functional>, meaning it has to be included explicitly in source files.
Yes, it's painful, but it's interesting.

Re: Linux

Posted: Wed Jul 12, 2017 11:12 pm
by incognito
PluMGMK wrote:Just to have problems to complain about and boost your post-count? Now that's dedication!
Is dat helmet dat EZ to see trough ?
Seriously though it is for the sake of presentation, just for a good looking video, I don't think most people would enjoy the super minimalistic look of my AwesomeWM desktop. :P
I might also try Gentoo in a month or so, out of curiosity.

Re: Linux

Posted: Wed Jul 12, 2017 11:16 pm
by PluMGMK
Does it really matter what your desktop looks like? KDE might even go too far in the opposite direction, with too much decoration…

Re: Linux

Posted: Wed Jul 12, 2017 11:20 pm
by incognito
Well, I don't know if OBS will perform well on Awesome, guess I'll have to give it a try...
Oh and fuck, you're right, I ain't gonna waste my time in that so close to the RD, if it doesnt work I still have KDE4, and even XFCE, and all configured.

I'll just try to run a few games on Linux to post here, I still have to try those HL2 executables...

Re: Linux

Posted: Thu Jul 13, 2017 6:07 am
by Fifo
incognito wrote: I might also try Gentoo in a month or so, out of curiosity.
Man, don’t remind me of that, it was painful. Good luck, you’ll need it!

Re: Linux

Posted: Thu Jul 13, 2017 7:53 am
by incognito
Luck ? I don't need that, I already have skillz !

Re: Linux

Posted: Thu Jul 13, 2017 9:22 am
by Fifo
incognito wrote:Luck ? I don't need that, I already have skillz !
But there’s one thing you’ll need:

Patience.

Re: Linux

Posted: Thu Jul 13, 2017 6:18 pm
by PluMGMK
I believe he's on 2G mobile internet or something. I'm sure he has abundant patience. :P

Re: Linux

Posted: Sun Jul 16, 2017 9:34 pm
by incognito
PluMGMK wrote:I believe he's on 2G mobile internet or something. I'm sure he has abundant patience. :P
Back in 2013 I was, indeed. I'm on 3G now, depending on the days, but yeah, I got patience. After all, it took me two years to install my NVidia drivers on Linux.

Also, screw what I said, KDE 5 for the win ! I'm currently updating it as I type those words and listen at chiptune, I'm probably gonna at last have a modern pc !

To stay on the topic, I have freed over 35 and + gigabytes of disk space today, I just realized that pretty much 75% of my /tmp directory was mainly unused/single time used files from compilations, just try to remember to regularly clean that up if you are running low on disk space.
If you wanna see all the heavy files of your user directory (or any other in fact) I remind that you can use

Code: Select all

du -a {/home/USERNAME} | sort -n -r | head -n 20 
Where of course you put your username, I realized that there was an unused virtual machine that took a big part of the space...

Re: Linux

Posted: Sun Jul 16, 2017 10:11 pm
by PluMGMK
I thought a lot of installations mounted a tmpfs on /tmp so that it disappears when you reboot. Come to think of it, I'm not sure if I do it that way… :oops2:
Personally, I use QDirStat to see where my biggest files are. The visuals are nice.

Re: Linux

Posted: Sun Jul 23, 2017 10:23 pm
by incognito
Since lately we talked about DNS issues on the RPC, and that a modified hosts file seems to be the solution, let's talk about the main utility of that file :
Redirection.
Yup, can be used to redirect, or block, and when I say block, I specifically talk about Ads, those smelly and bloody minded ads.

Without further indue, I advise some of you, if not even all, to visit that github repository :

https://github.com/StevenBlack/hosts

It contains the probably most up to date and biggest advertising database to this day, and that insane little piece of software will generate a hosts file that will protect you from all these ads, whether they come from you nocturnal visits on porn websites or simply when you do your shopping online, it works for every platform known that has a hosts file, even smartphones.

Re: Linux

Posted: Sun Jul 23, 2017 11:16 pm
by PluMGMK
I've even set up a Termux script on my phone to update the list and install it with the press of a button on the home screen!

Of course, I've run into a little problem when trying to watch the RTÉ Player on my laptop tethered to said phone… It's gonna take a little fine-tuning to get this right!

Re: Linux

Posted: Sun Jul 23, 2017 11:44 pm
by incognito
Holy cow ! So, how is it behaving now ?