mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: emacs browse-url not opening links
This commit is contained in:
parent
c8e4493b8a
commit
383fb7022f
3 changed files with 4 additions and 0 deletions
|
|
@ -8887,6 +8887,7 @@ Sets environment variables. Here I am only setting the EDITOR variable, most var
|
||||||
{
|
{
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "e -w";
|
EDITOR = "e -w";
|
||||||
|
DISPLAY = ":0";
|
||||||
SWARSEL_LO_RES = config.swarselsystems.lowResolution;
|
SWARSEL_LO_RES = config.swarselsystems.lowResolution;
|
||||||
SWARSEL_HI_RES = config.swarselsystems.highResolution;
|
SWARSEL_HI_RES = config.swarselsystems.highResolution;
|
||||||
};
|
};
|
||||||
|
|
@ -11872,6 +11873,7 @@ Here I set up some things that are too minor to put under other categories.
|
||||||
password-cache-expiry nil
|
password-cache-expiry nil
|
||||||
)
|
)
|
||||||
(setq browse-url-browser-function 'browse-url-firefox)
|
(setq browse-url-browser-function 'browse-url-firefox)
|
||||||
|
(setenv "DISPLAY" ":0")
|
||||||
;; disable a keybind that does more harm than good
|
;; disable a keybind that does more harm than good
|
||||||
(global-set-key [remap suspend-frame]
|
(global-set-key [remap suspend-frame]
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "e -w";
|
EDITOR = "e -w";
|
||||||
|
DISPLAY = ":0";
|
||||||
SWARSEL_LO_RES = config.swarselsystems.lowResolution;
|
SWARSEL_LO_RES = config.swarselsystems.lowResolution;
|
||||||
SWARSEL_HI_RES = config.swarselsystems.highResolution;
|
SWARSEL_HI_RES = config.swarselsystems.highResolution;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -400,6 +400,7 @@ create a new one."
|
||||||
password-cache-expiry nil
|
password-cache-expiry nil
|
||||||
)
|
)
|
||||||
(setq browse-url-browser-function 'browse-url-firefox)
|
(setq browse-url-browser-function 'browse-url-firefox)
|
||||||
|
(setenv "DISPLAY" ":0")
|
||||||
;; disable a keybind that does more harm than good
|
;; disable a keybind that does more harm than good
|
||||||
(global-set-key [remap suspend-frame]
|
(global-set-key [remap suspend-frame]
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue