The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

How to reset i3 config files to its default ?

asked 2013-03-26 20:59:27 +0000

sohaeb gravatar image

After installing i3, I accidentally press on the second option which is "Do not generate config files".

Now, I want to use the default config files which is option 1.

I tried this command :

$i3 -c /etc/i3/config

and I ended up with this error,

suhaib@suhaib:~$ i3 -c /etc/i3/config
deciding for version 4 due to this line: # i3 config file (v4)
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
    Found keysym binding mod8 with key Return and command exec i3-sensible-terminal
    Found keysym binding mod9 with key q and command kill
    Found keysym binding mod8 with key d and command exec dmenu_run
    Found keysym binding mod8 with key j and command focus left
    Found keysym binding mod8 with key k and command focus down
    Found keysym binding mod8 with key l and command focus up
    Found keysym binding mod8 with key semicolon and command focus right
    Found keysym binding mod8 with key Left and command focus left
    Found keysym binding mod8 with key Down and command focus down
    Found keysym binding mod8 with key Up and command focus up
    Found keysym binding mod8 with key Right and command focus right
    Found keysym binding mod9 with key j and command move left
    Found keysym binding mod9 with key k and command move down
    Found keysym binding mod9 with key l and command move up
    Found keysym binding mod9 with key semicolon and command move right
    Found keysym binding mod9 with key Left and command move left
    Found keysym binding mod9 with key Down and command move down
    Found keysym binding mod9 with key Up and command move up
    Found keysym binding mod9 with key Right and command move right
    Found keysym binding mod8 with key h and command split h
    Found keysym binding mod8 with key v and command split v
    Found keysym binding mod8 with key f and command fullscreen
    Found keysym binding mod8 with key s and command layout stacking
    Found keysym binding mod8 with key w and command layout tabbed
    Found keysym binding mod8 with key e and command layout default
    Found keysym binding mod9 with key space and command floating toggle
    Found keysym binding mod8 with key space and command focus mode_toggle
    Found keysym binding mod8 with key a and command focus parent
    Found keysym binding mod8 with key 1 and command workspace 1
    Found keysym binding mod8 with key 2 and command workspace 2
    Found keysym binding mod8 with key 3 and command workspace 3
    Found keysym binding mod8 with key 4 and command workspace 4
    Found keysym binding mod8 with key 5 and command workspace 5
    Found keysym binding mod8 with key 6 and command workspace 6
    Found keysym binding mod8 with key 7 and command workspace 7
    Found keysym binding mod8 with key 8 and command workspace 8
    Found keysym binding mod8 with key 9 and command workspace 9
    Found keysym binding mod8 with key 0 and command workspace 10
    Found keysym binding mod9 with key 1 and command move container to workspace 1
    Found keysym binding ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-28 13:03:11 +0000

Michael gravatar image

You seem to be running i3 from a terminal while you have another window manager running (another instance of i3?).

To get the wizard prompt again, simply delete ~/.i3/config, it will ask you on the next login. Alternatively, run i3-config-wizard from a terminal.

edit flag offensive delete link more
0

answered 2013-03-26 22:32:39 +0000

joepd gravatar image

Just rename your config file in $HOME. Accoring to man i3-config-wizard:

i3-config-wizard is started by i3 in its default config, unless /.i3/config exists. i3-config-wizard 
creates a keysym based i3 config file (based on /etc/i3/config.keycodes) in /.i3/config.

I guess not mentioning .config/i3/config is a bug.

edit flag offensive delete link more

Comments

You mean rename /etc/i3/config ? to another name ?

sohaeb gravatar imagesohaeb ( 2013-03-26 22:51:06 +0000 )edit

No. Don't touch the system files under `/etc`. Rename the i3 config file in your home directory. If you don't have a personal configuration, i3 will assist you to get things set up again :)

joepd gravatar imagejoepd ( 2013-03-26 23:43:49 +0000 )edit

Wow... Sorry... did not read the actual error, but only your interpretation of the error. Rebooting should fix the error.

joepd gravatar imagejoepd ( 2013-03-26 23:46:39 +0000 )edit

Question Tools

Stats

Asked: 2013-03-26 20:59:27 +0000

Seen: 4,892 times

Last updated: Mar 28 '13