Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hitko31486yWhy exactly? There's been utf8 support in Linux for ages, and emojis behave like any other utf8 characters. It's up to your terminal to display them as colourful icons instead of "undefined character", but that's all done by a single package on a window manager -level.
-
@hitko Could you elaborate on that "window manager-level" ? I thought that it's the app doing the drawing (never done Linux dev) , and window manager is just *somehow* helping making it all look nice and smooth.. Have you got any sauce on these things ? Thanks!
-
hitko31486y@shinobiultra OS kernel takes care of hardware-level operations, and on top of that, there's a display server + window manager (the two can be either separated or coupled). Display server and window manager provide basic drawing APIs, translate from window coordinate system to screen coordinate system, render basic elements (fonts, blobs, ...), make sure one process doesn't taint window of another proces, and optimise drawing requests for GPU rendering. Most commonly used Linux package for this is X11 / x.org server (there's plenty resources about it online).
When you make an application, you commonly use some kind of framework (look up Qt, Swing, GTK), which includes higher-level UI components (buttons, panels, ...) together with utils to request new windows, handle user input signals, calculate dimensions, ... Very simplified, when you make GUI using Qt, you tell Qt to display a button, and Qt tells user's display server to draw square, and render some text over it using font A. -
Well unless you explicitly run "sudo apt-get install cowsay", you wouldn't be privilege to see that kind of art.
Leaving aside the fact that cowsay is not pre-installed in Ubuntu... Look for the documentation, there are a lot of funny figures to use instead of the classic cow.
Bonus tip: do "sudo apt-get install sl", and thrust me, you'll never be more careful about doing a typo of "ls" xD
I shouldn't be surprised... but I'm surprised that there is support for emojis in ubuntu
joke/meme
cowsay shit