Pagina 1 di 1

Pesonalizzare apertura terminale in nautilus

Inviato: lunedì 27 agosto 2018, 9:15
da Sam9999
In XFCE Thunar non mi ci trovavo comodo nell'uso, la funzione di ricerca in una cartella, inserendo il nome di un file, lo ricerca e ci si posizione ma non mi rende la lista.

Ho quindi installato Nautilus che mi ci trovo meglio per lavorare ed effettuare ricerche di file nelle cartelle.

Per comodità ho installato l'opzione "apri nel terminale" nel menu di nautilus.

ora però il terminale che si apre non è più lo stesso di prima, e non mi piace tanto avendo una lettura differente dei caratteri, come faccio a impostare il terminale che voglio nell'apertura dal menu di nautilus?

Ho controlato le impostazioni e non mi trovava quindi il Terminale di GNOME una volta installato "sudo apt install gnome-terminal" ora mi apre quello di default ma non riesco a usarne un altro, mi andrebbe meglio che aprisse xfce4-terminal.

Nella cartella trovo i seguenti file di configurazione ma non capisco come modificarli.

Codice: Seleziona tutto

~/.local/share/nautilus/scripts/nautilus-scripts$ la -al
totale 40
drwxr-xr-x 10 sam sam 4096 ott  3  2004  .
drwx------  3 sam sam 4096 ago 27 08:21  ..
drwxr-xr-x  2 sam sam 4096 ott  3  2004  Archiving
drwxr-xr-x  2 sam sam 4096 ago 27 11:08  Execute
drwxr-xr-x  2 sam sam 4096 ott  3  2004 'File Info'
drwxr-xr-x  2 sam sam 4096 ott  3  2004 'File Processing'
drwxr-xr-x  2 sam sam 4096 ott  3  2004 'File System Management'
drwxr-xr-x  2 sam sam 4096 ott  3  2004  Multimedia
drwxr-xr-x  2 sam sam 4096 ott  3  2004  Obsolete
drwxr-xr-x  2 sam sam 4096 ott  3  2004 'System Configuration'
Andanado poi sotto execute:

Codice: Seleziona tutto

~/.local/share/nautilus/scripts/nautilus-scripts/Execute$ ls -al
totale 64
drwxr-xr-x  2 sam sam 4096 ago 27 11:43  .
drwxr-xr-x 10 sam sam 4096 ott  3  2004  ..
-rwxr--r--  1 sam sam 2774 ott  3  2004  command_prompt_here
-rwxr-xr-x  1 sam sam  519 apr  7  2002  gedit
-rwxr-xr-x  1 sam sam  109 apr  6  2002  ghex
-rwxr-xr-x  1 sam sam  544 apr  7  2002  glimmer
-rwxr-xr-x  1 sam sam  855 ago 27 11:10 'Open Terminal Here'
-rwxr--r--  1 sam sam  500 dic  1  2002 'Play in XMMS'
-rwxr-xr-x  1 sam sam  810 ott  3  2004  root-nautilus-here
-rwxr-xr-x  1 sam sam  237 apr  6  2002  root-terminal-here
-rwxr-xr-x  1 sam sam  186 apr  6  2002  run
-rwxr-xr-x  1 sam sam  352 ago 27 11:42  terminal-here
-rwxr-xr-x  1 sam sam   69 apr  6  2002  xemacs
-rwxr-xr-x  1 sam sam  425 lug 21  2002  xine
-rwxr-xr-x  1 sam sam   70 apr  6  2002  XMMS
-rwxr-xr-x  1 sam sam  796 ago 27 11:43  xsu-terminal-here

Quindi si editano i file terminal-here e xsu-terminal-here per definire quali saranno aperti.

Li ho editati ma ancora non si applicano.. forse devo riavviare la sessione.
Mi apre ancora gnome-terminal anche dopo avere cambiato impostazione a root-terminal-here...

Quindi al momento mi devo tenere il gnome-terminal con nautilus... sempre decente rispetto a xterm che apriva prima.. :birra:

Nautilus ha comunque dei problemi a girare sotto XFCE.... con il doppio click o programma predefinito ha problemi ad aprire i file. :cry:

In avvio nautilus mi da il seguente errore, come si puo' risolvere ?

Codice: Seleziona tutto

sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded.
Initializing nautilus-font-manager extension
Initializing nautilus-image-converter extension
Initializing nautilus-open-terminal extension
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
RuntimeError: object at 0x7f262cceae60 of type ColumnExtension is not initialized
Dal sito web gitHub gnome-shell-extension-mconnect ho trovato un file nautilus-send-mconnect.py creato lo stesso nella cartella

Codice: Seleziona tutto

/usr/share/nautilus-python/extensions
ora i file si aprono con il doppio click ma l'errore in avvio resta.

No, avviato da terminale ha funzionato, ma avviato come applicazione predefinita per gestione file non vuole andare.. si mette apensare e non apre i file.

Per ora ho creato una icona sul desktop per aprire nautilus e aprendo da li il gestore file funziona anche il doppio click.