The Show Rulers command enables and disables displaying the rulers. It may be useful to disable them if you are working in full-screen mode.
You can set the default for the rulers in the Image Window Appearance dialog.
You can access this command from the image menubar through View → Show Rulers,
or by using the keyboard shortcut Shift+Ctrl+R.