User.ini

Discussion related to "Everything" 1.5.
void
Developer
Posts: 20177
Joined: Fri Oct 16, 2009 11:31 pm

User.ini

Post by void »

Everything 1.5.0.1397a adds support for User.ini

user.ini files can set your settings on Everything startup.
Users can still change settings, but the settings are lost when they restart Everything.

Use Policy.ini to lock settings.



Please make sure your settings are listed under an [Everything] section.

For example, to reset the Everything window to position 100,100:

User.ini

Code: Select all

[Everything]
window_x=100
window_y=100


Everything 1.5 will load user.ini files from the following locations:
  • exe-path\User.ini
  • %APPDATA%\Everything\User.ini


Everything 1.5 alpha with the alpha instance will load user.ini files from the following locations:
  • exe-path\User.ini
  • exe-path\User-1.5a.ini
  • %APPDATA%\Everything\User-1.5a.ini


Everything 1.5 with a custom instance name will load user.ini files from the following locations:
  • exe-path\User.ini
  • exe-path\User-<instance-name>.ini
  • %APPDATA%\Everything\User-<instance-name>.ini


INI Settings
therube
Posts: 5804
Joined: Thu Sep 03, 2009 6:48 pm

Re: User.ini

Post by therube »

Not mentioned, but it seems you can include REMARKS (and spacing) in the User.ini file.

Code: Select all

[Everything]
; ALWAYS !!!
convert_forward_slash_to_backslash=1
; FAYT - ALWAYS !!!
search_for_text_when_you_start_typing=1

;unsure ??? it's a tradeoff
match_whole_filename_when_using_wildcards=0

; AND > OR
operator_precedence=1


; ugly highlight on mouseover of a line in the result list
show_mouseover=0

; bytes - why would anyone ever want anything else ;-)
size_format=1
; HMMM..., but then, what is this ??? ... "3 digits", just what does that mean & how does it differ from above?
; size_number_format=4 - size_number_format is ignored when formatting as bytes

; search size:<column value> - when Shift is held down... hmmm... ?
; suppose can't hurt that it exists... only visible on Shift, so not seen, all the time
context_menu_search_column_value=3


; colors focused TAB, <green>
custom_colors=#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff
tabs_selected_background_color=#00ff00

; dupes need to be colored too
dupe_group_colors=1
dupe_line_color=#000000


; hotkeys
; F5
file_copy_path_keys=8308
; F6, overrides Next Frame, but Shift+F6 still exists /Previous/ Frame
file_copy_full_path_keys=9539,8309
; F12
file_copy_name_keys=8315
; F5 is default, but overridden above, so i use Shift+F5 (1140)
view_refresh_keys=116,1140


; size all columns to fit window !!! --- interesting...
; ctl+shift+num + ???

; window size, autofit ; large, medium, small - also interesting, BUT, it needs a "revert" to /user/ set settings
; alt+4        ; 3 2 1

; zoom reset, from xxx to 100%
; ctrl+0

; hmmm... almost certainly want remove disabled, but include... ?
auto_include_fixed_volumes=0
auto_remove_offline_ntfs_volumes=0

; show Filter Bar selector
filters_visible=1


; make 1.5b Titlebar look like 1.5a (with $instance & $version)
window_title_format=$search: - Everything ($instance:) $version:

; new in 1.5b, tabs are not "loaded" till accessed (should make startup quicker, less CPU...)
session_store_restore_on_demand=1

; too old, lets get it bigger ;-)
zoom=117


; external programs
custom_open_command01=$exec("C:\WLIB\PLAYERS\mpv.net\mpvnet.exe" %*)
custom_open_command02=$exec("C:\BIN\XXhash64.BAT" %*)
custom_open_command03=$exec("C:\BIN\MI_COMPARE.BAT" %*)
custom_open_command04=$exec("C:\BIN\HEX.exe" %*)
custom_open_command05=$exec(C:\BIN\win32pad.exe K:\xfeRRRRRRR\DONE\DONEX\delme.from.K\new.txt")
custom_open_command06=$exec("C:\BIN\chk.4.EVERYTHING.exe" %*)

; associated hotkeys for above external programs
file_custom_open_1_keys=8781
file_custom_open_2_keys=8793
file_custom_open_3_keys=8777
file_custom_open_4_keys=8776
file_custom_open_5_keys=8773
file_custom_open_6_keys=8792


; some extra leeway
jump_to_timeout=99999
length_dupe_tolerance=900
open_many_files_warning_threshold=9


; pidl ARE need (if you're selecting / dragging LOTS of items)
context_menu_simple_pidl=1
drag_drop_simple_pidl=1


; pretty sure i want it, but have to think about it (incl. remembering where it comes into play)
rename_overwrite=1
; is this still needed... ought to NOT set it & see if i'm loosing focus... was an OLD issue
; select_focus_on_lost_selection=1
; now... what was that?  did it have to do with "converting" LFN to SFN ?
; shell_execute_short_parameters=1
therube
Posts: 5804
Joined: Thu Sep 03, 2009 6:48 pm

Re: User.ini

Post by therube »

Should you be able to set keyboard shortcuts in user.ini ?

Code: Select all

[Everything]
; for Everything_Rename, EGOR.bat, i want Quit, Alt+F4 to EXIT the program, rather then close to Tray
file_exit_keys=627

(now sure, i can just set it directly, but then i need to make a note that i did, & why.
if it were in user.ini, then it's already there & "documented".

I suppose i could do both, as in, setting it manually, & then also including it in user.ini - even though not effectual,
so i would then not need a separate note, somewhere...)
void
Developer
Posts: 20177
Joined: Fri Oct 16, 2009 11:31 pm

Re: User.ini

Post by void »

User.ini

Code: Select all

[Everything]
; for Everything_Rename, EGOR.bat, i want Quit, Alt+F4 to EXIT the program, rather then close to Tray
file_exit_keys=627
This worked for me, Alt+F4 is bound to File | Exit.

Make sure the User.ini is in one of the following locations (in load order):
The same location as your Everything.exe
The same location as your Everything.exe (with instance name suffix: User-<instance-name>.ini)
%APPDATA%\Everything (with instance name suffix: User-<instance-name>.ini)
Check if you have another user.ini overriding your Alt+F4 one.
therube
Posts: 5804
Joined: Thu Sep 03, 2009 6:48 pm

Re: User.ini

Post by therube »

This worked for me
Me too. So I wonder what I did?

Maybe ? initially it had closed to Tray - which I didn't realize, so when I reopened, I was simply opening from Tray rather then the program restarting? (I'll think about it, more... at some later time.)