Soluții

Cum descărcați și salvați o extensie Chrome ca fișier CRX

Pe lângă interfața de utilizator minimală, extensiile reprezintă un alt motiv pentru care mulți oameni folosesc browserul Chrome. Pentru a instala o extensie Chrome, tot ce trebuie să faceți este să vizitați pagina extensiei și să faceți clic pe butonul “Add to Chrome”. Cu toate acestea, această abordare nu vă permite să salvați extensia Chrome ca fișier CRX.

Dacă ați instalat deja extensia pe care doriți să o descărcați, puteți pur și simplu să reîmpachetați extensia într-un fișier CRX. Înainte de a face orice, trebuie să știți ID-ul extensiei pe care doriți să o descărcați. Deoarece ați instalat deja extensia, puteți obține ID-ul extensiei direct din pagina de setări a extensiilor Chrome.

  • Pentru a începe, faceți click pe pictograma de meniu și selectați opțiunea “Extensions” (Extensii) din opțiunile “More tools” (Mai multe instrumente).

  • Se va deschide pagina Extensions. Selectați opțiunea “Developer mode” din colțul din dreapta sus.

  • Derulați în jos, cautati extensia pe care doriți să o reîmpachetați și notați ID-ul extensiei.

  • După ce ați obținut ID-ul extensiei, apăsați Win + E (pe Windows) și navigați la următoarea locație în File Explorer:

C:\Users\<Username>\AppData\Local\Google\Chrome\User Data\Default\Extensions

  • Nu uitați să înlocuiți “<Username>” cu numele de utilizator real. Găsiți folderul cu ID-ul extensiei și copiați-l pe desktop.

  • Înapoi pe pagina de extensii, faceți click pe butonul “Pack extension”.

Această acțiune va deschide o fereastră pop-up. Dați pur și simplu click pe butonul “Browse” (Răsfoiește).

În fereastra Browse, găsiți dosarul pe care l-ați copiat mai devreme, extindeți-l, selectați dosarul cu numărul de versiune și faceți click pe “Select Folder”. Puteți ignora câmpul Private Key (Cheie privată). Faceți clic pe butonul “Pack Extension”.

Acum dacă deschideți dosarul de extensii de pe desktop veți vedea fișierul CRX.

[mai mult...]

Cum să ștergeți deodata mai multe contacte de pe Android

Ștergerea unui contact pe Android este destul de ușoară. Selectați contactul și apăsați butonul Delete (Ștergere). Dar cum procedati dacă doriți să ștergeți deodata mai multe sau toate contactele?

  • Deschideți aplicația Google Contacts de pe telefon. Deschideti meniul ( trei puncte verticale ) si selectati contactele

  • Atingeți contactele pentru a le selecta. Dacă doriți să selectați toate contactele, apăsați pe butonul “Select all” (Selectați tot).
  • Apăsați pe pictograma Coș de gunoi pentru a șterge contactele de pe telefonul Android.
  • Apăsați pe “Move to Trash” (Mutarea în coșul de gunoi) în fereastra de confirmare.

Contactele selectate vor fi șterse de pe telefon. Dacă au fost salvate pe un cont Google, acestea vor fi șterse de pe toate dispozitivele. Contactele șterse sunt mutate la Coșul de gunoi, insa le puteți recupera în termen de 30 de zile.

[mai mult...]

How to Convert Linux Installation Packages to Other Formats

Laptop screen showing a terminal prompt.

  • Linux Packaging Systems

In order to allow their users to install software, Linux distributions need a software packaging system. If the distribution is a fork of another established distribution, it’ll usually stick with the packaging system of the older distribution.

Traditionally, application developers had to either package their application in every format that they chose to support or to work with the maintainers of the different Linux distributions and pass the packaging steps over to them. The latter introduces delays in getting new releases into the hands of the users, the former gives the developers a lot of extra work.

The Snap and Flatpak projects try to deliver the Holy Grail of package distribution: package your application once, and install it on any Linux distribution. Of course, there may or may not be a Snap or Flatpak for the application you’re after.

You can remove packaging systems from the equation completely, just as long as you are comfortable with cloning a Git repository and building an application from the source code. But not everybody is. And not all applications—even on Linux—are open source, so you can’t build everything from source anyway.

