Copy font file to font directory at
/usr/share/fonts/truetype
or for a specific user, put the font files in
/home/<username>/.local/share/fonts
refresh cache with
fc-cache -f -v
Note: fc-cache is part of the fontconfig package.
Things I know I'll forget sooner or later…
Copy font file to font directory at
/usr/share/fonts/truetype
or for a specific user, put the font files in
/home/<username>/.local/share/fonts
refresh cache with
fc-cache -f -v
Note: fc-cache is part of the fontconfig package.
Edit /usr/share/gnome-shell/js/ui/dash.js
Change
...
const Dash = new Lang.Class({
Name: 'Dash',
_init : function() {
this._maxHeight = -1;
this.iconSize = 64;
this._shownInitially = false;
...
to
...
const Dash = new Lang.Class({
Name: 'Dash',
_init : function() {
this._maxHeight = -1;
this.iconSize = 32;
this._shownInitially = false;
...
and further down the script
...
let iconSizes = [ 16, 22, 24, 32, 48, 64 ];
...
to
...
let iconSizes = [ 16, 22, 24, 32 ];
...
Logout and log back in to see changes.
Edit /usr/share/gnome-shell/theme/gnome-shell.css
...
/* Application Launchers and Grid */
.icon-grid {
spacing: 36px;
-shell-grid-horizontal-item-size: 118px;
-shell-grid-vertical-item-size: 118px;
}
.icon-grid .overview-icon {
icon-size: 96px;
}
...
to
...
/* Application Launchers and Grid */
.icon-grid {
spacing: 18px;
-shell-grid-horizontal-item-size: 96px;
-shell-grid-vertical-item-size: 96px;
}
.icon-grid .overview-icon {
icon-size: 48px;
}
...
Logout and log back in to see the change.
Keywords: abstract, assert
abstractAs a class modifier, abstract is a nonaccess modifier that declares a class which cannot be instantiated. You cannot create an object from abstract classes. However, you can create subclasses from abstract classes by extending them. An abstract class may or may not include abstract methods. If a class includes abstract methods, the class itself must be declared abstract. When a subclass does not provide all of the abstract methods in its parent class, the subclass must also be declared abstract.
As a method modifier, abstract declares a method that must be implemented by a subclass. The first concrete (not abstract) subclass must implement all abstract methods of the superclass. Abstract methods cannot have the modifiers final or private because subclasses need to access the methods in order to implement them.
It is a compile-time error if a abstract method declaration also contains any one of the keywords private, static, final, native, strictfp, or synchronized.
An abstract method is declared without an implementation. In other words, without braces, and followed by a semicolon, as in the following example code:
public abstract class Shape {
int x, y;
...
void moveTo(int x, int y) {
...
} // moveTo(int, int)
abstract void draw();
abstract void scale(int factor);
} // class Shape
Then each concrete subclass of Shape, such as Circle and Triangle, must implement the draw and scale methods:
class Circle extends Shape {
void draw() {
...
} // draw()
void scale(int factor) {
...
} // scale(int)
} // class Circle
class Triangle extends Shape {
void draw() {
...
} // draw()
void scale(int factor) {
...
} // scale(int)
} // class Triangle
Abstract class provide default functionality for the subclasses, whereas an interface mandates a list of functions or properties. So, objects that extends an abstract class “Is-A” subclass; objects that implement an interface “Must-Do” the functions, or “Must-Have” the constants or nested types of the interface.
If an abstract class contains only abstract method declarations, it should be declared as an interface instead. Still, keep in mind that when you make a change to an abstract class all of the subclasses will now have this new functionality. On the other hand, once an interface is changed, any class that implements it that will be broken.
assertSo I’m trying to memorize the list of keywords in the Java programming language. You cannot use any of them as identifiers in your code. true, false, and null are not keywords. They are actually literals. Likewise, you cannot use them as identifiers in your code.
| abstract | assert | boolean | break | byte |
| case | catch | char | class | const* |
| continue | default | do | double | else |
| enum | extends | final | finally | float |
| for | goto* | if | implements | import |
| instanceof | int | interface | long | native |
| new | package | private | protected | public |
| return | short | static | strictfp | super |
| switch | synchronized | this | throw | throws |
| transient | try | void | volatile | while |
* reserved, currently not used
So, in all, there are 50 keywords to remember. To make it easier for myself I’ll study them in alphabetical group (i.e. 2 start with a; 3 start with b; 6 start with c; etc.).
Next, the A’s →