Can't say I'm familiar with checking logs like that.PluMGMK wrote:Did you check the kernel log with dmesg? Or any other logs?
Linux
Moderator: English moderators
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
-
Hoodcom

- Posts: 37978
- Joined: Wed Sep 03, 2003 5:32 pm
- Location: R̸̨̧̛̝͎͔̹͉̫̞͚͎͈̫̲̘͕̞͔̼̣͍̞̤̹̫̘̼͚̤̮̟͍̺̯͍̜̹͓̤͖͎͌̀̿͗̍͌̈́̿̿͑̄̀͌̒̅͛̄̾̈͠ͅayman Pirate-Community Lodge
- Contact:
- Tings: 453317
Re: Linux
-
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
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:
Strikes me as something that could be a security risk, but it works. 
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
Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site
Re: Linux
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

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
as an example, and it will tell you the remaining battery percentage.
Climate.
The following is from the gitHub page
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-
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
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!

Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site
-
Hoodcom

- Posts: 37978
- Joined: Wed Sep 03, 2003 5:32 pm
- Location: R̸̨̧̛̝͎͔̹͉̫̞͚͎͈̫̲̘͕̞͔̼̣͍̞̤̹̫̘̼͚̤̮̟͍̺̯͍̜̹͓̤͖͎͌̀̿͗̍͌̈́̿̿͑̄̀͌̒̅͛̄̾̈͠ͅayman Pirate-Community Lodge
- Contact:
- Tings: 453317
Re: Linux
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
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.
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.
-
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
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.
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.

Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site
Re: Linux
Is dat helmet dat EZ to see trough ?PluMGMK wrote:Just to have problems to complain about and boost your post-count? Now that's dedication!
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.
I might also try Gentoo in a month or so, out of curiosity.
-
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
Does it really matter what your desktop looks like? KDE might even go too far in the opposite direction, with too much decoration…

Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site
Re: Linux
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...
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
Man, don’t remind me of that, it was painful. Good luck, you’ll need it!incognito wrote: I might also try Gentoo in a month or so, out of curiosity.
Come and participate in the annual Favorite Rayman Game survey!

Signature made with love by R4Y_ANC3L

Signature made with love by R4Y_ANC3L
Re: Linux
But there’s one thing you’ll need:incognito wrote:Luck ? I don't need that, I already have skillz !
Patience.
Come and participate in the annual Favorite Rayman Game survey!

Signature made with love by R4Y_ANC3L

Signature made with love by R4Y_ANC3L
-
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
I believe he's on 2G mobile internet or something. I'm sure he has abundant patience. 

Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site
Re: Linux
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.PluMGMK wrote:I believe he's on 2G mobile internet or something. I'm sure he has abundant patience.
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 -
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
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… 
Personally, I use QDirStat to see where my biggest files are. The visuals are nice.
Personally, I use QDirStat to see where my biggest files are. The visuals are nice.

Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site
Re: Linux
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.
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.
-
PluMGMK

- Posts: 37010
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 102745
Re: Linux
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!
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!

Sig with Dora made by R4Y_ANC3L; others made by me
Android: How to block an image you don't like
It's good to learn from the past: read the Pirate-Community Documentary!
Other things you should know about this site



