Skip to main content
GrN.dk

Main navigation

  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Linux

By Greg Nowak, 13 June, 2017

CSV Kit Notes Tips and Examples

Nice thing to use when working with CSV-files is CSV Kit.

See the file statistics: csvstat -e UTF-16 test.csv

Merge all files in a folder: csvstack -e UTF-16 -t *.csv > all.csv

Save column 2 to output .csv: csvcut -c 2 -e UTF-8 all.csv > output.csv

Tags

  • Linux
  • csv
  • Data
By Greg Nowak, 1 May, 2017

Check version of pip installed python package CSVkit

pip show csvkit

Tags

  • python
  • Linux
By Greg Nowak, 12 April, 2017

Shutdown Linux Machine At Specific Time

Here is a useful command when you need to shutdown you machine at a specific time of the day. For example after a specific event you needed to log.

shutdown -h hh:mm

Shutdown scheduled for ons 2017-04-12 22:35:00 ICT, use 'shutdown -c' to cancel.

Remark, you can can always cancel the shutdown with "shutdown -c".

Example:

shutdown -h 22:35

Get more info with "shutdown --help".

 

Tags

  • Linux
By Greg Nowak, 28 August, 2016

Glxgears No Vertical Synchronization

Glxgears is a very simple benchmarking tool for your graphics card.

Running glxgears with no vsync (vertical synchronization) is a great simple way to do a very simple benchmark of your graphical situation when you are testing out drivers on your linux system.

You just run the command: vblank_mode=0 glxgears

Easy way to see current graphics driver in use in Xorg: egrep -i " connected|card detect|primary dev|Setting driver" /var/log/Xorg.0.log

Tags

  • Linux
By Greg Nowak, 30 July, 2016

Downloading Facebook Videos

Downloading videos from Facebook: http://fbdown.net/down.php

I did not succeed with youtube-dl unfortunately.

Tags

  • download
  • Linux
  • facebook
  • youtube
By Greg Nowak, 21 January, 2016

Shrink PDF In Linux

Here is a great reference how to compress and reduce the size of PDF files with Ghost Scrip (gs) in Linux: http://blog.virtualzone.de/2012/11/how-to-reduce-pdf-file-size-in-linux…

Example: "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -sOutputFile=output.pdf input.pdf"

Tags

  • Linux
  • Data
By Greg Nowak, 8 December, 2015

Running Linux on T450s T495s T14, Thinkpads and Others

I used a couple of moments to figure out if I wanted to stay on Kubuntu 14.04 LTS (Long Term Support), but then I decided to go with the new version 15.10. I want the new KDEnLive, so I can create more bad videos no one watches on my Youtube Channel PlantSugar.

Initial Setup

Update 2022-12-22: Optimized and started to strike through old not needed info when using Windows 11 and Kubuntu 22.10 end of 2022.

Get the bootloader working with Windows 10

Tags

  • Linux
  • screen
  • graphics
By Greg Nowak, 6 December, 2015

Bootable ISO Without Burning Anything

In the old days we all had CD-drives, but most modern computers these days don't have an optical drive. This makes things even more efficient, because you need to think smart. Some people choose to have an external optical drive, but why all the hassle when you can have a bootable USB or a bootable partition on your harddrive. There ar many guides on the internet, how to get that done manually. Again, why the hasse when we have UNetbootin, the perfect software for booting your favorite ISO's from your harddrive!

Tags

  • Linux
  • Windows
  • Tech
By Greg Nowak, 30 November, 2015

Screen Capture In Linux With Audio From Microphone and System Sounds

My random notes regarding screen capture. The screen capture is not hard, and it is not hard to have one source of audio like the microphone. The hard part is to have multiple audio sources, like the microphone and the system sounds.

I use Cheese for the built in webcam capture. Here are the random links:

Tags

  • Audio
  • Capture
  • Linux
By Greg Nowak, 5 November, 2015
Example of battery status from TLP 2021-12-06 T495s

Linux Laptop Power Management TLP

TLP is an advanced power management tool I use for my laptop that runs Linux. I have not tested the different settings, but it seems that the battery time is increased compared to not running it. :-) I only use it in battery-mode. There are some extra features for Thinkpad laptops.

TLP settings file Ubuntu: /etc/tlp.conf

Reload config: sudo tlp start

Check TLP status: sudo tlp-stat 

Check battery: upower -i /org/freedesktop/UPower/devices/battery_BAT0

Tags

  • Linux

Pagination

  • Previous page
  • 5
  • Next page
Linux

Review Greg on Google

Greg Nowak Google Reviews

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.