Hot answers tagged

44

To save configuration into /tmp/cfg: gnome-terminal --save-config=/tmp/cfg To load it back: gnome-terminal --load-config=/tmp/cfg UPDATE After playing around with bash I created following script which stores tab names into file /tmp/test as well: #!/usr/bin/env bash gnome-terminal --save-config=/tmp/test LINES=($(grep -n '\[Terminal' /tmp/test | cut ...


37

To move to the previous tab (left): Ctrl + Alt + PageUp To move to the next tab (right): Ctrl + Alt + PageDown Full list of shortcuts here: https://help.gnome.org/users/gedit/stable/gedit-shortcut-keys.html


33

Looking in the menu I can see that the shortcut to open a new tab is CTRL+SHIFT+T


25

You can set the tab width on any terminal to 4 (for example) by using the following command: tabs -4 You can also set an explicit tablist. Consider looking at the man page.


24

Alt + Number. In fact it works with many application that have tabs


18

qpdfview supports tabs and seems very good. I have it as the default pdf reader and so far found no problem. Install it as follows, sudo apt-add-repository ppa:b-eltzner/qpdfview sudo apt-get update sudo apt-get install qpdfview


16

I wrote a bash script and a launcher for that. First, create the file: mkdir ~/bin && gedit ~/bin/nautilus-ctrl-t.sh Then paste the following, and save: if [ "$(wmctrl -xl | grep "nautilus\.Nautilus")" == "" ]; then nautilus "$1" & else #Save old clipboard value oldclip="$(xclip -o -sel clip)" echo -n "$1" | xclip -i -sel ...


14

From command line: killall file-roller You can do alt+f4 but you need to do that for every archive manager that was opened.


12

An alternative is to just use Byobu. Press F2 to open new terminals inside it. Use F3 and F4 to switch left and right between terminals. Close the GUI window anytime you want. When you reopen Byobu all your terminals are restored :)


12

Once you have Terminal open you can use Shift+Ctrl+T, and that will open another tab. see image below. Once you do that you can use Ctrl+Page Up to switch.


11

There are two possible ways that I've found out: Using the History Right clicking on the back/forward buttons of the browser which will open the history of the page. (You can also do the next step directly on the arrows, but if you opened the history you get to choose which page to open from the history, instead of opening directly the previous or next one)...


9

If you want to open gnome-terminal with more than one tab when you open it using Ctrl+Alt+T shortcut, go to System Settings → Keyboard → Shortcuts → Custom Shortcuts and add a new Ctrl+Alt+T shortcut as follow: Select Reassign when you are asked: Now, to open a new tab in gnome-terminal, you can use Ctrl+Shift+T. To access/view/edit your ...


8

Alt+Num will move you to the tab that Num corresponds to. So: Alt+1 for the first tab. Alt+2 for the second tab. Alt+3 for the third tab. and so on. Good luck!


8

The currently open URLs of the opened Firefox tabs are stored in sessionstore.js file which is located somewhere in $HOME/.mozilla/firefox/XXXXXXXX.default directory. So, you can start from something like this: cat $HOME/.mozilla/firefox/*default/sessionstore.js | sed "s/{/\n/g" | egrep -o '"url".*"scroll"' | cut -d\" -f4 Using cat we can display that ...


6

gnome-terminal → edit → profile preferences → title and command → run a custom command instead of my shell you might want to make a new profile for using the local shell. you can choose the default profile in edit → profiles if you have to specify passwords when connecting over ssh, set up private/public key authentication.


6

What you see in the screenshot is couple apps, actually. Tripple split is done by screen as suggested by the name in lower right corner in the screenshot and the process manager in top split is htop. I personally would recommend byobu instead of just screen, since that has fancier interface showing clock, ip address, and other stats. All the apps are ...


5

If you are referring to using the Tab key in the terminal, I found this at UF. Ubuntu Forums Thread #7788701: A possibility is setting the spacing in the application you are using via the terminal. For example in vim - :set tabstop=4 . Or you could look into the man page for the expand command with man expand. Example of usage - expand -t 4 mytextfile.txt -...


5

To switch only between tabs you can configure your own shortcut. This can be done in the following way: Go to Application Launcher → Settings → System Settings → Shortcut and Gestures → Global Keyboard Shortcuts Select KWin from the 'KDE component:' combo box The interested Action is 'Walk Through Windows Tabs' This tool is smart ...


5

Alt + Num for direct access; and Ctrl+PgUp and Ctrl+PgDn to navigate sequentially through tabs.


5

You can install Control Your Tabs plugin, then four shortcuts get added: Ctrl+Tab / Ctrl+Shift+Tab switch tabs in most recently used order. Ctrl+Page Up / Ctrl+Page Down switch tabs in tabbar order. Credit to Trevor Clarke for posting this on another question


5

That information is stored in $HOME/.mozilla/firefox/*default/sessionstore.js and its format is json. The following example was made to work with PHP. It walks all firefox windows, all tabs and gets the relevant information which is the last entry inside of "entries". If we could use xpath to parse it, it would be something like: /windows/*/tabs/last()/url (...


5

Do sudo apt-get install suckless-tools, then run this command to have a tabbed xterm: tabbed -c xterm -into & Press Ctrl+Shift+Enter to open a new tab and Ctrl+Q to close a tab. You'll find more info in the man page for tabbed.


4

I think full screen is designed for getting more space, so tabs do not appear in full screen. Shortcuts: Ctrl + Page Down or Ctrl + Tab: Next Tab Ctrl + Page Up or Ctrl + Shift + Tab: Previous Tab F11: Enter/Leave Full screen Ctrl + T: New Tab Ctrl + W: Close Tab


4

To open a gnome-terminal window with few tabs we should use the option --tab. See gnome-terminal --help-all. Also in man gnome-terminal we can find this explanation: --window-with-profile=PROFILENAME Open a new window containing a tab with the given profile. More than one of these options can be provided. --tab-with-profile=PROFILENAME Open ...


3

Open a terminal with Ctrl-Alt-T keyboard shortcut and try executing this command to fix the problem: gsettings set org.gnome.desktop.wm.keybindings close "['<Alt>F4']" This command will set Alt-F4 as the default binding for closing the window. Then you should use the regular Ctrl-W to close tabs. After the command, try testing it. Hope this will ...


3

I believe it is not possible as 1) It is a suggested idea at Ubuntu Brainstorm that wasn't implemented yet, 2) And supposedly after analyzing the source code Shiki didn't find a way to pass this call to nautilus.


3

I like the previews as well. First, I made sure CompizConfig was installed. I brought it up and disabled static application switcher, then enabled application switcher (there were some keybinding conflicts with Unity's switching behavior, but I just chose to favor the application switcher keys). This worked for me.


3

Pressing Tab or the up arrow key ↑ will close the preview.


Only top voted, non community-wiki answers of a minimum length are eligible