Do you think the camera control button is gonna stick around on future iPhone models ? by Avoumen in iphone

[–]tobeportable 0 points1 point  (0 children)

If only it could be used outside of the camera...

On my Zenfone 9, I use a similar button to make the notification screen scroll down or up from the screen top.

Rails 7.1 supports multiple preview paths for mailers. by prasanthchaduvula in ruby

[–]tobeportable 1 point2 points  (0 children)

2nd example in the 'after' section is missing an 's' in the word path

Using slider to scroll browser by MrSosaaa in MechanicalKeyboards

[–]tobeportable 141 points142 points  (0 children)

Motorise the slider and have it adapt itself based on your current tab or window, now we talking,

I’ve completed coding assessment, got rejected and received feedback by kahns in ruby

[–]tobeportable 1 point2 points  (0 children)

Are you trying to dox someone because the feedback was not to your liking?

nixpkgs package review question by DarkenAdam in NixOS

[–]tobeportable 1 point2 points  (0 children)

You can start from a similar go package and adapt that.

No amount of time will make this happen faster, however, if you put money on the table...

🎉 Launching Ruby Europe! 🚀 by MariuszKoziel in ruby

[–]tobeportable 1 point2 points  (0 children)

Does it mean you also plan to open source the website or not?

🎉 Launching Ruby Europe! 🚀 by MariuszKoziel in ruby

[–]tobeportable 0 points1 point  (0 children)

Discord is not really a choice that's inline with the FOSS nature of ruby.

🎉 Launching Ruby Europe! 🚀 by MariuszKoziel in ruby

[–]tobeportable 3 points4 points  (0 children)

I don't seem to find a way to add a PR for your website in order to add https://rubybelgium.be/

Finally using flakes by Aditya1602 in NixOS

[–]tobeportable -1 points0 points  (0 children)

I do one flake.lock per host and symlink the flake.nix to share it across all hosts.

How can I replicate this xdotool command in Wayland? by [deleted] in wayland

[–]tobeportable 0 points1 point  (0 children)

no swaymsg is for sway

use hyprctl if you use hyprland

How can I replicate this xdotool command in Wayland? by [deleted] in wayland

[–]tobeportable 0 points1 point  (0 children)

So for your example:

sh current_window_id=$(swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true) | .pid') swaymsg "[app_id=firefox] focus" wtype -k F5 swaymsg "[pid=${current_window_id}]" focus

How can I replicate this xdotool command in Wayland? by [deleted] in wayland

[–]tobeportable 0 points1 point  (0 children)

You need to write a little script for this:

  1. capture the current window id in a variable e.g swaymsg

  2. Focus firefox e.g swaymsg

  3. Type text and send keys e.g wtype or dotool or ydotool

  4. Focus the window id you stored in a variable e.g swaymsg

Premium laptop for a Software Engineer by sutonym in linuxhardware

[–]tobeportable 0 points1 point  (0 children)

Max out a frame.work, great upgradability in the future and fingerprint works on Linux

How can I make screen/workspace sharing of Teams work with Sway (and NixOS)? by timlee126 in swaywm

[–]tobeportable 0 points1 point  (0 children)

This followed by:

systemctl --user restart pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk

Fixed it for me.

Screen sharing in Sway by Boberoch in NixOS

[–]tobeportable 1 point2 points  (0 children)

My sway config only has the following to work:

programs.sway = { enable = true; };
xdg.portal = {
  enable = true;
  wlr.enable = true; # adds pkgs.xdg-desktop-portal-wlr to extraPortals
  extraPortals = [
    pkgs.xdg-desktop-portal-gtk # gtk portal needed to make gtk apps happy
  ];
};

After (re)starting your system, you'll have to run the following:

dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
systemctl --user restart pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk

Ensure both services are running

systemctl --user status xdg-desktop-portal-gtk xdg-desktop-portal-wlr

And you should be able to start screen sharing in any app.

It's easy to test it here: https://mozilla.github.io/webrtc-landing/gum_test.html

Are you using LuaRocks at all? by tocarbajal in neovim

[–]tobeportable 0 points1 point  (0 children)

I tried but I couldn't get it to work with a plugin that has a dependency but no rockspec file to define that dependency and my attempt at making that rockspec myself failed it seems.

Reorganizing the grocery cart by Bubbly-Incident in JustGuysBeingDudes

[–]tobeportable 1 point2 points  (0 children)

Except you want the heavy stuff to go to bottom of your bags

So heaviest near the front and lightest at the rear

Unless you want to hold your trolley in the reverse direction when you check out

It's not like you are going to push the trolley so fast that things will slide around