Put single task/goal or Jot Something Down in Top-bar in Ubuntu 22.04

Have an important task to do in next few hours, or you have to write something down hurriedly? Here an extension allows to write one thing into the top-bar in Ubuntu, Fedora, and other Linux with GNOME Desktop.

It’s ‘One Thing‘, a gnome shell extension allows to write any word into top panel, to remind you something important!

With it, user can simply click the original text on panel to open the input box, type anything, and hit Enter to make it display in panel. And, it so far works in GNOME 3.36, 3.38, 40, 42, and 43, meaning for Ubuntu 20.04 | 22.04 | 22.10, Fedora 36/37, Debian 11, Rocky Linux 9, Arch and Manjaro Linux with GNOME.

How to Install this extension:

For Ubuntu 22.04 and Ubuntu 22.10, first search for and install ‘Extension Manager’ from Ubuntu Software.

Install Extension Manager in Ubuntu 22.04+

The launch and use ‘Extension Manager’ to search and install the ‘One Thing’ extension under Browse tab.

For Ubuntu 20.04 and other Linux, just go to the extension web page and use ON/OFF switch to install it:

Install browser extension and refresh the page if you don’t see the toggle icon! And for Ubuntu 20.04, make sure the agent package is installed by running command in a terminal (Ctrl+Alt+T) window:

sudo apt install chrome-gnome-shell

After installed it, an example text should appear immediately on top-panel. Click it and type your own text and enjoy!

Navigating Up or Down a Page in Vim

Navigating Up or Down a Page in Vim

When you want to have an overview of a file, you can get a good overview just moving down a few pages.

To move a page down in Vim, press the Ctrl + f key combination, and to move a page up, press the Ctrl + b key combination.

  • Ctrl+f: Page down
  • Ctrl+b: Page up

If you want a more granular control, read along!

Moving Page Down

There are several ways you can move the cursor downwards in Vim.

You can move the cursor down one full screen or you can move it down only half the screen.

Page forward one screen

Page down is a common action to perform that moves down one full screen.

To move down one full screen, make sure you are in Normal mode and then press Ctrl + f key combination.

You can remember this thinking that the ‘f’ in “Ctrl + f” stands for forwards.

Alternatively,  you can also press the Page Down key on your keyboard (that is above the arrow keys).

This operation is also called a page forward operation.

Scroll forward half a screen

Sometimes it makes more sense to scroll down just a little bit.

In those cases, you can use the Ctrl + d key combination. Make sure you are in Normal mode before you press this key combination.

If you have trouble remembering this key combination, you can think of the ‘d’ in “Ctrl + d” as downwards.

This operation is also referred as a scroll forward operation.

Moving Page Up

Just like Page Down, there are several ways you can move the cursor in the upwards direction in Vim.

Either you move it one full screen up or move it half a screen up.

Page backwards one screen

Vim allows you to go up a full screen.

To scroll up a full screen, enter Normal mode and press the Ctrl + b key combination.

You can remember this by thinking that the ‘b’ in “Ctrl + b” stands for back[wards].

If present on your keyboard (usually above the arrow keys), you can make use of the Page Up keys to perform the same action as “Ctrl + b”.

This operation is also called a backwards scroll.

Scroll backwards half a screen

You can move half a screen in the upwards direction in Vim.

Scrolling up half a screen can be done by pressing the Ctrl + u key combination. Make sure you are in Normal mode before you press it, though.

If you have any trouble remembering this, think of the ‘u’ in “Ctrl + u” as up[wards].

This operation is referred as a backwards scroll operation.

Suggested reads 📖

This article mentions how you can scroll up or scroll down in Vim. Here are a few more related articles you should read:

If you are interested in learning more than just the Vim Basics, I highly recommend using this program by Jovica Ilic.

Mastering Vim Quickly – Jovica Ilic
Exiting Mastering Vim Quickly From WTF to OMG in no time
Navigating Up or Down a Page in Vim

FTC to Crack Down on Illegal Sharing of Citizen’s data

The U.S Federal Trade Commission (FTC), the U.S agency primarily responsible for consumer protection, warned that they would be cracking down on companies which illegally share or sell sensitive consumer data.

This warning is in response to a growing consumer awareness surrounding the private market of personal data and the inability of a consumer to reasonably prevent such usage.

“While many consumers may happily offer their location data in exchange for real-time crowd-sourced advice on the fastest route home, they likely think differently about having their thinly-disguised online identity associated with the frequency of their visits to a therapist or cancer doctor,” FTC’s Kristin Cohen said.

Instances of one such practice which may no longer be ignored by the FTC are software development kits (SDKs) embedded in mobile apps. These SDKs gather personal data that is supposedly anonymous and then sell the aggregates.

This practice, at its core, collects the personal data of a knowing or unknowing consumer and turns it into a profit. The consumer sees none of these benefits.

Furthermore, as the FTC notes, the abuse of mobile location and health information exposes users to significant harm.

“These companies often build profiles about consumers and draw inferences about them based on the places they have visited.”

The crack down consists of enforcing, what the FTC refers to as “vigorous enforcement”, of laws already on the books that criminalize turning a profit on of health, location or other sensitive data.

The post FTC to Crack Down on Illegal Sharing of Citizen’s data appeared first on IT Security Guru.

Scrolling Up and Down in the Linux Terminal

Scrolling Up and Down in the Linux Terminal

Are you looking for the technique of scrolling through your Linux terminal? Brace yourself. This article is written for you. Today you’ll learn how to scroll up and down in the Linux terminal. So, let’s begin.

Why You Need to Scroll in Linux Terminal

But before going ahead and learning about up and down scrolling in the terminal, let’s find out what’s the importance of scrolling in the Linux terminal. When you have a lot of output printed on your terminal screen, it becomes helpful to make your Linux terminal behave in a particular manner. You can clear the terminal at any time. This may make your work easier and quicker to complete. But what if you’re troubleshooting an issue and you need a previously entered command, then scrolling up or down comes to the rescue.

Various shortcuts and commands allow you to perform scrolling in the Linux terminal whenever you want. So, for easy navigation in your terminal using the keyboard, read on.

How to Scroll Up and Down in Linux Terminal

In the Linux terminal, you can scroll up by page using the Shift + PageUp shortcut. And to scroll down in the terminal, use Shift + PageDown. To go up or down in the terminal by line, use Ctrl + Shift + Up or Ctrl + Shift + Down respectively.

Key Combinations Used in Scrolling

Following are some key combinations that are useful in scrolling through the Linux terminal. 

Ctrl+End: This allows you to scroll down to your cursor.

Ctrl+Page Up: This key combination lets you scroll up by one page.

Ctrl+Page Dn: This lets you scroll down by one page.

Ctrl+Line Up: To scroll up by one line, use this key combination.

Scrolling Up and Down with More Command

The more command allows you to see the text files within the command prompt. For bigger files (for example, log files), it shows one screen at one time. The more command is also used to scroll up and down within the page. To scroll up the display one line at a time, press the Enter key. To scroll a screenful at a time, use Spacebar. To do backward scrolling, press ‘b’.

How to Disable Scrolling in the Terminal

To disable the scrollbar, follow the steps given in this section. First, on the window, press the Menu button residing in the top-right corner. Then select Preferences. From the Profiles section in the sidebar, select the profile you’re currently using. Then select the Scrolling option. Finally, uncheck the Show scrollbar to disable the scrolling feature in the terminal. Your preference will be saved immediately.