trymeout

joined 1 year ago
 

I was able to setup a debugger using a launch mode using Visual Studio Code with the Bash Debug extension. Is it possible to setup the debugger in VSCode to be able to debug a bash script using a attach debug mode?

For debugging scripts on the host machine and scripts inside a docker container?

[–] [email protected] 3 points 1 month ago

VSCodium > VSCode

 

On Ubuntu Server and Arch I was able to change the following line in /lib/systemd/system/[email protected]

# Before
ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear %I $TERM


# After
ExecStart=-/sbin/agetty --noissue --autologin john %I $TERM Type=idle

And it works, that it will login to the user john but when I logout of the user john with using exit in the terminal, it logs john back in. Is there a way to change this ExecStart setting to enable auto login for a user on startup but only on startup?

[–] [email protected] 1 points 6 months ago (1 children)

I do use dropbear-initramfs. However the issue if I power off or the power goes out while I am unlocking the computer, I will be unable to reboot the computer using WOL. Is there something like dropbear-initramfs but instead of it being a SSH server for the LUKS lockscreen, it is a WOL enabler?

 

I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

[–] [email protected] 2 points 6 months ago

The customizable post metadata is amazing! Would like to see customizeable comment metadata if possible.

Thank you devs for allowing us to customize the upvote downvote display on comments and posts!

[–] [email protected] 56 points 7 months ago* (last edited 7 months ago) (10 children)

Discord is the worst. Requires a phone number, does not allow email aliases and logs your chats.

Matrix and SimpleX is way better

[–] [email protected] 1 points 8 months ago

I did find a TUI text editor that I like that is better than nano.

Micro https://micro-editor.github.io/

[–] [email protected] 1 points 8 months ago (1 children)

Isnt X being replaced with wayland? I may do that in the future once wayland is more adopted.

However I would like to achieve this on headless servers with no GUI at all.

I prefer using Rustdesk if I have to remote into a machine and see the machines GUI.

[–] [email protected] 1 points 8 months ago (1 children)

If you are doing this as root, I have to question what it is you're up to. The only time you should be editing files as root is config files, and then vim or nano should meet your needs.

Yes I only want to use root to edit config files. However I hate using nano and vim since they are TUI. I would like to use a GUI when editing config files.

[–] [email protected] 1 points 8 months ago (3 children)

Do you mean sftp?

I just played around with it. My file manager is Nemo (I am using Linux Mint) which allows you to connect to another computer using sftp and being able to browser the files and directories on that machine and be able to open text files.

Not the way I would prefer to do it, but a workable solution.

However I would also like to edit files on the machine with sudo privelages. I cannot connect to the machine as a normal user and right click in Nemo and open the file manager as root, as it will just open the sftp file manager as root on my device, not the remote device.

I did find this as a solution but it makes my remote machine unsecure by connecting to the remote machine as the root user by enabling the root user on the remote machine. However rather use sudo than enable the root user.

https://askubuntu.com/questions/400858/how-to-configure-sftp-to-login-in-the-directory

[–] [email protected] 1 points 8 months ago (2 children)

I am considering vscode but it is overkill and too bulky for what I am looking for. Just want a simple text editor like notepadqq

15
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

I am looking for a GUI text editor on Linux with a GUI which will allow me to connect to other machines via SSH and edit text files on these machines.

Is there such a thing or is there another way to do this with an encrypted connection?

 

A way to copy the URL and lemmy address (@[email protected], [email protected]) of a user and community

 

In the search tab, when you do not have anything typed in the search box, you can explore all of the communities, users, posts and comments.

You can filter this out with the filters by only exploring the local instance, the entire fediverse, etc.

 

A comment sorting option called "Chat" and "Forum"

On the official Lemmy web UI, you can sort comments by Hot, Top, New, Old and Chat. Please add a Chat sorting option.

Also, please add a "Forum" sorting option which will be the same as Chat except in reverse, showing the oldest comment first to the newest comments last, and will be ordered like a forum thread.

https://github.com/LemmyNet/lemmy-ui/issues/602

-4
submitted 8 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

A setting to display Upvote/downvote sum for posts instead of upvote/downvotes

Has been done for comments, please add this for posts.

COMPLETED: Thanks to hjiangsu on Github https://github.com/thunder-app/thunder/pull/1077

 

An all search type to be able to search for communities, users, posts and comments all at once.

 

Please remove the following search options as they do nothing...

  • Communities -> Community (Cannot search for communities inside a community)
  • Communities -> Creator (Cannot search for users inside a community)
  • User -> Feed (Subscribed) (You cannot subscribe to users)
  • User -> Community (Cannot search for a community inside a users)
  • User -> Creator (Cannot search for users inside a users)
[–] [email protected] 1 points 8 months ago

This has now been done with the latest release for comments! Please add a setting for posts!

 

Any handheld pcs that do not have a battery and has ethernet port (Or a usb port were one can get a usb to ethernet adapter)? and still have a few usb ports available for a headset and keyboard/mouse.

Would prefer one that came with windows or linux were I can flash windows or mostly any linux distro on it. Do not care if it has high specs since I plan on connecting to my main PC and streaming from it using moonlight.

[–] [email protected] 1 points 10 months ago (1 children)

I was also thinking of that. I want to game in bed before bedtime. Is there any good mounts or stands for a portable monitor that is ideal for being in bed?

 

Are there handheld monitors? Like a handheld pc (steam deck) without the pc, just a monitor with a controller built into it that has a HDMI and USB port coming out of it which you will stick into your PC?

view more: next ›