Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apps:terminal:command-line [2012/01/05 10:44]
nick created
apps:terminal:command-line [2013/01/10 11:06] (current)
nick
Line 4: Line 4:
  
 ? General Options ? General Options
-! <​nowiki>​-h,​ --help ; -V, --version ; --disable-server ; --default-display=display ; --default-working-directory=directory</​nowiki>​+! <​nowiki>​-h,​ --help ; -V, --version ; --disable-server ​; --color-table ​; --default-display=display ; --default-working-directory=directory</​nowiki>​
 ? Window or Tab Separators ? Window or Tab Separators
 ! <​nowiki>​--tab ; --window</​nowiki>​ ! <​nowiki>​--tab ; --window</​nowiki>​
Line 10: Line 10:
 ! <​nowiki>​-x,​ --execute ; -e, --command=command ; --working-directory=directory ; -T, --title=title ; -H, --hold</​nowiki>​ ! <​nowiki>​-x,​ --execute ; -e, --command=command ; --working-directory=directory ; -T, --title=title ; -H, --hold</​nowiki>​
 ? Window Options ? Window Options
-! <​nowiki>​--display=display ; --geometry=geometry ; --role=role ; --startup-id=string ; -I, --icon=icon ; --fullscreen ; --maximize ; --show-menubar , --hide-menubar ; --show-borders , --hide-borders ; --show-toolbars ​, --hide-toolbars</​nowiki>​+! <​nowiki>​--display=display ; --geometry=geometry ; --role=role ; --startup-id=string ; -I, --icon=icon ; --fullscreen ; --maximize ; --show-menubar , --hide-menubar ; --show-borders , --hide-borders ; --show-toolbar ​, --hide-toolbar</​nowiki>​
  
-===== General Options =====+====== General Options ​======
  
 ? -h, --help ? -h, --help
Line 19: Line 19:
 ! Display version information and exit ! Display version information and exit
 ? --disable-server ? --disable-server
-! Do not register with the D-BUS session message bus+! Do not register with the D-BUS session message bus. This ensures the new window will run in a new process, not trying to open a new window from a running instance. 
 +? --color-table 
 +! Print a table showing all colors in the color palette.
 ? --default-display=display ? --default-display=display
 ! Default X display to use. ! Default X display to use.
Line 25: Line 27:
 ! Set directory as the default working directory for the terminal ! Set directory as the default working directory for the terminal
  
-===== Window or Tab Separators =====+====== Window or Tab Separators ​======
  
 ? --tab ? --tab
-! Open a new tab in the last-specified window; more than one of these options can be provided+! Open a new tab in the last-specified window; more than one of these options can be provided. If you start with <​nowiki>​--tab</​nowiki>​ as the first option, terminal will use the last opened window to open the tab in, this can also be combined with [[dropdown|--drop-down]].
 ? --window ? --window
 ! Open a new window containing one tab; more than one of these options can be provided ! Open a new window containing one tab; more than one of these options can be provided
  
-===== Tab Options =====+====== Tab Options ​======
  
 ? -x, --execute ? -x, --execute
Line 44: Line 46:
 ? -H, --hold ? -H, --hold
 ! Causes the terminal to be kept around after the child command has terminated ! Causes the terminal to be kept around after the child command has terminated
-=====  + 
-Window Options =====+====== Window Options ​======
  
 ? --display=display ? --display=display
 ! X display to use for the last- specified window. ! X display to use for the last- specified window.
 ? --geometry=geometry ? --geometry=geometry
-! Sets the geometry of the last-specified window to geometry. ​Read X(7) for more information on how to specify window geometries+! Sets the geometry of the last-specified window to geometry. ​You can use this to set the columns and rows with the format ''​COLUMNSxROWS'',​ but also to set a position ''​+XOFF+YOFF''​ or both ''​COLUMNSxROWS+XOFF+YOFF''​. The offsets can also be negative to define a right or bottom offset. See also [[http://​www.xfree86.org/​current/​X.7.html#​sect6|X(7)]].
 ? --role=role ? --role=role
-! Sets the window role of the last-specified window to role. Applies to only one window and can be specified once for each window you create from the command line. It is mostly used for session ​management inside Terminal ​+! Sets the window role of the last-specified window to role. Applies to only one window and can be specified once for each window you create from the command line. The role is a unique identifier ​for the window to be used when restoring a session.
 ? --startup-id=string ? --startup-id=string
 ! Specifies the startup notification id for the last-specified window. Used internally to forward the startup notification id when using the D-BUS service. ​ ! Specifies the startup notification id for the last-specified window. Used internally to forward the startup notification id when using the D-BUS service. ​
Line 69: Line 71:
 ? --hide-borders ? --hide-borders
 ! Turn off the window decorations for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.  ! Turn off the window decorations for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line. 
-? --show-toolbars +? --show-toolbar 
-! Turn on the toolbars ​for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.  +! Turn on the toolbar ​for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.  
-? --hide-toolbars +? --hide-toolbar 
-! Turn off the toolbars ​for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line. +! Turn off the toolbar ​for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.