services: console-keymap: Deprecate.
* gnu/services/base.scm (console-keymap-service): Mark as deprecated. * doc/guix.texi (Base Services): Remove its documentation.
This commit is contained in:
		
							parent
							
								
									a31af2beee
								
							
						
					
					
						commit
						3a665637af
					
				
					 2 changed files with 2 additions and 24 deletions
				
			
		| 
						 | 
					@ -12023,29 +12023,6 @@ This is the name of the file where some random bytes are saved by
 | 
				
			||||||
It defaults to @file{/var/lib/random-seed}.
 | 
					It defaults to @file{/var/lib/random-seed}.
 | 
				
			||||||
@end defvr
 | 
					@end defvr
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@cindex keymap
 | 
					 | 
				
			||||||
@cindex keyboard
 | 
					 | 
				
			||||||
@deffn {Scheme Procedure} console-keymap-service @var{files} ...
 | 
					 | 
				
			||||||
@cindex keyboard layout
 | 
					 | 
				
			||||||
Return a service to load console keymaps from @var{files} using
 | 
					 | 
				
			||||||
@command{loadkeys} command.  Most likely, you want to load some default
 | 
					 | 
				
			||||||
keymap, which can be done like this:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@example
 | 
					 | 
				
			||||||
(console-keymap-service "dvorak")
 | 
					 | 
				
			||||||
@end example
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Or, for example, for a Swedish keyboard, you may need to combine
 | 
					 | 
				
			||||||
the following keymaps:
 | 
					 | 
				
			||||||
@example
 | 
					 | 
				
			||||||
(console-keymap-service "se-lat6" "se-fi-lat6")
 | 
					 | 
				
			||||||
@end example
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Also you can specify a full file name (or file names) of your keymap(s).
 | 
					 | 
				
			||||||
See @code{man loadkeys} for details.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@end deffn
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@cindex mouse
 | 
					@cindex mouse
 | 
				
			||||||
@cindex gpm
 | 
					@cindex gpm
 | 
				
			||||||
@defvr {Scheme Variable} gpm-service-type
 | 
					@defvr {Scheme Variable} gpm-service-type
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -719,7 +719,8 @@ to add @var{device} to the kernel's entropy pool.  The service will fail if
 | 
				
			||||||
                                 #$@files))))
 | 
					                                 #$@files))))
 | 
				
			||||||
      (respawn? #f)))))
 | 
					      (respawn? #f)))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define (console-keymap-service . files)
 | 
					(define-deprecated (console-keymap-service #:rest files)
 | 
				
			||||||
 | 
					  #f
 | 
				
			||||||
  "Return a service to load console keymaps from @var{files}."
 | 
					  "Return a service to load console keymaps from @var{files}."
 | 
				
			||||||
  (service console-keymap-service-type files))
 | 
					  (service console-keymap-service-type files))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue