Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • 【VimTutor】Vim Speedrun Any % WR Glitchless - YouTube

    You've probably noticed that I'm really awful with vim and don't do anything in an efficient way. Part of that is due to me never having finished vim tutor so what better way to do that than do it on stream.

  • Copy File Contents Into Clipboard Without Displaying Them - OSTechNix

    This guide explains what is Clipboard, and how to copy file contents into Clipboard without displaying the contents of the file using any text viewer applications in Linux.

    What is Clipboard?

    You will definitely cut or copy and paste texts on your system multiple times a day. You may not have remembered how many times you copied something or haven't ever thought about where the copied texts are actually stored. But, you should have copied/cut texts so many times. For those wondering, there is temporary place called "Clipboard" in an operating system. Clipboard is the place where the copied/cut data are kept temporarily.

    Clipboard is a buffer used for short-term data storage. It is mainly used to transfer data within and between applications, via cut, copy and paste operations. Clipboard is usually temporary and unnamed place that resides in your Computer's RAM.

    The clipboards are called "Selections" and there are three types of clipboards available in X11 window system in Linux.

  • How to install TeamViewer in Linux

    TeamViewer is a cross-platform application that enables an user to control remote computers over the internet or network.

    It is used for remote access, remote control, remote support, web conferencing, desktop sharing and file transfer between computers.

    TeamViewer is a proprietary computer application, which is free for Private and Non-Commercial use.

    It supports multiple Linux distributions and this article shows how to install TeamViewer on Ubuntu, Fedora, and Red Hat systems.

  • Thunderbolt bridge connection in Fedora 33

    My home network is extremely slow, because I have CAT5e cables everywhere. I was wondering if I can use Thunderbolt ports which I have both on the new Mac M1 and Intel NUC with Fedora. So without my breath, since some Thunderbolt docks are known to brick the new Macs, I connected the two guys. And it worked automatically!

  • Petter Reinholdtsen: Updated Valutakrambod, now also with information from NBX

    I have neglected the Valutakrambod library for a while, but decided this weekend to give it a face lift. I fixed a few minor glitches in several of the service drivers, where the API had changed since I last looked at the code. I also added support for fetching the order book from the newcomer Norwegian Bitcoin Exchange.

    I alsod decided to migrate the project from github to gitlab in the process. If you want a python library for talking to various currency exchanges, check out code for valutakrambod.

  • Simos Xenitellis: How to run a Windows virtual machine on LXD on Linux

    LXD is a hypervisor to run both system containers (a la LXC) and virtual machines (a la QEMU) on Linux distributions. System containers are lightweight because they are based solely on the Linux kernel for their virtualization features, and support Linux guests only. However, virtual machines can run other operating systems. In this post, we see how to run Windows in a LXD virtual machine.

    The benefit with running Windows through LXD is that you are using the familiar LXD workflow and takes away some of the the complexity from the other ways of running a VM (like virt-manager).

    The content of this tutorial came from https://discuss.linuxcontainers.org/t/running-virtual-machines-with-lxd-4-0/7519 Look towards the end of the thread where Stéphane Graber describes how to simplify the process compared to the instructions at the top of that thread.

    The prerequisite is that you have LXD configured and running.

  • Debian: uninstall package [Guide]

    From Apt-get to Synaptic Package Manager, there are many ways to uninstall packages in Debian Linux. In this guide, we’ll show you all the ways you can uninstall packages from your Debian Linux system.

  • How to Install Wine 6.3 in Ubuntu 18.04 / 20.04 / 20.10 | UbuntuHandbook

    The Wine team announced the new development release Wine 6.3 with new features and various bug-fixes.

  • Nginx: 413 - Request Entity Too Large Error and Solution - nixCraft

    I‘m running nginx as a frond end to php based Apache+mod_fastcgi server. My app lets user upload images upto 2MB in size. When users trying to upload 1.5MB+ size image file using nginx reverse proxy, they are getting the following error on screen:

    Nginx 413 Request Entity Too Large

    How do I fix this problem and allow image upload upto 2MB in size using nginx web-server working in reverse proxy or stand-alone mode on Unix like operating systems?

  • How to check if file does not exist in Bash - nixCraft

    How can I check if a file does not exist in a Bash script?

    We can quickly tell if a standard file does not exist in Bash using the test command or [ builtin. This page explains how to find a regular file under the Linux or Unix-like system using Bash.

  • Open source database migration guide: How to transition

    Open source database migration typically involves more than just a database. It is more accurately described as a database ecosystem transition, which can include multiple independent projects for management, monitoring, tuning, connection pooling, high availability and third-party support. Beyond the database ecosystem, application integration with the database may be impacted as well.

    The appeal of open source databases, particularly for smaller non-mission-critical systems, has led to increased adoption and market popularity.

  • Set up your own Slack-like chat system on Linux

    Zulip’s 3.0 release back in July saw over 100 people contribute from all over the world. It also brought support for Ubuntu 20.04, so we fired up our server to see just how easy it is to install and if it could restore our faith in chat. We’re pleased to say it’s super easy and we strongly recommend adding it to your server, too.

    [...]

    The two key bits of terminology to grasp are streams and topics. Streams are a broader hierarchy and can be thought of as separate chatrooms. 

    Different members of your team can be members of different streams, and streams can be made private so that only certain people can see them. Within a stream every message has its own topic and conversations will appear threaded thusly, rather like email subject lines.

    However, unlike email subject lines you can’t be lazy and have a blank thread. This tiny bit of extra effort is what enables everything to be so nicely organised, so that you can enjoy hassle-free open source messaging whether in real time or asynchronously, perhaps catching up on messages from your colleagues in other time zones.

More in Tux Machines

today's leftovers

     
  • What is Raspberry Pi 4 “Model B”? [Ed: I'm still waiting for them to formally apologise for going behind customers' backs, making secret deals with Microsoft to put Microsoft malware on all those devices]

    Raspberry Pi has conquered the world of SoC (System on a Chip). It has already garnered millions of followers since its release in 2012. Not only is it inexpensive, but it’s also versatile, modular, and multi-purpose. It has become popular not only as a credit-sized computer board but also as a controller in electronic, robotics, and IoT projects. The size, features, and price drive the popularity of the Pi, especially in the DIY community. To keep up with the current technological trends, the tiny board has undergone plenty of upgrades over the years, and there have been many varieties so it can cater to the needs and demands of its users. In 2019, the Raspberry Pi Foundation released the fourth generation of the multi-purpose board, the Raspberry Pi 4 B. It is the most powerful Pi to date, sporting huge upgrades from its predecessors. The compact board is touted to deliver a PC-level performance, and it didn’t disappoint.

  • Kentaro Hayashi: Grow your ideas for Debian Project

    There may be some "If it could be ..." ideas for Debian Project. If idea is concreate and worth to make things forward, it should make a proposal for Project Funding. [...] I'm not confident whether mechanism works, but Debian needs change.

  • Sam Thursfield: Calliope, slowly building steam

    There are some interesting complexities to this, and in 12 hours of hacking I didn’t solve them all. Firstly, Bandcamp artist and album names are not normalized. Some artist names have spurious “The”, some album names have “(EP)” or “(single)” appended, so they don’t match your tags. These details are of interest only to librarians, but how can software tell the difference? The simplest approach is use Musicbrainz, specifically cpe musicbrainz resolve-ids. By comparing ids where possible we get mostly good results. There are many albums not on Musicbrainz, though, which for now turn up as false positives. Resolving Musicbrainz IDs is a tricky process, too — how do we distinguish Multi-Love (album) from Multi-Love (single) if we only have an album name? If you want to try it out, great! It’s still aimed at hackers — you’ll have to install from source with Meson and probably fix some bugs along the way. Please share the fixes!

  • Neovide Is A Graphical Neovim Client Written In Rust

    Neovide is a really cool GUI client for Neovim. Although it essentially functions like Neovim in the terminal, Neovide does add some nice graphical improvements such as cursor animations and smooth scrolling. It even has me thinking about making it my new "vim" alias.

Linux 5.11.13, 5.10.29, 5.4.111, 4.19.186, 4.14.230, 4.9.266, and 4.4.266

Get involved with Mageia, become a Packager

With Mageia 8 just released and development for Mageia 9 getting underway in Cauldron, the unstable branch of Mageia, now is a great time to get involved with packaging. We are starting to look at the features that we want to include for Mageia 9, and as it is so early in the development cycle, now is the time for major developments, or big updates to key pieces of software. This is a great time to join the project as you can propose features you would like to see, help to implement large changes or see how a distribution evolves through development, stabilisation and then is released. If there is an application that you are interested in, if you want to help maintain part of the distribution, or if you want to learn something new, there are many opportunities to do so with the packaging team. Read more

Google does not want you to tell your players about your donation page

I recently updated Pixel Wheels banner image on Google Play. That triggered a review of the game: shortly after the update I received a message telling me Pixel Wheels was "not compliant with Google Play Policies". What nefarious activity does the game engage in? Sneak on users? Mine bitcoins? [...] Meanwhile you can still get the game from F-Droid or itch.io, since they do not have a problem with a link to a donation page. Read more