How To Automatically Disable Touchpad When Typing In Ubuntu

A few days ago, I’ve found a way to automatically disable Touchpad when external an mouse is connected in Ubuntu. Because, my palm accidentally touches the touchpad and messes up with my writing when I...

The post How To Automatically Disable Touchpad When Typing In Ubuntu appeared first on OSTechNix.

from OSTechNix https://www.ostechnix.com/how-to-automatically-disable-touchpad-when-typing-in-ubuntu/…

50 Shades of Black: Effective Use of No Color

A few years ago, there was a debate stirring on the web about black. Ian Storm Taylor’s “Never Use Black” was shared and tweeted and read by designers all over the world.

You can debate whether you should use black or not all day long. But the reality is that you will use black. Every designer does – by choosing or not.

So it’s best to understand the color and how to use it properly in a variety of design projects.

CMYK vs. RGB

The definition of black has a lot to do with how you are publishing – in print or online.

Print publication uses a four-plate scheme to create colors on the page. This process layers four inks – cyan, magenta, yellow and black – to create every color combination, giving each hue a specific CMYK color value. This even applies to different shades of black.

Online, color is made from combining red, green and blue. Both RGB and HEX values are based on these three colors, which are used as the standard for how digital screens (from televisions to computers) display color.

Pure Black vs. Black

screenshot

Black is more than just a color. There are numerous variations of black in both print and web publishing. So when is black just black?

Pure black refers to the absence of color in black. In CMYK printing, only the K plate would be used. In RGB publication, zero values for each color would apply.

All other blacks have some color in them, whether it is a combination of all colors or just a hint of a single color for a certain tone. This addition of color can create a much richer hue. But it can also cause concerns for some CMYK printers.

Most people, when looking at a grouping of black items, will feel more visually attached to blacks with some color added. These blacks are deeper, brighter and more saturated than pure black.

Black in Print

screenshot
screenshot
screenshot

So how do you know what black to use in print projects?

It …

30+ Best Hand Lettering Fonts

Hand lettering fonts can add a unique flourish to your design. They’re full of fun, character, and style. Whether you’re looking for a realistic calligraphy effect, or something more abstract, our collection of the best hand lettering fonts is a great starting point!

Hand lettering fonts span a huge range of styles. They range from bold and masculine block-style typefaces, through to stylistic and feminine freehand. All of these have their place, but in completely different types of project! Whether you’re designing a poster, crafting a logo, or putting together a wedding invitation, this selection of our favourite picks covers a huge range of styles.

What Are Hand Lettering Fonts?

Hand lettering is a creative design style artists use to design beautiful and unique text and titles. Hand lettering involves drawing the letters by hand one by one, giving each letter a unique look and feel.

A hand lettering font is a typeface that features a set of characters that same style of hand lettering designs. Each letter in a hand lettering font features a unique design. This allows you to give character and a personality to your designs, without having to go through the trouble of drawing letters one at a time.

3 Tips for Designing with Hand Lettering

Hand lettering is a style that’s only suitable for certain types of designs. Be mindful about these tips when using hand lettering fonts in your own designs.

1. Hand Lettering vs Handwriting

Many designers often confuse hand lettering fonts with handwriting fonts. However, these are two different types of fonts with different techniques used to design the letters.

A hand lettering font is a font that features a set of characters drawn by hand with unique designs for each and every letter. A handwriting font includes letters with written designs.

We’ve included a mix of both types of fonts on our list so that you can choose according to the project you’re working on.

2. Find the Style That Fits Your Design

Hand lettering fonts aren’t suitable for all types …

Build a Fully-Custom Real Estate Website with HomePress WordPress Theme Sponsored

When it comes to building a website, each industry has its own specific needs. They require features, functionality and data types that reflect their particular niche.

This can be a challenge for web designers, as we often tend to work with one-size-fits-all solutions, such as WordPress themes. That can result in a lot of extra work when it comes to customizing things to fit our projects.

