2

How can I copy-paste following command:

rm -r ~/.gconf/apps/gnome-terminal
gconftools --recursive-unset /apps/gnome-terminal

into a virtual-terminal?

Pabi
  • 7,429

2 Answers2

1

If you can't use the standard terminal:

...I cannot use the terminal normally ...

start your installed packet manager Synaptic and install an other terminal xterm.

Use Alt+F2 and type xterm and Return

Now you can copy and paste:

  • mark the command with the left mouse button
  • paste the command with the middle mouse button

Alternatively write a short script and start the script in the virtual terminal:

  • Start gedit and add the lines below:

    #!/bin/bash
    rm -r ~/.gconf/apps/gnome-terminal
    gconftools --recursive-unset /apps/gnome-terminal
    
  • Save the file as foo in your home folder and switch to tty.

  • Login and make the script executable

    chmod +x ~/foo
    
  • Start the script

    ./foo
    
A.B.
  • 92,125
0

As far as I know, there is no way to access a desktop clipboard from a virtual terminal.

The easiest thing to do in this case is to save and run these commands as a script.

Brian Z
  • 712