Can not paste into Gnome Terminal from Netbeans

1

Copy text by highlighting it with your mouse. Usually you can use Ctl+C or right click the selection select "copy" from the popup menu as well.

Paste text by clicking your middle mouse button. Ctl+V also works in many places and so does Shift+Insert.

The problem occurs when different applications use different clipboards. You will successfully copy the text to a clipboard in Application A, but when you go to Application B to paste, it will try paste from a different clipboard. In Windows all applications use the same clipboard.

There are several solutions. Probably the easiest one to get working is to install Parcellite.

Install parcellite

sudo apt-get install parcellite

Run parcellite

parcellite&

A clipboard icon will show up in the system tray.

Use parcellite

Copy some text. Click the clipboard icon in the system tray and select what you want from the menu. Paste your...
0 0
2

GNOME Terminal Frequently Asked Questions

Please read through these common questions and answers before emailing the mailing list, asking on IRC or filing a bug report.

Look at these detailed instructions.

Since version 3.7, for new terminals to start in the working directory of the current terminal, it is necessary for the shell running in the terminal to cooperate. For this, vte since version 0.34.5 installs a /etc/profile.d/vte.sh script that when sourced will set this up automatically. It supports both bash(1) and zsh(1).

Some distributions (e.g. Fedora) source that script automatically for all interactive shells. Other distributions may only source it automatically for login shells, so you need to either source it manually from ~/.bashrc, or check the "Run command as a login shell" checkbox on the "Command" tab in the profile preferences dialogue. For more information see this bug report.

Note that on bash(1), this feature relies on the...

0 0
3

I had an issue just now that I fixed that may be relevant for new-comers with newer versions of GNOME (and gnome-terminal):

For any text encoding you want to use, the shell (e.g. bash) and terminal emulator (e.g. gnome-terminal) must use the same encoding. So e.g. if the shell uses en_US.utf8 and the terminal emulator uses en_US.ISO-8859-1 (a.k.a. latin1), then you will see strange text in your terminal for any program with UTF-8 output.

Now, I am not able to set the encoding upon login, as I've seen suggested would be possible. This might be due to the fact that we have an older version of GDM here at work. This is why I've needed a different solution.

Anyway, GNOME 3 doesn't seem to automatically source .bashrc nor .profile upon login. But it does source .gnomerc, in which you can put environment variables that will be exported to GNOME programs (as far as I can tell).

Putting export LANG="en_US.utf8" in .gnomerc thus starts gnome-terminal using a...

0 0
4

I found the solution!

I can confirm this works on OpenSUSE and Arch Linux. I hope this works on other distro's too. I tried everything in this question How can I merge the gnome clipboard and the X selection? but nothing helped. I found this bug at launchpad which worked: https://bugs.launchpad.net/ubuntu/+source/keepass2/+bug/1010289 .

Solution: Install both xdotool and xsel, and restart gnome-terminal and keepass2.

I tested this on gnome-terminal, terminator and konsole.

EDIT: this solution works, however not for some Java based applications. (PHPStorm and other Jetbrains software) I solved this: - install parcellite - start it - right click on the tray icon and choose preferences - make sure Use Copy (Ctrl+C), Use Primary and Synchronise clipboards are enabled.

EDIT2: There is a better solution for the Java problem (thanks @colan), a patch has been merged into xsel but this hasn't been released (see:...