The real estate industry is a prime example. Users expect high-end conveniences, while clients look for features that make their jobs easier. Therefore, a general-purpose WordPress theme just won’t cut it. You need a theme that understands the intricacies of the industry and delivers a top-notch user experience.

HomePress is the WordPress theme that offers a complete solution for building custom real estate websites. Built specifically for the industry, it has everything you need to get up-and-running in no time.

Let’s take a deeper look at how HomePress can help you stand out!

HomePress WordPress Theme home page example.

Advanced Features at Your Fingertips

The keys to a great real estate site are intuitive design and powerful features. Users must be able to easily navigate the site and have tools at their disposal that allow them to find what they’re looking for. On the back end, property listings should be easy to create, manage and customize.

HomePress covers all of these aspects with a customer-first approach. Among its many features, you’ll find:

Powerful Search Functionality

Search is a crucial factor in the success of your real estate website. That’s why HomePress allows for unlimited custom fields, radius and geolocation-based search and “live” autocomplete search suggestions. Users can customize their search based on available criteria to narrow down results.

HomePress search features.

Custom Property Listings and More

HomePress comes bundled with the incredible uListing plugin from StylemixThemes. Built with Vue.js, the plugin makes it easy to build custom property listings via a drag-and-drop UI. Use it to build your inventory grid, list and single property layouts with ease. And, you can wow your visitors with the use of 360° Virtual Tours!

uListing Drag-and-Drop Builder.

User-Friendly Conveniences

Finding …

Multi-Line Truncation with Pure CSS

Truncating a single line of text if is fairly straightforward. Truncating multiple lines is a bit harder. Using just CSS (no JavaScript or server-side dancing) is nice for the simplicity. It’s gotten a little easier lately since Firefox (since version 68) has started supporting the ultra-bizarre -webkit-line-clamp soup method, which makes browser support for that pretty OK.

There is another way though, which is very clever and something I’d call a bonafide CSS trick. We somehow failed to cover it properly in our canonical post on line clamping, so I’ll cover it here then add it to that post. I first saw this trick on the now-dead Mobify blog, and more recently covered by Natalia Onischuk on HackingUI.

The trick uses line height for measuring

Here’s a big part of the trick. Imagine an element has a line-height of 1.4rem and you want to make sure it only shows a maximum of three lines of text. If you set the max-height to 1.4rem * 3, you’ve done it!

I’m not the worlds biggest fan of united line-height, but alas, it’s necessary here to do the math. I’m also not the biggest fan of setting it over and over on elements, so let’s set a variable we can use later, and then use it to set a global line-height.

html {
  --lh: 1.4rem;
  line-height: var(--lh);
}

Set that max height

The truncation happens just like this:

.truncate-overflow {
  --max-lines: 3;
  max-height: calc(var(--lh) * var(--max-lines));
  overflow: hidden;
}

You actually could leave it like this. That might be good enough if you don’t care about the ellipsis.

The rest of the trick comes in when you want to display that ellipsis stuff

An ellipsis (“…”) signifies that text has been truncated and continues longer than what it displayed. Using it is probably a pretty good practice when truncating text so the content doesn’t come to an abrupt, awkward end. (Well, the content itself might be awkward anyway, but hey, you tried.)

If you set …

Data Loss Is Not A Hopeless Situation

Anything can happen to your data. You can lose it in the blink of an eye. It can happen so fast that before you can think of doing anything, your files are gone. They’re not in their folders and they’re not in the Recycle Bin. They’re gone.

Sure, you could always recreate your files but that’s going to take a lot of time and effort. If you’ve backed up your files to an external hard drive, then there’s hope for you. You could always go through your backups in the external drive but if they’re not updated, they’re useless.

You would still have to spend some time recreating your files again. That is, if the external hard drive is still functioning pretty well. If luck isn’t on your side and the external hard drive isn’t functioning well, then you’re really going to end up wondering if you’re ever going to get back your files. Some hard drives fail you at a time when you need them most.

