Skip to content

Instantly share code, notes, and snippets.

@xypnox
Last active May 8, 2018 12:28
Show Gist options
  • Save xypnox/61584a465275d6fea0e1b5ff7c123e78 to your computer and use it in GitHub Desktop.
Save xypnox/61584a465275d6fea0e1b5ff7c123e78 to your computer and use it in GitHub Desktop.
My notes for linux ;)

Important steps After fresh installation

NOTICE The following notes work with any Ubuntu based distro with apt package manager. Warning : Use Any commands given below at your own caution. I will not be responsible for anything you break burn destroy or annihilate using these commands

Upgrade your Dist to latest updates Install ubuntu-restricted-extras. Many Applications (Lollypop Included) Don't Work without it.

Hide Plank Icon

To enable/disable the plank icon in 0.11.1 and later, open dconf-editor (if it's not installed, run sudo apt-get install dconf-editor) and navigate to net.launchpad.plank.docks.dock1. You will see a list of settings for the dock in there, including a show-dock-item checkbox. Check it to show the plank item in dock.

Output of screenfetch

                          ./+o+-       xypnox@xypnox-XPS-15
                  yyyyy- -yyyyyy+      OS: Ubuntu 16.04 xenial
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 4.4.0-104-generic
           .++ .:/++++++/-.+sss/`      Uptime: 1h 23m
         .:++o:  /++++++++/:--:/-      Packages: 1780
        o:+o+:++.`..```.-/oo+++++/     Shell: bash 4.3.48
       .:+o:+o/.          `+sssoo+/    Resolution: 1920x1080
  .++/+:+oo+o:`             /sssooo.   DE: MATE 1.12.2
 /+++//+:`oo+o               /::--:.   WM: Metacity (Marco)
 \+/+o+++`o++o               ++////.   GTK Theme: 'Arc-Darker' [GTK2/3]
  .++.o+++oo+:`             /dddhhh.   Icon Theme: Papirus
       .+.o+oo:.          `oddhhhh+    Font: Ubuntu 12
        \+.++o+o``-````.:ohdhhhhh+     CPU: Intel Core i7-7700HQ CPU @ 3.8GHz
         `:o+++ `ohhhhhhhhyo++os:      GPU: Mesa DRI Intel(R) Kabylake GT2
           .o:`.syhhhhhhh/.oo++o`      RAM: 1248MiB / 7835MiB
               /osyyyyyyo++ooo+++/    
                   ````` +oo+++o\:    
                          `oo++.      

To get Cool Word Clock Conky

Install conky-all package. Save this file (https://gist.github.com/xypnox/e12ee500685d1096c7a3216c74ff8ee0) as .conkyrc in home folder. And add conky -d to your startup applications

Install lollypop

https://wiki.gnome.org/Apps/Lollypop

sudo add-apt-repository ppa:gnumdk/lollypop
sudo apt-get update
sudo apt install lollypop

Install Sass

http://sass-lang.com/

First we install ruby and ruby-dev

sudo apt install ruby ruby-dev
sudo gem install sass --no-user-install

Install Hugo

snap install hugo

Global Zoom Firefox

The following setting governs both the content area and the "chrome" area (menus, toolbars, and tabs). You can adjust the value, but it might be hard to find just the right number. There's a good chance it will end up being a compromise.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the filter box, type or paste pix and pause while the list is filtered

(3) Double-click layout.css.devPixelsPerPx and change its value to 1.0 and click OK to save it. This will give you classic 96 dpi fonts. To enlarge that by 10%, double-click and use 1.1 and click OK. And so on. You may want to switch around between windows and tabs to see how it's affecting them.

Be careful not to choose a value between 0 and 1 or you might make the text unreadably small.

C C++ compilation within Atom

Atom is a great text editor, but it doesn't have a built in option for c/c++ compilation, which is very robust in something like Codeblocks.

To achieve a similar thing, Use the following package: https://atom.io/packages/gpp-compiler

To install this package use:

apm install gpp-compiler

Install and configure spacemacs.

First install emacs:

sudo apt install emacs

Then install spacemacs:

git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d

Clipboard manager : CopyQ

To install CopyQ use:

sudo add-apt-repository ppa:hluk/copyq
sudo apt update
sudo apt install copyq

TickTick Addon

Get TickTick Addon for Firefox here: https://addons.mozilla.org/en-US/firefox/addon/ticktick-todo/

Some Useful Gnome Extensions

Stylish Themes for Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment