What is the command to run System Settings from a terminal?

1

For versions before 14.04

gnome-control-center

14.04 and greater

unity-control-center

if you run

gnome-control-center

and get

gnome-control-center: command not found

you can install with

sudo apt-get install gnome-control-center

In Crouton, you must run anything that would require a password from the terminal, such as update manager, software center, synaptic, etc. So, to get to system settings you would enter in the terminal:

sudo gnome-control-center

That will bring up the system settings GUI.

To check for updates, or if the update manager appears in the Unity Launcher, run it from the terminal, not by clicking on it:

sudo update-manager

The same applies to synaptic, the software center, etc. Anything which requires a password, must be run from the terminal in Crouton with a...

0 0
2

How do I set or change the PATH system variable?

This article applies to:

Platform(s): Macintosh OS X, Oracle Linux, Red Hat Linux, SUSE Linux, Solaris SPARC, Windows 7, Windows 8, Windows Vista, Windows XP

The instructions on this page are intended for advanced users or system administrators.


General Information

The PATH is the system variable that your operating system uses to locate needed executables from the command line or Terminal window. The PATH system variable can be set using System Utility in control panel on Windows, or in your shell's startup file on Linux and Solaris. Making changes to the system PATH variable is typically not necessary for computers running Windows or Mac OS X.

Windows

