How to launch program in linux

Brilliant Ways on How to Run a Program in Linux

Ransomware recovery test drive: This technical workshop is designed to take you behind the scenes and shows you how to adopt strategies to automate recovery, ensuring you’re ready to become a recovery hero. REQUEST YOUR LAB

If you are new to Linux, particularly the command line, and want to learn how to run a program in Linux, you’ve come to the right spot. Running programs in Linux is no different than how it’s done in Windows. Easy to say, right? But no worries, you’ll get to run any program in no time.

In this tutorial, you’ll learn many ways to run programs in Linux, both via GUI and a command-line environment. From a novice Linux user to a power user, you will find knowing these methods to run a program helpful.

Prerequisites

Ubuntu Desktop 15.04 or later – Ensure you have a Linux host ready to go. This tutorial uses Ubuntu 15.04 (Desktop version) with GNOME installed, but any newer distribution should work similarly.

Launching Programs with the Application (App) Launcher

There are generally multiple ways to run a program within Windows, and Linux is no different. We will start with the most common way to run a program using the Launcher.

The most common method to run programs in Linux is to use the Launcher. The Launcher is a bar similar to the Windows start menu that contains a list of icons you can click on to run programs.

In Ubuntu, the App Launcher is located on the left side of the screen, as you can see below, containing default commonly run applications. To open the program, simply click the icon representing the program.

Accessing the Launcher programs through GUI

Launching Programs with the Applications Menu (Unity Dash)

You can also run programs in Ubuntu Linux with Unity Dash. The Applications Menu or Unity Dash is a handy way to search for and run programs in GNOME. To use the Applications Menu, click on the Ubuntu button in the top left corner.

Selecting the icon to search and launch programs using the Unity Dash

You’ll see below that the menu opens a search bar with any recently run programs.

Search for the program you want to run using the Unity Dash in older versions of Ubuntu

Type in the correct name of the program you are looking for (i.e Firefox) and it will appear, then select it to launch the program.

In Ubuntu Linux v20.04+, Unity Dash has been replaced with Activities in the upper left of your screen but the process to run a program remains the same.

Using the Run Command to Launch Program

Another way to launch programs in Linux is to use the Run command. The Run command is a handy way to quickly run a program in Linux by typing the program and executing it.

Читайте также:  Линукс для acer aspire 5315

To run programs via the Run command, select the Alt-F2 to open the Run Command box.

You can also hit Alt-F2 as a shortcut to the run command.

Using the run command

Next, type the name of the program you want to run. In this example, you’ll run the Terminal application, type terminal, select the Terminal icon and hit Enter.

Selecting the icon or hitting enter will launch the program

You’ll see below that Linux will launch the Terminal application.

Running Programs Using Hot Keys

If you’re more of a keyboard ninja and would rather skip the mouse like we started with in the last example, you can also run programs with hotkeys. In all Linux distros, you can use the Super Key (Windows Key) + A. The Super Key will bring up all applications in alphabetical order and a text box to type in the name of a program, as shown below.

You can type the name of the program in the search box to navigate to the program or click on the program with your mouse if it appears immediately.

Running Programs Using Hot Keys

Setting Up Keyboard Shortcuts to Run Programs in Linux

Now that you have learned the GUI options to run programs, the remainder of this tutorial will focus on using non-GUI-based options to run programs. Let’s first begin with keyboard shortcuts. Using keyboard shortcuts can remove a lot of clicking around.

To set up keyboard shortcuts in Ubuntu:

1. Select the icon in the top left corner again and Keyboard Shortcut. The Keyboard application should show up below. When it does, click on it.

Selecting the icon and launching the Keyboard Shortcut

2. In the Keyboard application, click on the Shortcut tab.

In Ubuntu 20.04 and newer, selecting Keyboard Shortcut from the Activities menu brings you directly to the Shortcuts tab.

Accessing the Shortcuts Tab

3. Click on the + icon to create a new keyboard shortcut. Ubuntu will direct you to the Custom Shortcuts section.

Adding a New Shortcut

4. Next, enter a descriptive Name for the shortcut key and provide the Command (program) to execute and click Apply.

Entering the name and program to use for the Shortcut

When Ubuntu creates the shortcut, you’ll see that the Name shows up under Custom Shortcuts but it’s disabled.

Seeing the Created, but not Active Shortcut Key

5. Now, click on the Disabled text as shown above and press the desired keyboard shortcut such as Ctrl+T. Once you type your desired shortcut, it will show up, as shown below.

Activating the Shortcut

6. Finally, launch the application by pressing the keyboard shortcut!

Running a Program within the Terminal

Although if you’re a newcomer to Linux, chances are you’ll be running programs with the GUI but if you need to use the command line for any reason, the Terminal makes it easy to do so. The Terminal is a command-line application that allows you to manage all facets of Linux with the keyboard.

To run programs in the Terminal, open the App Launcher (or Activities) in the upper left corner and run the Terminal application as shown below.

Accessing the Terminal

When the Terminal opens, as shown below, simply type the name of the program and press Enter.

Running programs in the Terminal will not work for all programs. Some programs may not be in the PATH.

Launching the program end result

Conclusion

In this tutorial, you’ve learned many different methods to run programs in Linux. Using both GUI-based and command-line-based methods, you should now know how to launch programs wherever you are within Linux.

Try installing programs in Linux such as the tutorial to install a common program such as Docker for practice and then run it using a shortcut, command line, or GUI Interface. Which way will you use most often to run your favorite programs?