The maintainers of some distributions are great at getting packages for other platforms and repackaging them for their own package management system, including closed-source applications. But there will always be cases where an application offers a DEB or an RPM—the big two formats—and everyone else needs to figure it out for themselves.

Programs like alien exist to solve the problem of converting a package file from another distribution to the version you need on your Linux computer. That’s fine in theory, but how successful are they?

  • The alien Experiment

The proof of the pudding is in the eating.

We took three different RPMs and used alien to convert them to DEBs. We then tried to install the freshly-created DEBs on Ubuntu.

In all of our test cases, there was a DEB available for download too, so what we were doing was actually redundant. But we thought the test applications—Microsoft Edge browser, the Atom editor, and Slack—would be a good test of alien‘s capabilities so we ignored the off-the-shelf DEBs.

  • Installing alien

Installing alien was simple on Ubuntu, Fedora, and Manjaro.

On Ubuntu you can use this command:

sudo apt install alien

Installing alien on Ubuntu

On Fedora, you need to type:

sudo dnf install alien

Installing alien on Fedora

On Manjaro, the alien package is in the Arch User Repository. This means pacman won’t be able to see it, so we need to use an AUR helper program like yay. The package name is slightly different too.

yay -S alien_package_converter

Installing alien on Manjaro

  • Using alien

To use alien you specify the file you want to convert, and the format you want to convert to. It creates a file with the same filename—usually—and with the extension of the format you asked for.

Using alien to create a package causes alien to increment the version number of the package. If the package number is in the filename, the filename will be changed too.

These are the formats alien can convert from and into.

  • -d: Convert to a DEB file, for Debian, Ubuntu, and all the derivatives.
  • -r: Convert to an RPM file, for RedHat, CentOS, and Fedora.
  • -t: Convert to a TAR.GZ archive file, for Arch and Arch-based systems like EndeavourOS and Manjaro.
  • -l: Convert to an LSB file, a Linux Standard Base file. This was another initiative to develop a cross-distribution package format.
  • -p: Convert to a PKG file, a format used by Solaris amongst others.
  • –to-slp: Convert to an SLP package, a format used by the discontinued Stampede Linux distribution.

The format option we’ll be using is -d (DEB) as we’re converting to a DEB file. We’ll also use the -c (scripts) option to convert any scripts contained in the package.

  • Microsoft Edge

We downloaded an RPM for Microsoft’s Edge browser, and ran the following command on it:

sudo alien -d -c microsoft-edge-beta-97.0.1072.54-1.x86_64.rpm

Converting the Edge RPM to a DEB file

Without the -c (scripts) option it didn’t create the DEB file, it reported an error. With the -c option, it did create the DEB.

The original RPM file and the newly created DEB file

Note the DEB filename contains 54-2, not 54-1.

Converting scripts is unlikely to end well. They may well be written for a particular situation or configuration unique to the genuine target platform of the original package file. Because of this, we didn’t have high hopes. Nevertheless, we tried to install the DEB with the dpkg program and the -i (install) option.

sudo dpkg -i microsoft-edge-beta_97.0.1072.54-2_amd64.deb

Failed installation with the newly created DEB file

It didn’t work.

We also tried double-clicking the DEB file and using the Ubuntu Software application to install the DEB. Interestingly, the Software application knew that the DEB had been created by alien.

Using the Ubuntu Software application to install the newly created DEB file

That didn’t work either. Just to make sure the Edge browser would actually install on Ubuntu, we installed the official Microsoft Edge DEB file.

sudo dpkg -i microsoft-edge-beta_97.0.1072.54-1_amd64.deb

Installation command for the official Microsoft Edge DEB file

That worked without an issue. You can see below Microsoft Edge running on Ubuntu.

Microsoft Edge running on Ubuntu

  • The Atom Editor

We downloaded the RPM install package for the popular Atom editor. We used the same alien command to convert it to a DEB.

sudo alien -d -c atom.x86_64.rpm

Converting the Atom RPM file to a DEB file

That created a DEB file without any warnings or errors. We installed it using the dpkg command with the -i (install) option.

sudo dpkg -i atom_1.58.0-1.1_amd64.deb

Installing Atom from the newly created DEB file

