Questions tagged [gui]

18 questions
16
votes
2 answers

How to start Emacs from the Terminal window as a GUI application (macOS)

I've installed Emacs via Homebrew. The version that got installed is 25.3.1. It was installed as the file whose full path is /usr/local/bin/emacs. When I execute emacs at a Terminal window, Emacs starts inside the self-same window as a console…
Evan Aad
  • 1,461
  • 1
  • 14
  • 29
10
votes
3 answers

Emacsclient: One single emacs process all the time from start up & never close & better hide GUI

Since emacsclient can handle long package loading time proerly, I really want to keep at least one emacs process, and most of the time only one emacs process, open as a background process and better hide GUI. Right now I defined the following…
8
votes
1 answer

something changes the default face in my .emacs

Debian Sid, emacs25, cinnamon 3.2.7 In my ~/.emacs I have (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If…
gboffi
  • 594
  • 2
  • 19
6
votes
3 answers

resize Emacs (GUI) window to exactly half the screen?

When I maximize the Emacs frame, it uses the full width of the screen, no background showing. But if I e.g. snap-to-edge (in XFCE), it shows a little "margin" of background outside the frame. And if I drag to resize, it always over- or undershoots…
unhammer
  • 1,127
  • 8
  • 22
4
votes
1 answer

Why I can't fold (org-cycle) in non-GUI?

It seems using non-GUI is much much faster when working with very long org-files. However I can't org-cycle with TAB key. (See image below). What is happening? My best guess is: when TAB pressed instead of Org, EVIL uses for it's keybinding…
Garid
  • 545
  • 1
  • 13
3
votes
1 answer

Change prompt style to minibuffer from GUI dialogs

Emacs by default does not ask if you are sure you want to exit Emacs, so I added this to my configuration to prompt me to answer yes or no before quitting Emacs. (setq confirm-kill-emacs 'y-or-n-p) ;; Confirm before killing emacs I use…
apoorv569
  • 113
  • 8
2
votes
1 answer

Use pkexec to run emacs in GUI mode with root privileges or any other way to do that

I've recently started learning to use Emacs. I do not want to run emacs using sudo emacs (lets not ask why), so I tried using pkexec to start emacs with root privileges. However, pkexec emacs starts emacs in terminal mode. How can I solve this? Or…
1565986223
  • 123
  • 5
2
votes
0 answers

Native mac scrollbar in emacs?

Emacs comes with it's own solution for scrollbars(rather than using native macOS scrollbar) and honestly, I find them kinda intrusive and ugly. Can I somehow configure scrollbars to use native mac scrollbar which only pops up when scrolling. Kinda…
Chakravarthy Raghunandan
  • 3,132
  • 2
  • 18
  • 42
1
vote
1 answer

how to copy top header line (`header-line-format`) under X

I have a header-line that displays currently opened file name on top of the buffer window. I can't find a way to copy the text/file name from that header-line if emacs runs under X/gui (selecting with a mouse and coping it works fine under…
pawciobiel
  • 13
  • 4
1
vote
0 answers

Mac OS and possibly other GUIs: Why is default "s-g" behaving differently from "C-s" in isearch-mode

I don't really want s-g to exit the Isearch minor mode but it does. The reason this is happening to me is unclear, because investigation of the binding of s-g reveals it is supposed to be a standard isearch-repeat-forward. So it seems that Emacs has…
nate
  • 63
  • 5
1
vote
0 answers

Emacs slow when launching GUI

I have a weird problem. When I launch emacs GUI by double clicking the icon, or using open -a emacs in the terminal, or calling the application from alfred/spotlight it takes 4-8 seconds to launch. But when I launch GUI emacs from the terminal by…
mclear
  • 1,525
  • 9
  • 17
1
vote
2 answers

Command to invoke menu-bar's open-file?

The traditional way of opening a file is via C-x C-f (find-file). I don't know since when this has been the case, but in Emacs 27.0.50 (Linux), using the menu bar's File -> Open File invokes the GTK file selection dialog. Since I prefer this…
prash
  • 111
  • 2
1
vote
2 answers

Can Emacs 25 use the new macOS Sierra tab features?

Can Emacs 25 on macOS leverage the new tab features introduced in macOS Sierra (10.12)? If not, what is required for it to start supporting tabs?
0
votes
1 answer

"inspect element" for GUI elements?

Is there a way to "inspect elements" for Emacs? e.g. In Firefox, I would open the developer tools, select this icon: Then pick an element on the page to get information on it. For an Emacs example, I have the following window: Is there a way for…
Jay
  • 103
  • 4
0
votes
0 answers

Keybinding causes only a cursor blink ('\C-t') and no command is executed

This article is about the keyboard key combination 'Control + t' (smallcase 't') This problem is exclusive to the GUI version and does not come up while using the terminal. I am using Wayland Control+t : The cursor just blinks and nothing…
1
2