0 0
5
Description of problem: Copy/paste not working with gnome-terminal in wayland session. Version-Release number of selected component (if applicable): 3.16.1 Steps to Reproduce: 1. Run gnome in wayland-session. 2. Open gnome-terminal window. 3. Try ctrl + shift + c, ctrl + shift + v and copy and paste with context menu. Comment 1 Mike FABIAN 2015-04-23 05:56:42 EDT This works for me on Fedora 22 Beta (with all current updates installed by “sudo dnf update”). It works for me both with the context menu and the key bindings. Versions: [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ rpm -q gnome-shell gnome-terminal gnome-shell-3.16.1-1.fc22.x86_64 gnome-terminal-3.16.1-1.fc22.x86_64 [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ Comment 3 davidzgumberg 2015-07-19 01:04:37 EDT I am experiencing the same bug with the latest packages in fedora 22. Comment 4 Johnny Robeson 2015-10-29 22:48:47 EDT Somebody should...
0 0
6

The Ctrl – C / Ctrl – V copy / paste classic commands do not work in the Gnome-Terminal.

In the Gnome-Terminal, Ctrl – C terminates the process, while Ctrl – V is interpreted different by the shell. I recommand you not to edit the Ctrl – C and Ctrl – V shortcuts, learn the new ones instead.

How to copy paste in and from the Gnome-Terminal:

1. Ctrl – Shift – C and Ctrl – Shift – V :

Ctrl – Shift – C copies the selected text in the terminal.

Ctrl – Shift – V pastes the copied text in the terminal

There is also a pair of keyboard combinations that do copy paste:

2. Ctrl – Ins and Shift – Ins :

Ctrl – Ins copies the selected text in the terminal

Shift – Ins pastes the selected text in the terminal, even if you haven’t copied it.

Share and...

0 0
7

I installed Linux Mint 18 and I am having many problems with gnome-terminal, such as no tab auto-completion and messed up color profiles. I booted into the installation medium (ie live session) and confirmed none of these problems exist. So, I want to remove and reinstall gnome-terminal to default settings.

However, no matter what I do, I can't find or remove all config files, and when I reinstall gnome-terminal the old profiles still exist, as do all the issues. For example, the default profile is "Unnamed" but if I rename it or add a second profile, these profiles still exist after I reinstall.

Things I have tried

Code: Select all

sudo apt-get purge --auto-remove gnome-terminal

Deleting all keys through gconf

Some forums have suggested files are located at

but this location does not...

0 0
8

^Downgrading is no kind of a long term solution.

juanp_1982 wrote:

this is the correct output: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1"

If i understand correctly, that message means that when you launch gnome-terminal, it tries to start org.gnome.Terminal.service via dbus, and that fails.
So, either this is dbus issue, or org.gnome.Terminal.service, which is used to launch gnome-terminal-server fails for some other reason.

Try executing 'dbus-launch /usr/lib/gnome-terminal/gnome-terminal-server' from another terminal in X and let us know what happens.

Last edited by ooo (2014-04-17...

0 0
9

Question: I used to be able to open multiple tabs inside gnome-terminal on my Ubuntu desktop. On Ubuntu 15.04, however, I can no longer open a new tab in my terminal window. How can I open tabs in gnome-terminal on Ubuntu 15.04?

On Ubuntu 14.10 or earlier, gnome-terminal allowed you to open either a new terminal or a tab inside a terminal window. However, starting with Ubuntu 15.04, gnome-terminal has removed "New Tab" menu option. This is actually not a bug, but a feature that attempts to unify new tab and new window. GNOME 3.12 has introduced a single "Open Terminal" option. The ability to open a new terminal tab has been migrated from the terminal menu to Preferences.

Open Tabs via Preferences

To be able to open a new tab in new gnome-terminal of Ubuntu 15.04, go to "Edit" -> "Preferences", and change "Open new terminals in: Window" to "Open new terminals in: Tab".

Now if you open a new terminal via menu, it will automatically open a...

0 0
10

I was facing this problem on my PC yesterday. I had to use Xterm instead of Gnome Terminal. I searched a lot on Internet and finally got a solution.

Error details are pasted below:

Unable to access the Terminal session.

Accessed Xterm and executed the following command to access the Gnome Terminal manually.

gnome-terminal

I got the following error while doing so:

root@Work-station:~# gnome-terminal (process:2689): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 9

Solution

I tried to update the Gnome Terminal. However, that didn’t work. Finally I had to purge “locale-gen” on the system to fix the problem with Gnome Terminal.

Executed the following command:

...
0 0
11

How to customize your old, boring Terminal screen. Transform your Terminal screen just like Iron Man Jarvis – 100% transparent or change the background color or text color of the Terminal screen. Not only this, we will also learn how to set an image as Terminal screen background and replace the solid color. These tricks are a must know for any Linux Ubuntu users to show their geekness.

Terminal is a very powerful CLI (command line interface), where you type a command and tell Linux PC to what to do. The Terminal is a faster and more powerful way of executing commands that is not possible using the Linux GUI. Terminal gives you more tools to execute a command. You can also cut, copy and paste the Terminal commands or get help for any command right withing the Terminal.

How to Open Terminal

In Unity

Dash > Terminal Dash > More Apps > Accessories > Terminal Keyboard Shortcut: Ctrl+Alt+T

In Gnome

Application Menu > Accessories > Terminal Keyboard...
0 0
12

GNOME Terminal is an open source terminal emulator application, specifically designed for the controversial GNOME desktop environment. The irony is that its a graphical application that runs command-line commands.

The program is only the shell prompt, because the terminal emulation part is powered by the VTE widget. It empowers users to communicate with their system using text-based commands, via a UNIX shell, such as Bash or ZSH.

Features at a glance

With this application, users will be able to launch graphical applications, execute various commands, copy and paste text, add, remove and reorder terminal tabs, open web links and email addresses, search, view and edit keyboard shortcuts, and much more.

Its user interface is very basic, comprised only of the terminal emulator window and a main toolbar, from where users can open a new instance and tab, create a new profile, close the current tab or the main window, copy, paste and find text, as well as to...

0 0
13
...
0 0