That worked perfectly.

Atom running on Ubuntu

  • Slack Business Messaging App

Finally, we tried converting the Slack RPM to a DEB.

sudo alien -d -c slack-4.23.0-0.1.fc21.x86_64.rpm

Converting the Slack RPM file to a DEB file

Again, this created a DEB with no warnings and no errors. We used this installation command:

sudo dpkg -i slack_4.23.0-1.1_amd64.deb

Installing Slack from the newly created DEB file

The installation worked flawlessly. Slack was up and running with no issues.

Slack running on Ubuntu

  • Mixed Results

A utility such as alien is inevitably fighting an uphill battle. The odds are stacked against it being able to work in every case, and this was borne out by our small amount of testing. Having said that, when it worked it was great.

[mai mult...]

How to Create a Table of Contents in Google Docs

Adding a table of contents to your document is a useful way to show readers each topic/chapter listed inside your file. When you create a table of contents in Google Docs, it automatically generates one and adds links that jump to each section they reference when clicked, allowing for quick access to specific parts of your document.

Place the insertion point in your document where you want the table of contents to go. Typically, tables of content appear after the initial title but before the introduction or body of your document.

Click “Insert,” point to “Table of Contents,” and then click on either of the two options provided. The first option is a plain-text table of contents with numbers on the right side. The second option doesn’t use page numbers, but instead inserts hyperlinks that jump to the noted section. The first is intended for documents you’ll print, the second for documents to be viewed online.

Note that in order to create an automatically generated table of contents that links to specific sections of your document, you must format each chapter—or title—using Google Docs’ built-in head styles. This lets Docs know how to populate the table add clickable links.

Each heading style is treated slightly differently in the table of contents. For example, the Heading 1 style denotes a top-level entry in the table of contents. Headings using the Heading 2 style are considered subsections and appear indented under the preceding Heading 1 style in the table. Heading 3 is a subsection of Heading 2, and so on.

If you change your headings (add, remove, or just modify the text), you can update your table of contents to reflect those changes by clicking the table of contents in the body of the document and then clicking the “Update Table of Contents” button (which looks like a Refresh button).

To delete a table of contents, right-click it and select “Delete Table of Contents.”

[mai mult...]

How to Use the Google Slides Presenter Toolbar

Redesigned Presenter Toolbar in Google Slides

When you’re presenting a slideshow, the last thing you should worry about is how to control it. With the Google Slides presenter toolbar, you can concentrate on your presentation, not the navigation.

  • Start the Slideshow

As a refresher, you can start your Google Slides presentation in a couple of different ways. After opening your slideshow, click View > Present from the menu, or use the Present drop-down in the upper-right corner and choose “Present From Beginning.”

Click Present, Present From Beginning

With your slideshow ready to go, move your cursor to the bottom-left corner of the screen, and you’ll see the presenter toolbar display.

Google Slides Presenter Toolbar Features

The presenter toolbar is transparent but brightens up when you place your cursor over it. This offers a nice, subtle appearance throughout your presentation.

Google Slides Presenter Toolbar

The two arrows let you advance forward or move back one slide at a time. If you click the slide number in the center, you can jump to a particular slide in the presentation. This puts you in complete control of the show. On the right side of the toolbar, you have the overflow menu (three dots). The features in this area allow you to do even more with your presentation.

  • Open Your Speaker Notes

If you like to use the speaker note feature for talking points during your presentation, you can open them by selecting “Open Speaker Notes” in the menu. You’ll get a separate window that you can control and close when you finish with it.

Speaker Notes window

  • Turn on the Laser Pointer

With the built-in red laser pointer, highlighting parts of a slide is a breeze. Click “Turn on the Laser Pointer” in the menu. You can click it again to turn off the laser pointer or use the “L” key on your keyboard for a quick shortcut.

Click Turn On Laser Pointer

  • Enable Auto-Play

If you prefer your slideshow to play on its own, select “Auto-Play” in the overflow menu. You’ll see a pop-out list of time intervals for each slide. Choose one and watch the show play automatically.

Choose AutoPlay in Google Slides

You can also hit “Loop” for the continuous playing of your slideshow. When the presentation reaches the last slide, it will restart from the beginning.

[mai mult...]