Sections and Keys should be case insensitive in the Nautilus Terminal 1.0 configuration

Bug #878540 reported by heynnema
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus Terminal
Fix Committed
Low
Fabien LOISON

Bug Description

I changed the term_height and visible flags, restart Nautilus, and NT doesn't see my .conf changes at all. I wanted 7 lines, and not visible.

Revision history for this message
Fabien LOISON (flozz) wrote :

Put this in the file "~/.nautilus-terminal":

[general]
def_term_height=7
def_visible=0

then you may have to restart nautilus:

nautilus -q

Does it work?

Revision history for this message
heynnema (heynnema) wrote :

Hello Fabien!

I used the .nautilus-terminal template that you suggested, changed the values, restarted nautilus, and no change was observed. I'm using 11.10 with the Unity interface. Here's the template that I used...

[general]
#The terminal height (lines)
def_term_height=7
#The terminal default visibility in new windows? (1: Visible, 0: Hidden)
def_visible=0
#The terminal position (1: Top, 0: Bottom)
#NOTE: it's not recommended to put the terminal on the bottom
term_on_top=1

[terminal]
#The shell to use (Nautilus Terminal use the user's defined shell by default)
shell=/bin/bash

Cheers, Al

Revision history for this message
Fabien LOISON (flozz) wrote :

hum... strange... It works for me :/

What is the output of the following commands ?

    $ killall nautilus
    $ nautilus --no-desktop

Revision history for this message
heynnema (heynnema) wrote :

alheynneman@ubuntu:~$ killall nautilus
alheynneman@ubuntu:~$ nautilus --no-desktop
** (nautilus:6990): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object
Initializing nautilus-gdu extension
[Nautilus Terminal] I: Initializing the Nautilus extension
Initializing nautilus-open-terminal extension
sys:1: Warning: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

--- Hash table keys for warning below:
--> inode/directory
--> Al Heynneman
--> alheynneman
--> l2053

(nautilus:6990): Eel-WARNING **: "unique eel_ref_str" hash table still has 4 elements at quit time (keys above)

--- Hash table keys for warning below:
--> file:///home/alheynneman/Documents
--> smb://meow_nas/sh_alheynneman/
--> file:///home
--> file:///home/alheynneman
--> smb://meow_nas/public/

(nautilus:6990): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 5 elements at quit time (keys above)
Shutting down nautilus-open-terminal extension
Shutting down nautilus-gdu extension
alheynneman@ubuntu:~$

Revision history for this message
heynnema (heynnema) wrote :

Any updates?

Revision history for this message
Fabien LOISON (flozz) wrote :

no... There is no error in your log and the configuration works for me :(

Revision history for this message
Devin Lane (t-devin) wrote :

I had the same issue, but for me it was due to the fact that I got my config from here: http://www.tuxgarage.com/2011/11/must-have-nautilus-extensions-tweaks.html. The sections in that example were capitalized, which didn't work. After I changed the section names to be all lower-case, nautilus-terminal read in the settings as expected.

@heynnema, if you want to debug this further, the python script at /usr/share/nautilus-python/extensions/nautilus_terminal.py is pretty easy to insert print statements into to figure out what's going on.

Revision history for this message
Fabien LOISON (flozz) wrote :

The section/key should be case insensitive... I will fix that...

Changed in nautilus-terminal:
assignee: nobody → Fabien LOISON (flozz)
importance: Undecided → Low
milestone: none → 1.1
status: New → Confirmed
summary: - Nautilus Terminal 1.0 doesn't respect .conf settings
+ Sections and Keys should be case insensitive in the Nautilus Terminal
+ 1.0 configuration
Fabien LOISON (flozz)
Changed in nautilus-terminal:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.