futureZenik

u/futureZenik


r/NixOS•

I can set the rofi theme (via rofi itself), which leaves a file in ~\.config\rofi\config: rofi.theme: /nix/store/hbc1mpcvvvhxf91sk2pf9mblrl8nfkd4-rofi-1.5.4/share/rofi/themes/DarkBlue.rasi

  • However, the theme path is static and based on the package hash, and whenever the hash changes (whenever a dependency of rofi changes, etc), the path breaks, and rofi displays an error.

I have to delete the config file, and then re-set the theme in rofi every few weeks.

I'm not sure if anyone knows a solution to this. I can't find a config option for rofi

13

r/orgmode•

I'm embedding images in org-mode using org-download, which saves the captured image that is in the clipboard, inserts the path as text in the org file, and then display the image inline. This works fine. [[file:.images/morepathstuff:/2021-04-12_04-44-34_screenshot.png]]

But I can't copy the image out, without drawing a rectangle around the image with a screen capture tool like flameshot. I can only copy the emacs image file path as shown above.

How can I copy the image itself into the clipboard, and not just the emacs image file path?

  • I'm do not want to use a file manager, find the image, a
93

r/NixOS•

I know using startx is taboo with nixos. Basically I'm running exwm, and I have to pass some special configuration lines to get Java apps working. The only way I've ever got this working is with using startx.

If I do startx, I get no keyboard and mouse as root or as user. I also tried chmod 777'ing stuff in /dev/input, but to no avail. How can I get startx keyboard + mouse input working?

Here's my working (but w\o user input).xinitrc below...

# Disable access control for the current user.

xhost +SI:localuser:$USER

# Make Java applications aware this is a non-reparenting window manager.

wmname LG3D

export _JAVA_AWT_WM_NONREPARENTING=1

# Set default cursor.

`xsetro

23

r/emacs•

I'm trying to add a keybinding of (exwm-workspace-switch-to-buffer (helm-exwm)) in exwm-input-global-keys, that I found from here

This function works if I run it in eval-expression, but I'm not sure how to bind it.

I have existing key bindings like ([?\s-a] . (lambda () (interactive) (exwm-workspace-switch-create 0))), that work. (I'm passing in an input of 0 to the function)

I'm trying to add ([?\s-l] . (lambda () (interactive) (exwm-workspace-switch-to-buffer (helm-exwm)))

However, I get the error: init.el:861:1:Error: Invalid read syntax: ". in wrong context"

Any help is a

11

r/NixOS•

Umatrix allows me to build a whitelist of javascript that I want to run on sites. However, this whitelist I create resets everytime I restart firefox. I assume this is because NixOS stores all the firefox contents as read-only.

How do I allow this extension to store changes. Do I need to install a non-reproducible build of firefox? Apparently there might be one here https://github.com/mozilla/nixpkgs-mozilla, but I am not sure and am just really confused. I can find nothing on this issue through searching. Thanks.

23

r/SurfaceLinux•

Video: https://streamable.com/hhohr

When writing with xournalpp, my hand resting on the screen will occasionally register as a finger press. When this occurs and I attempt to write with the pen, the pen will register as a second finger, and begin to multi touch zoom instead of writing. Even worse, it believes one of the "fingers" is still always touching the screen at all times, so any further pen input still registers as multitouch zooming.

The only way to get out of this, is to move the scroll bar.

I've read some posts where people state they take notes on the surface, but I cannot see how with this issue. I'm curious if anyone actually has a fully functioning note taking setup.

OS: Ma

43

You've reached the end of this feed.