I’m also using it to script sessions of workflows with many programs, for instance a dev environment with a lot of microservices. Some windows with multiple panes each.
Magnus Åhall
System/web/Linux developer
- 0 Posts
- 26 Comments
This kind of reminds of the BlackDog: https://en.m.wikipedia.org/wiki/BlackDog
It was a small computer that easily fit in a pocket and only had a single USB port. That was connected to a computer which powered it, and it connected as a virtual CD-ROM drive.
On that was an xming X11 server. The BlackDog ran your applications outputted through it. The applications it ran could also access the Internet through the host computer.
Magnus Åhall@lemmy.ahall.seto Mildly Infuriating@lemmy.world•Got these (notes) provided by my school..English1·3 months agoThis is an interesting book I can recommend by Susan Cain: Quiet: The Power of Introverts in a World That Can’t Stop Talking
Magnus Åhall@lemmy.ahall.seto Mildly Infuriating@lemmy.world•Got these (notes) provided by my school..English4·3 months agoExactly this. I am a very social person when among people, but pay a price for it afterwards, as I’m drained of energy.
Introverts gains energy by being by them selves. Extroverts needs to be with other persons to gain energy,
That said, most people are not neccessarily completely one or the other.
I understand where the misconception comes from though. Seems likely that being introvert often leads to not be very social since you’re “punished” for it by your own mind.
Magnus Åhall@lemmy.ahall.seto Linux@lemmy.ml•GTK's X11 Backend Now Deprecated, Planned For Removal In GTK 516·4 months agoI’m using a 49" monitor and dividing it up in virtual X11 monitors/screens for flexibility. Running a tiling window manager with lots of virtual desktops, but with fullscreen support separate monitors are still needed. Wayland are still missing the support for dividing up the display, which is probably the last thing keeping me on X11.
Magnus Åhall@lemmy.ahall.seto Mildly Infuriating@lemmy.world•At the airport. The TSA thought my daughter's Hello Kitty carry-on was suspicious. [More in body.]English6·4 months agoThey would have had my wife locked up then, who has a lot of Hello Kitty gear and clothing, now being 45 years old :)
Same - Evolution offers one thing Firebird dosen’t - connecting to the work cloud Microsoft account!
We have had the opposite problem in the past. A cert provider requiring us to exist in certain international directories of companies took weeks of waiting around on bureaucratic red tape.
Then they didn’t even call us to verify our existance, place of business or anything (yeah, this was one of the big certificate providers a long time ago).
Their website was horrible, and their support wasn’t better.
LetsEncrypt though hasn’t failed me once since it was setup, and that is over hundreds of domains with thousands of renewals.
Magnus Åhall@lemmy.ahall.seto Programmer Humor@programming.dev•Happy World Turtle Day! One of my favourite turtle-releated software development things is that Firefox console will show a little turtle icon on slow requests. Picture also related.2·1 year agoThe Kame ipsec project (https://www.kame.net) has a turtle image which is animated if visited with an IPv6 address.
Magnus Åhall@lemmy.ahall.seto Open Source@lemmy.ml•Does anyone know of a FOSS version of this (android keyboard with hexagonal keys?)3·1 year agoNot exactly that layout, but I can strongly recommend MessagEase. Also optimized for phone use.
Magnus Åhall@lemmy.ahall.seto Linux@lemmy.ml•Why isn't it recommended to change the SIGINT shortcut from Ctrl+C to something like Ctrl+SHIFT+C?2·1 year agoFirst thing I do on a new laptop is remapping a key I won’t be using much to Insert, which I use all the time :)
What, no websocket-based realtime statistics for number of total, daily and hourly mistypings?
Last 25 years I have been using a couple of different tiling window managers. My main workstations usually have four monitors, accessed by AltGr+number.
I heavily base my workflow on virtual desktops, accessed by Ctrl+number.
Each virtual desktop have a specific type of programs on it:
- Development
- Terminals
- Browsers
- Communication / documentation
- Multimedia
- Graphics
- SQL
- Debugging
- Virtual machines / monitoring
So with this I can access nearly every program with AltGr+number, Ctrl+number which is quite quick. As long as I remember the monitor I placed it on, I always know which virtual desktop.
I use chained keyboard shortcuts for window manager shortcuts, here: https://files.ahall.se/images/i3-keybindings.svg (old one, this has grown a bit…)
The chaining allows me to easier remember shortcuts with mnemonics, and they are fast enough, especially considering the amount of shortcuts I can scale it to.
- Alt+T to start the chain, L for Layout, R for Resize.
- Alt+T, R for Run, I for Inkscape.
- Alt+T, A for Audio, N for Next.
There are some exceptions for the most used focus- and window moving operations, as well as for managing a clipboard buffer system. There are too many times when one goes back and forth to copy something, paste it somewhere else and going back for the previous one. So I can copy something, press Ctrl+Shift+3 to put in buffer 3. After a few other copy/pastes, I bring it into clipboard again with Ctrl+Alt+3. This also allows me to for example reload a page I’m working on and login with user/pass easily accessible in buffer 1 and 2, or login to four different network devices again and again without going to a text file and copying one of four passwords each and every time.
I wrote a special session manager via socket for i3 to be able to press Ctrl+number and go to a certain predefined desktop on the current monitor I’m at.
We also had fun playing through Leisure Suit Larry 1 a couple of weeks ago :)
Built an arcade machine running MAME. We have been playing a lot of Boogie Wings and Windjammers.
Magnus Åhall@lemmy.ahall.seto Linux@lemmy.ml•What less popular text editors do you like or should have a shout out more often? What stuff do you do with it?2·2 years agoI’m using ed for small edits when I know exactly that only a certain line needs to be deleted, or a word changed.
You are completely right about SwitchOS, and it is even more exciting that some models sells in two versions, with the only difference being called CSS* for SwitchOS, or CRS* for RouterOS. And the SwitchOS-enabled model is much cheaper, so customers ordering for themselves almost always pick the wrong one (that is, SwitchOS, which we can’t manage properly in our automations and other software solutions).
My collegues wouldn’t appreciate my shell config in the root account, especially the vi bindings ;)
As long as
/bin/sh
isn’t pointing to zsh, you haven’t messed anything up. A lot of public scripts wouldn’t expect to be run under zsh.If you write your own scripts, I’d say to use zsh, but start it with
/bin/zsh
(or whatever resolves to zsh) to be explicit about the fact that it is designed for zsh and nothing else. Most scripts written aren’t going to be distributed to hundred of thousands of systems, but at most used in a handful of systems. No point in not enjoying some things zsh does better in scripts.A lot of systems have other dependencies as well, and as long as a system which has scripts in it is specifing zsh along with other dependencies, I wouldn’t see the problem. zsh doesn’t take up much space or introduce other problems just by being installed.
As for the root shell, you can put
Defaults env_keep += HOME
in your sudo configuration. That will havesudo -s
run your usual zsh with its usual configuration for interactive, daily use. Be aware of any config that shouldn’t be run as root.sudo -i
will still run the shell root is assigned in /etc/passwd, and everything run as root would function ar expected.
For me is the lack of virtual displays is Wayland.
I’m using a 49" monitor (with i3) and split it into virtual monitors/displays. For some tasks two displays are good, for others three, and all doesn’t need to be the same size.
The reason for not using i3 splits is that many programs have fullscreen functions that I often use.
Watching a movie is one example, where I have a script that automatically calculate the optimal width without borders and gives me an extra virtual display beside with whatever’s left.