Hate ads? Want to support the writer? Get many of our tutorials packaged as an ATA Guidebook.

Читайте также:  Vmware compact disk linux

Источник

How to Run an Application in Linux

Launching an application using an operating system is the basic task that anyone can perform. The working process of the Linux operating system is totally different from other operating systems like Windows OS or macOS. If you’re a Linux beginner, and want to know different ways to launch or run an application, this tutorial will show you all easy and possible ways.

How To Run an Application in Linux

Linux distribution always has several solutions to perform one operation. You will find multiple choices and can select any of them.

To run an application/program in Linux distributions can be done using command-line and GUI as well. These are the tricks we will cover in this tutorial to run a program:

(I am using Linux Mint 21 to explain these methods)

How To Run a Program Using Terminal in Linux

Most beginners might think that launching an application through GUI is easy. But when you use the command-line, it looks even easier.

To open the application through command-line, open the terminal and type the program name:

How To Run Program Using Run Command In Linux

The “run command” is an alternative way to get apps quickly without using a terminal. All distributions of Linux have run commands as a built-in tool. It is quite simple, when you press “alt+f2”, a dialogue box will appear instantly with a pop-up “Enter a Command”:

Enter a program name in the dialogue box and hit enter:

How To Run Program using Application Menu

Like Windows, an application launcher is the most common way to run programs. Application launcher has a list of several icons that you can run on time. As we are working on Linux Mint, you will see the application launcher at the bottom left corner of the screen. To run the application, simply navigate to that application icon and click it:

How To run Program using Application Launcher Search

Application menu is yet another easiest way to run programs on screen. What you need to do is open the application menu by clicking its icon located at the top left corner of the screen:

It will redirect you to the Software Manager, navigate towards the search bar and type the program name with correct spelling and select it to open:

How To Run Program Using Keyboard Shortcuts in Linux

If you’re a keyboard user and don’t prefer to use a mouse, then this trick will help you. Keyboard shortcuts allow the user to run programs without using a mouse. It would be done when paying attention to the few steps we have mentioned below:

Open the application menu, type keyboard in the search bar and hit Enter:

Move to the “Shortcuts” tab, select “Launchers” from the left corner and you will get “Custom Shortcuts” there, hit it and add any shortcut you want.

Conclusion

The Linux operating system provides multiple ways to the beginner. It helps them to learn each way and select their favorite one to perform the task. Similarly, this article has shown multiple tricks to run or launch a program in Linux. We have mentioned 6 easiest approaches to run or launch a program on a Linux system.

About the author

Syeda Wardah Batool

I am a Software Engineer Graduate and Self Motivated Linux writer. I also love to read latest Linux books. Moreover, in my free time, i love to read books on Personal development.

Читайте также:  Arch linux no wifi menu

Источник

5 Ways to Open or Launch an Application in Debian

Debian Launch Application from Desktop

The calculator is one of the basic tools of any operating system. The Linux operating system also includes a calculator application, which is perfectly sufficient for basic use. You can solve both simple and complex mathematical equations. By default, the calculator application in Linux appears in a simple mode. However, to perform more advanced calculations, you can switch to different modes, such as advanced mode, financial mode, and programming mode.

If you use the calculator regularly, you may find ways to start it with a method that best suits your needs. In this article, we’ll explain 5 different methods you can use to open an application in your Linux operating system. The methods described include opening the application both from the GUI and from the terminal.

We have used Debian 11 as the operating system to describe the methods described in this article.

Method 1: Launch Apps using Terminal

The Terminal is an easy way to launch applications in Linux. To open an application via Terminal, Simply open the Terminal and type the application name.

To open the Terminal, go to the Activities tab located on the top left corner of the desktop. Then in the search bar, type terminal. When the Terminal icon appears, click on it to launch it. Type the below command in it to launch the calculator:

Gnome Calculator

Method 2: Using the Run Command dialog

Run Command dialog provides a quick way of opening an application without opening the Terminal. It is already built-in to all Linux distributions. To access it, just press Alt+F2.

If you want to run a quick command, it will instantly open a dialog box, type the below command and hit enter:

It will launch the calculator application instantly.

Gnome Terminal

Method 3: Using the keyboard shortcut

If you frequently use the calculator application, you can set a keyboard shortcut for it to quickly launch it. To create a shortcut, go to the Activities tab on the top left corner of your desktop. In the search bar, type keyboard. From the results, select the Keyboard option as shown in the below image.

Create Keyboard Shortcut

It will open up a window. From its right pane, click on Launch calculator option.

Keyboard shortcut settings

A dialog box will appear for you to set a shortcut for calculator application. Press the keys simultaneously you wish to use for the shortcut.

Set Shortcut

Once done, click on the Set button.

Enter new shortcut

Now whenever you need to use the calculator, just press the shortcut keys and the calculator will open instantly.

Method 4: From the Applications list

Ubuntu list of applications include the Gnome calculator application. To access the list of applications, click on the Activities tab on the top left corner of your desktop, then on the down left corner of your desktop, you will see dotted icons. Click on that to view the list of installed applications.

GNOME application list

Here you will find your Gnome calculator application.

List of installed Linux applications on GNOME Desktop

Another way to open up a calculator application in Debian is by using the Application launcher search. It can help you to find any installed application and system utilities.

To find calculator application using the application launcher search, hit the super keys and in the search bar, type calculator. Then from the search results that appear, simply click the calculator application.

Search for an application

In this article, we have discussed different ways to open a calculator application. You can try and use any method which you find more convenient.

Источник

Оцените статью
Adblock
detector