Windows 10 and Windows 8 In Search, search for and then select: System (Control...
0 0
3

By Gary Newell

This is a short but useful guide to show how to run Linux applications from the terminal whilst allowing the terminal to retain control.


There are various ways of opening a terminal window in Linux and it largely depends on your choice of distribution and the desktop environment.

Using Ubuntu you can open a terminal by using the CTRL + ALT + T key combination. You can also open a terminal window by pressing the super key (Windows Key), on the keyboard, to bring up the Dash and search for "TERM". Clicking on the "Term" icon will open a terminal window.

For other desktop environments such as XFCE, KDE, LXDE, Cinnamon and MATE you will find the terminal within the menu. Some distributions will have a terminal icon in a dock or as a launcher on a panel.

You can generally start an application from the terminal by simply entering the name of the program. For instance you can start Firefox by typing "firefox".

The...

0 0
4

Making Chrome default browser for Skype

Skype does not use default browser from Ubuntu system settings. One needs to change ~/.local/share/applications/mimeapps.list. Replace all browsers with google-chrome.desktop there.

http://askubuntu.com/questions/96080/how-to-set-google-chrome-as-the-default-browser

Inserting to PDF file

http://askubuntu.com/questions/18685/adding-pages-to-existing-pdf-file

pdftk A=bigpdf.pdf B=insert.pdf cat A1-180 B A181-end output output.pdf

Reverting from Ctrl+Alt+F1..F6

Ctrl+Alt+F1 to F6 are the virtual consoles provided by the getty/agetty programs. Ctrl+Alt+F7 is the console where your X server is running. The GUI (Gnome/KDE or any other) runs over X. So to get back into your GUI window manager: type:

Ctrl+Alt+F7

or

Alt+F7

or

Ctrl+Alt+F8

http://askubuntu.com/questions/157617/reverting-from-ctrl-alt-f1

Open Open Office spreadsheet from command...

0 0
5

Remote desktop can be enabled/disabled by opening My computer properties and then by changing the settings in the ‘Remote‘ tab. We can do the same by editing registry key settings. This is explained below. Remote desktop is also called Terminal services or TS or RDP. This is an in-built remote desktop software for Windows users.

To enable remote desktop.

Open registry editor by running regedit from Run. Go to the node HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server Change the data of the value fDenyTSConnections to 0.

We can enable remote desktop from windows command line by running the following command.

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

To disable remote desktop we need to run the below command.

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f

Reboot or logoff is not...

0 0
6

1. General

2. MobaXterm interface

3. Global settings

4. Sessions settings

5. How to

6. Frequently Asked Questions

What is X11? Why would I need an X server? What does X11-Forwarding means? How does X11-Forwarding work? Why is my remote DISPLAY variable configured to "localhost:10.0"? I want to change MobaXterm X server DISPLAY address to my second network adapter (or my VPN adapter). How can I do this? I have an issue with an X11 remote program (Java/X11/Motif) which does not accept keyboard input: everytime I press a keyboard key, nothing is written on the text field How do the X11 tabs with DWM work? Why does MobaXterm include this "tiling" window manager? How can I simply launch the X11 server without starting the full MobaXterm environment? Does MobaXterm X server support OpenGL? How can I use hardware acceleration? How can I display a full remote desktop from a Unix/Linux server in MobaXterm (Gnome, KDE, FVWM, Openbox, Fluxbox, IceWM,...
0 0
7
...
0 0
8

Setting the Locale in a Terminal Session

You can change the locale in a terminal session by setting the LANG variable as follows:

$ export LANG=locale

For example, to change to the de_DE.UTF-8 locale, you would type:

$ export LANG=de_DE.UTF-8

To verify the locale has been successfully changed, run the locale(1) command:

$ locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_ALL=

To obtain the list of locales available in a system, run the following command:

$ locale -a

To install more locales, see Installing Additional Locales.

Composite Locales

The LC* variables, such as LC_CTYPE or LC_MESSAGES, described in detail in Locale Categories, can also be set in a terminal along with the LANG variable. When set, they override the LANG setting for the particular category. This type of locale setting is called...

0 0
9
...
0 0
10

If you are a command line junkie like me, and have been testing out Windows… one of the first things you’ll notice is that there is no way to run a command from the run box in “Administrator” mode. Until now.

This works in Windows 10, 8, 7, or Vista, but it works a little differently in each.

Running a Command as Administrator in Windows Vista, 7, or 10

To try this out, go to the run box and type in something (cmd, for example)

If you’re using Windows 10, it’ll look a little different, but it’ll be the same thing:

Now instead of hitting the Enter key, use Ctrl+Shift + Enter. You will be prompted with the obnoxious User Account Control dialog… but it will then open up a command prompt in Administrator mode.

Hint: You can use Alt + C to quickly close the User Account Control dialog in Vista, or Alt+Y in Windows 7, 8, or 10.

Running a Command as Administrator in Windows 8

Windows 8 is...

0 0
11

We can start Terminal Services by running the command given below.

net start TermService

If the service is already running you will get the message ‘The requested service has already been started.‘
Sometimes you may get an error that the service could not be started.

C:\>net start termservice The Terminal Services service is starting. The Terminal Services service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534.

This happens when Terminal Services is disabled through registry hack. You can fix this by running the below registry change command.

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v TSEnabled /t REG_DWORD /d 1 /f

You need to reboot the computer for the changes to take effect. After reboot terminal services starts automatically or you can start the service using net start command as mentioned above.

How to stop Terminal Services?

Terminal...

0 0
12

The Run command for Windows Remote desktop application is Mstsc.

Just open

Run

from start menu and type

mstsc

in the text box next to

open

and press enter.


This command

mstsc

can be used from command line too.

If you are connecting to a Windows XP machine then it allows only one active user at a time. We can open multiple connections to a Windows Server 2003/ 2008 machine. Every time we connect to the server it opens a new user session. To avoid this we can open a connection to the console. This allows us to login back to the same user session if we already have one. To do this we need to add /console switch to the mstsc command.

mstsc /console

This command can be run from command prompt or from Run window.

Run command for opening remote desktop session in full screen mode
We need to add /f switch to mstsc command.


mstsc /f

Run command for specifying the remote computer...

0 0
13
An A-Z Index of the Bash command line | SS64.com alias Create an alias • apropos Search Help manual pages (man -k) apt-get Search for and install software packages (Debian/Ubuntu) aptitude Search for and install software packages (Debian/Ubuntu) aspell Spell Checker awk Find and Replace text, database sort/validate/index b basename Strip directory and suffix from filenames bash GNU Bourne-Again SHell bc Arbitrary precision calculator language bg Send to background bind Set or display readline key and function bindings • break Exit from a loop • builtin Run a shell builtin bzip2 Compress or decompress named file(s) c cal Display a calendar case Conditionally perform a command cat Concatenate and print (display) the content of files cd Change Directory cfdisk Partition table manipulator for Linux chgrp Change group ownership chmod Change access permissions chown Change file owner and group chroot Run a command with a different...
0 0
14
An A-Z Index of the Windows CMD command line | SS64.com ADDUSERS Add or list users to/from a CSV file ADmodcmd Active Directory Bulk Modify ARP Address Resolution Protocol ASSOC Change file extension associations• ASSOCIAT One step file association AT Schedule a command to run at a specific time ATTRIB Change file attributes b BCDBOOT Create or repair a system partition BCDEDIT Manage Boot Configuration Data BITSADMIN Background Intelligent Transfer Service BOOTCFG Edit Windows boot settings BROWSTAT Get domain, browser and PDC info c CACLS Change file permissions CALL Call one batch program from another• CERTREQ Request certificate from a certification authority CERTUTIL Utility for certification authority (CA) files and services CD Change Directory - move to a specific Folder• CHANGE Change Terminal Server Session properties CHKDSK Check Disk - check and repair disk problems CHKNTFS Check the NTFS file system CHOICE Accept...
0 0
15

First, open Synaptic by running synaptic in the terminal. Type the name of the app in the quick filter box. For an example, I'll use LibreOffice Writer. Type the name of the app in the Synaptic filter:

It appears as the first installed result (little green box), with the full package name libreoffice-writer in the first column.

Now, try running libreoffice-writer in the terminal. Sometimes the package will run, but in this case it doesn't work:

Now, if you look back at Synaptic, you will see that the very first result is the libreoffice package. You could just run libreoffice in the terminal, in which case you get this window:

Or, you could type man libreoffice in the terminal. If you look at the these two screenshots:

You can see that to directly launch LibreOffice Writer, you can use one of two commands: lowriter or libreoffice --writer. Both work equally...

0 0
16

Many Linux users get confused when they are in a Linux terminal and trying to delete files of folders. So in this Linux tutorial, I will cover how to delete files in Linux terminal! The Linux delete command is another basic command that is used everyday while in a Linux terminal. There are only 2 options that I use on a regular basis with the Linux rm command.

The usage of the Linux rm command is rm [options] [file|dir]. The 2 options I use most is rm -r [dir] and rm -f [file]. Now to explain these options for the Linux delete command and also give you some examples on how to remove a file with Linux.

The rm -f [file] option is if you are wanting to force a file to be removed. This will not ask you “are you sure you want to remove [file]”. It will just delete the file regardless. So use this option for the Linux rm command only if you know you want all of the file(s) deleted.

Now the rm -r [dir] option is if you are wanting to delete a directory in Linux. The...

0 0
17

Watch in 1080p HD for optimal clarity! All commands used are listed below for your convenience.

In this video I demonstrate through the use of screen captures and narration how to compile and run Java programs using the Windows Command Prompt and the Ubuntu Unix Terminal. No IDE is required for the compilation and execution process - compilation and execution can be performed via the Command Prompt and the Terminal.

I'll also demonstrate how to install and set up the Oracle Java Development Kit (JDK) on Windows and Ubuntu systems, as well explain briefly what a JDK is. To compile and run Java programs, we require the Java Compiler, the Java Virtual Machine and the Java Standard Library, all of which are included in the JDK, hence the JDK is absolutely essential for our purposes.

I hope you learn something new from this video tutorial, and if you like it, please like, comment and subscribe!

----- Download Link for JDK -----
Download x64 installer if...

0 0
18

8. Terminal

Almost anything can be done graphically on a modern GNU/Linux distribution like openSUSE, but to really become a self-reliant user and to truly take advantage of the power of your GNU/Linux operating system, you should at least know a few terminal basics - it's not difficult at all!

There are thousands of commands you can run, each with a number of different options. So this chapter is just a small teaser describing the most common commands.

You'll find Konsole under System in the launch menu.


Your web browser does not support the HTML5 video element and/or Ogg Theora format.
Try Firefox, Konqueror or Opera.

Download video for local viewing (4.3 MB)

Using the command line is quite easy. Simply enter a command and possibly one or more options and one or more arguments and then press Enter. Example:

ls -l /home/[username]/

The

commandls

displays a list of files, the

option-l

means that the list...

0 0