Don’t despair. Data loss is not a hopeless situation. According to the experts at the California-based Hard Drive Recovery Associates, you can still recover and undelete files in Windows. Even if they seem like they’re gone forever, you can still get them back.

The experts from the Hard Drive Recovery Associates bring hope for what seems like a hopeless situation. That’s pretty much the reason why they are getting valuable support from the community.

Irvine, California-based Hard Drive Recovery Associates (HDRA) is pleased to acknowledge a recent increase in the amount of support and positive feedback shown by their community.

The Irvine company is well known within the community, and this recognition increases with each day as more customers share their experiences with each other regarding Hard Drive Recovery Associates’ services. Residents continue to make appointments to contract the company’s services—and HDRA affirms that they are the best chance clients have of recovering any important information from their Hard Disk Drives (HDD) and Solid State Drives (SSD).

(Via: https://harddrivefailurerecoveryblog.wordpress.com/)

Here’s what Troy …

Improving Video Accessibility with WebVTT

“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
– Tim Berners-Lee

Accessibility is an important element of web development, and with the ever-growing prevalence of video content, the necessity for captioned content is growing as well. WebVTT is a technology that solves helps with captioned content as a subtitle format that integrates easily with already-existing web APIs.

That’s what we’re going to look at here in this article. Sure, WebVTT is captioning at its most basic, but there are ways to implement it to make videos (and the captioned content itself) more accessible for users.

See the Pen
VJJMZz
by Geoff Graham (@geoffgraham)
on CodePen.

Hi, meet the WebVTT format

First and foremost: WebVTT is a type of file that contains the text “WebVTT” and lines of captions with timestamps. Here’s an example:

WEBVTT

00:00:00.000 --> 00:00:03.000
- [Birds chirping]
- It's a beautiful day!

00:00:04.000 --> 00:00:07.000
- [Creek trickling]
- It is indeed!

00:00:08.000 --> 00:00:10.000
- Hello there!

A little weird, but makes pretty good sense, right? As you can see, the first line is “WEBVTT” and it is followed by a time range (in this case, 0 to 3 seconds) on Line 3. The time range is required. Otherwise, the WEBVTT file will not work at all and it won’t even display or log errors to let you know. Finally, each line below a time range represents captions contained in the range.

Note that you can have multiple captions in a single time range. Hyphens may be used to indicate the start of a line, though it’s not required and more stylistic than anything else.

The time range can be one of two formats: hh:mm:ss.tt or mm:ss.tt. Each part follows certain rules:

  • Hours (hh): Minimum of two digits
  • Minutes (mm): Between 00 and 59, inclusive
  • Seconds (ss): Between 00 and 59, inclusive
  • Milliseconds (tt): Between 000 and 999, inclusive

Micro Frontends

One random day not long ago, I started hearing joke after joke about “micro frontends” — sort of how I first learned about Toast. I didn’t understand the source until asking around, which uncovered this article from Cam Jackson.

In this article we’ll describe a recent trend of breaking up frontend monoliths into many smaller, more manageable pieces, and how this architecture can increase the effectiveness and efficiency of teams working on frontend code.

I’d argue it should read “front-end monoliths” and “front-end code,” but I digress already.

The idea is similar to microservices, but for the front end. So, instead of one big front-end architecture (e.g. a React app), different parts of the front end are developed entirely independent of one another, have no dependencies on each other, and can be worked on and deployed independently.

It’s one of those things where you can’t quite tell if it’s really an interesting foretelling of the future, just a niche architectural choice that happened to work for a handful of large organizations, or even just a theoretical option.

The first place my mind goes is consistency and DRY-ness. Anywhere I’ve worked, these things are a big deal and it seems like the industry at large has had endless front-end problems with shipping designs that start and stay consistent and cohesive without repeating itself with shovelfuls of technical debt. Independent front-ends sound like they might be a problem if Team B is being blocked by Team A for something not directly related, but then it introduces the problem of Team B’s output drifting towards inconsistency with Team A’s output.

The article itself talks about a browse/search landing page, a details/ordering page, and a profile page, with all three of those tackled by different independent products/teams. It sounds kinda cool and interesting to me, and it also sounds like those teams better sit right next to each other at work; otherwise this app is going the way of Frankenstein’s monster in two weeks. Styling is only lightly addressed with a, …

Is Google Toast?

For those too young to remember, the Browser Wars entailed a tech rush by, among others, Netscape and Microsoft, resulting in useless features being implemented because they were fast to bolt-on, and useful features being rushed because they were hard. After the Browser Wars, the internet entered an era of stability as the last vestiges of the old web were mercilessly hunted down and destroyed by Google.

Chrome and Chromium-based browsers have the vast majority of the market share, and with the new version of Edge being based on Chromium, only Firefox is truly left to compete. We’re already seeing the effects of this, and they’re not ideal.

Get ready, this one is going to have a lot of links, and they’re important…

The Saga of <std-toast>

On June 12th, 2019, Google developers asked for a review of a proposed new element for HTML. Specifically, they asked the Web Platform Incubator Community Group (WICG), a community dedicated to fostering open discussion about the future of the Internet as a platform. It’s run by the W3C, and generally, it’s exactly where you should be asking about potential changes to the actual foundation of the Internet.

On the same day, however, they announced their intent to include the element in the Blink rendering engine. Now, that doesn’t mean it’s going to happen any time soon, but it caused some significant consternation.

The Basic Idea

Well first, let’s talk about the element itself. It’s a pop-up notification. Literally, it’s a notification that pops up from the bottom of your screen, like toast… from a toaster, or from the top, like toast from an upside-down toaster [feel free to insert a joke about Australia here].

This notification element can show up and disappear on its own (the term used is “auto-expiring”, or it can require interaction to send it away. It’s basically an HTML element devoted just to “we use cookies” notifications.

The basic HTML could be written like one of the following examples:

<std-toast>Hello world!</std-toast>
<std-toast><p>Hello world!</p></std-toast>
<std-toast>
  <p>Hello world!</p>
  <button>Click me!</button>
</std-toast>

30+ Best Line Patterns & Textures

Whether you’re working on a product packaging design, a greeting card, or even a website background, incorporating one of these line patterns and textures can help you achieve a pro result.

No need to spend hours of your valuable time searching for beautiful line patterns. We scoured the web to find the best line patterns and textures to help you get a headstart with your design process.

This collection includes both free patterns and premium items from Envato Elements (where you get unlimited downloads for a single price). Have a look and see if you can find a pattern suitable for your project.

Top Pick

40 Simple Line Geometric Patterns

40 Simple Line Geometric Patterns

If you’re a fan of geometric line patterns, this bundle is perfect for you. It includes various styles of patterns featuring creative geometric shapes and designs you can use to craft backgrounds and borders for greeting cards, stationery, websites, packaging, and much more.

The bundle comes with 40 different line patterns in JPG and PNG file formats. It also includes the patterns in AI and EPS formats as well.

Why This Is A Top Pick

Since the patterns are available in vector format, you’ll be able to easily customize them to resize and change colors to fit different types of your business and creative projects.

40 Geometric Seamless Patterns Bundle

40 Geometric Seamless Patterns Bundle

Another big bundle of geometric line patterns featuring 40 different creative pattern designs. This pack also includes patterns in PNG and vector formats and they are perfect for book covers and stationery designs.

Sunset Lines Hand-Drawn Patterns

Sunset Lines Hand-Drawn Patterns

This set of line patterns is ideal for designers looking for colorful and creative pattern designs. The bundle comes with 40 pattern tiles and 40 digital papers in PNG and JPG formats. It also features 20 gold textured patterns as well.

Irregular Rounded Lines Texture Backgrounds

Irregular Rounded Lines Backgrounds

This is a bundle of stylish background textures that feature various designs of rounded line patterns. These are ideal for crafting a background for a website, landing page, or even a social media page. The backgrounds are …