Language Selection

English French German Italian Portuguese Spanish

Determine the virtual terminal you are using in GNU/Linux

Filed under
HowTos

Have you ever had to determine the virtual terminal that an X session is running on? Perhaps you may want this information for a program you have created. It is possible using the fgconsole command.

Just running fgconsole will print the number of the active virtual terminal. For the uninitiated, by default, you have 7 virtual terminals on your Linux machine.

More Here




More in Tux Machines

today's leftovers

  • Meizu Pro 5 Ubuntu specs and features
    Canonical's Meizu line of smartphones may not mean a lot to UK readers, but the Pro 5 should help to raise its profile. Unlike its competitors the Meizu Pro 5 runs the Ubuntu operating system. This approach means it relies less on apps and more on an integrated experience. It's just as powerful as the Samsung Galaxy S6, but does that mean it's worth your cash?
  • What containers and unikernels can learn from Arduino and Raspberry Pi
    Currently, unikernels seem quite similar to building printed circuits. They require a lot of upfront investment to utilize and are very specialized, providing benefits for certain workloads. In the meantime containers are quite interesting even for conventional workloads and don't require as much investment. Typically an operations team should be able to port an application to containers, whereas it takes real re-engineering to port an application to unikernels and the industry is still not quite sure what workloads can be ported to unikernels.
  • Coming soon! First ever certification for open hardware
    At the Summit, OSHWA will launch the first ever (version 1) of the open source hardware certification, administered by OSHWA. This certification is designed to benefit at least two parts of the open source hardware community. First, it benefits purchasers of open source hardware by making it easy to identify truly open source hardware in the marketplace. Projects and products obtaining certification and displaying the certification logo clearly communicate a commonly agreed upon definition of openness with customers and users. While certification is not a condition for openness, obtaining certification is a way to make it clear to others that a given project is open source hardware.
  • 3 alternatives to resumes for hiring talent
    By 2020, there will be 1.4 million new computer science jobs but only 400,000 computer science students. The number of computer science jobs is growing twice as fast as the national average for job growth. Hiring is not a filtering problem anymore, it's a sourcing problem. We need to "sell" our companies and hire the most qualified people before our competitors do.
  • Open-source blueprint Pepperoni released for mobile development
    Named Pepperoni, the development team behind this open-source project has been working for more than 10 months trying to build apps and learning the best ways to do it using React Native. The company powering Pepperoni is Futurice, a software consulting company that creates digital services for its customers. Futurice is also behind the open-source social impact Spice Program, where it serves as advocate of open-source projects.
  • Install GrandCMS on an Ubuntu VPS
  • Install GLPI (IT and asset Managemet Software) on Ubuntu 16.04 Server

Leftovers: Software (Nginx, GitLab, Gammu)

  • Nginx 1.11 Web Server Released
    Version 1.11 of the open-source, high-performance Nginx web-server is now available. Nginx 1.11 presents a new transparent parameter for several options, support for loading multiple certificates of different types, various other security-related changes, a $proxy_protocol_port variable, some HTTP/2 changes, and more.
  • GitLab 8.8 released with Pipelines and .gitignore templates
    Fresh off our third GitLab Summit, this time in Austin, Texas, we are releasing our 54th consecutive release on the 22nd of the month. Sunday or not, we are not slowing our release schedule and are excited to show you what we're launching today. GitLab 8.8 is ready to go with GitLab CI improvements, performance enhancements, convenient templates, and more!
  • Gammu release day
    There has been some silence on the Gammu release front and it's time to change that. Today all Gammu, python-gammu and Wammu have been released. As you might guess all are bugfix releases.

OpenSUSE 42.2 Alpha

Android/Chromebook

  • No more Android Wear watches says Samsung, Tizen all the way !
    Samsung has been getting pretty serious about its Smartwatches and has certainly excelled with its latest creation, the Tizen based Gear S2. The company has had a little dabble with Android wear in the past, with the Galaxy Gear Live, and since has been focusing on Tizen. According to a report from Fast Company stating that “no more Samsung Android Wear devices are in development or being planned.” This is according to a Samsung executive. The report goes further to say that Samsung executives are going with Tizen because it’s “far more battery-efficient than Android Wear” and “the standard OS on other Samsung products from TVs to refrigerators.”
  • Are games too easy to pirate on Android?
    It's long been known that game developers make much more money on iOS than they do on Google's Android platform. The most recent example of this is Monument Valley. The developers of the game posted an article on Medium with infographics that show that 73% of their revenue comes from iOS, while only 17% comes from Android.
  • Google Trust API Will Replace Your Passwords With A ‘Trust Score’
    In the wake of increasing security threats and password leaks, Google is working on Project Abacus that will introduce Trust API in Android devices. This API will calculate your Trust Score and use them to give you access to various services. This score will be calculated by using a variety of user patterns.
  • Monument Valley in Numbers: Year 2
  • And the winners of the Google Play Awards are…
  • Why are Chromebooks outselling Macs?
  • Fancy ChromiumOS, Ubuntu, And Android TV All-In-One System
    If you are looking for a mini PC that is capable of running ChromiumOS, Ubuntu LTS, and Android TV operating systems, you may be interested in a new mini desktop computer system that has been created by Dylan Callahan. The Fancy mini PC is a “handcrafted personal computer” that is now available to purchase price to $225 plus shipping and is powered by a Quad Core x86 2.0 Ghz processor supported by 4K AMD Radeon graphics that is supported by 4GB of DDR3 RAM.