Trending February 2024 # How To Control App Priorities With Ananicy In Linux # Suggested March 2024 # Top 5 Popular

You are reading the article How To Control App Priorities With Ananicy In Linux updated in February 2024 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 How To Control App Priorities With Ananicy In Linux

Auto Nice Daemon is ancient, and changing your software priorities manually is annoying. Isn’t there a modern way to control how many resources each program should use? Meet Ananicy (ANother Auto NICe daemon), a modern auto-nice solution, with which you can create profiles for your software to prioritize the apps you care about. Let’s see how you can do that.


Ananicy needs systemd to work, so it isn’t compatible with every distribution under the sun. To install it on Ubuntu, Mint, Debian, and compatible distributions, use:




/ debian











If you are on Arch, Manjaro, or another similar distribution, you can install it with:









Ananicy also relies on schedtool, so if it’s not already installed, make sure to add this, too. You can do that on Debian-compatible and Arch-compatible distributions, respectively, with:

# Debian/Ubuntu





# Arch Linux





With everything set up, enable its daemon to have it always active and monitoring your applications:





To start the actual application, use:


systemctl start ananicy

If you are on a low-powered system, where every piece of software is fighting for resources, it may start feeling somewhat more responsive right away.

Check the Presets

Ananicy comes pre-bundled with a bunch of rules for many popular applications. To check them out, fire up your favorite terminal and pay a visit to Ananicy’s rules directory:









The rules for each application are stored in separate files. For example, to check out the preset rules for the popular qBittorrent filesharing client, you could use:




You can use those as a base for your own rules.

Add your own rules

To create rules for an application, you should know its process name. Thankfully, on Linux, that’s usually the same as the application’s name. You can use the top command to verify the process name.

Locate a process that is hogging your computer and note down its name. Let’s use the timeshift app as our example.

Create a new text file in Ananicy’s rules directory. It’s better if you use the application’s name for easier future reference. Make sure to have your file end with “.rules” for Ananicy to recognize it as a rules file.




The easiest way to create a rule for a piece of software is by only stating its name and classifying its type. Ananicy comes with predefined types for games, multimedia apps, document editors, etc. To check them out, use the command:

ananicy dump types

Each of those comes with different nice, ionice, cgroup, and other values, but it’s suggested you don’t go further than tweaking an application’s nice value. However, for applications that read and write a lot to your storage, it’s also worth defining their input-output priority using the ioclass parameter.

With all that in mind, we are ready to craft our own custom rule:


















The above rule:

States the application’s name

Defines its type

Assigns it a different nice priority compared to the presets

Sets its input/output priority as idle

Theoretically, you only have to state an application’s name, and everything else is optional. Practically, if you do only that, Ananicy will only acknowledge the app’s existence but not try to control it. For that, you will have to define its type at least.

Its type comes with different predefined nice and input/output values, and you’ll probably find one that matches how you want to restrict a piece of software. Sometimes, though, like in our case with timeshift, you may want to tweak them further. That’s when you will have to explicitly state the nice or ioclass value you want if it’s different than the one included in Ananicy’s type preset.

Let’s take a look at another example. Batman: Arkham City’s “Joker’s Carnival” DLC is one of my favorite pieces of gaming. Its action relies on fluid motion, though, and I could feel it stuttering in Linux Mint whenever another piece of software is running in the background. Thus, for this one, I wanted to do the opposite – increase its priority over everything else.

By checking Linux Mint’s System Monitor after running the game through Steam with Proton, we can see its process name as “BatmanAC.exe.” To give it a nice boost with Ananicy, I created a new rule called “BatmanAC_ody.rules” like before. However, in this case, its contents were:










That was enough since the “Game” type comes with a “-5” nice value, prioritizing an app over everything else. Thus, you don’t have to explicitly state the nice value yourself or craft more complicated rules.

One restart later, for good measure, and Ananicy will be active, ready to spring into action to tweak your software’s priorities. The value you see for the chúng tôi process in the screenshot below was assigned automatically, without needing any user intervention.

Note that you don’t have to do this for all your software, but pulling the reins on the most demanding background processes and boosting the more interactive ones can make a world of difference to how using your computer feels. It can minimize stuttering and provide a smoother experience all around.

Odysseas Kourafalos

OK’s real life started at around 10, when he got his first computer – a Commodore 128. Since then, he’s been melting keycaps by typing 24/7, trying to spread The Word Of Tech to anyone interested enough to listen. Or, rather, read.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

You're reading How To Control App Priorities With Ananicy In Linux

How To Run Windows Apps In Linux

Wine is an open source project that, on the face of it, seems to offer something wondrous: the ability to run Windows applications under Linux (or any other open source OS). It does this by attempting to recreate the Windows API layer in open source.

Sadly, the reality is a little more complicated. Yes, Wine is pretty good at running some Windows software and games. But to get the most out of it, you need to hack. Often, getting Wine to deliver is a black art, and not for novices.

Luckily, there are several ready-made installation wizards that help get around problems. These are scripts written by people who have done the hacking for you. There are four projects in particular that are worthy of mention: CrossOver, Cedega, Wine-Doors, and PlayOnLinux.

CrossOver comes in Game and standard versions, and is a proprietary and commercial project created by the same developers behind Wine. As such, it’s simply the best choice for a fuss-free life. It’ll cost you, but some of the money goes into sponsoring Wine developers.

Cedega is another proprietary and commercial project, this time primarily for gamers. By most accounts, it’s the best choice if you simply want to play games, and the Cedega developers hack the Wine code significantly for better results. It will cost you, however, and works on a subscription basis rather than one-off licensing fee.

Wine-Doors and PlayOnLinux are both open source, and free-of-charge, so you may as well try each to find which suits your needs best. I take a quick look at both below. These instructions are for Ubuntu 9.04.


You can install them by either copying the .ttf files from a Windows installation, or by installing the msttcorefonts package. Fonts that are not supplied as part of this package, but which some applications might need, include Tahoma and MS Sans. You can find these around the web if you search. You can install them by creating a folder called .fonts in your /home directory and placing them there.


To install PlayOnLinux, you’ll need to add a new repository and install a software package from it. Open a terminal window (Applications, Accessories, Terminal) and type the following:

sudo apt-get update

sudo apt-get install playonlinux

Once the program has installed, you’ll find it on the Applications, Games menu (it’s worth mentioning that PlayOnLinux is – as its name suggests–primarily designed to allow the installation of Windows games, but it also features scripts for many popular applications).

Often a specific older version of Wine, known to work with the application, will need to be downloaded. This will happen automatically.

chmod u+x ~/Desktop/Safari.desktop

All desktop shortcuts created in this way have a .desktop file extension, and this should help you identify them.


(Note that you can install the GPG key if you wish, which will avoid any harmless errors about unsigned packages.)

When Wine-Doors starts for the first time, you’ll need to fill in your name and company details. These will be used when installing Windows applications. You can optionally tick the “I Have a Windows License” button. This is needed in order to install certain Windows system components that facilitate the smooth running of Windows applications, as well as certain Windows add-ons whose EULAs demand a Windows license. Obviously, you shouldn’t tick this box if you don’t actually have a Windows license (i.e. a Windows installation on one of your computers).

How Linux Ping Command Works With Examples

Introduction to Linux Ping

In the Linux ecosystem, the ping is used to check whether the host is reachable or not over the internet protocol. It is working on the ICMP protocol i.e. Internet Control Message Protocol. Ping command utility is cross-platform. Primarily, it is working packet level. Widely, the ping command is also known as the Packet Internet Groper.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

Syntax of Ping Command:

ping [option] hostname or IP address

ping: We can use the ping keyword in the syntax or command. It will take the two-argument as an option and hostname or IP address. As per the input argument, the ping command will provide the end result of whether the IP or hostname is reachable or not.

option: We can provide the different flags as options that are compatible with the ping command.

hostname or IP address: As per the requirement, we can pass the different hostname or the IP address.

How does Linux Ping Command work?

The ping is widely used to check the host or IP address availability or reachability.

While the source machine is using the ping command, the ping command will follow the below steps:

It is trying to connect the destination host or IP address.

It is calculating the amount of time it is taking from the destination host to the sender or source host.

It is also calculating the average packet loss between the source and destination host.

The ping command is working on the ICMP protocol. It is also known as the Internet Control Message Protocol. With the help of the same protocol, the ping command is sending the series of ECHO REQUEST messages or packets to the destination address and waiting for the reply from destination packages. The destination packets are also replying in the ICPM protocol. If the sources machine will receive the packet or message response from the destination machine. Then only we can say the connection or connectivity is established in between the source or destination servers.

Examples of Linux Ping

Given below are the examples mentioned:

Example #1

Ping Command




Example #2

Ping Command – With “-c” Option

By default, the ping command is continuously printing the echo-response on the screen unless and until we do not interrupt it screen. To avoid this condition, we can use the “-c” option with the ping command. It is useful to send the limited ECHO REQUEST packets.



By default, we are getting the ping response. But we need a limited response or reply from the destination server then we need to use the “-c” option with the response value.


Example #3

Ping Command – With “i” Option

In ping command, we are having the functionality to send the packets in a specific interval of time.

Note: The default interval time is 1 second.



As per the above ping command, we are able to send the packets or response to the destination server or host in a specific interval of time i.e., two sec.


Example #4

Ping Command – With “-f” Option

Sometimes we need to test the network load or network response on the high load. In ping command, we are having the functionality to check the high performance on the network level.



In ping command, we are sending the huge amount of load in the network via the “-f” option. We can also test the load-carrying capacity of the network.


Example #5

Ping Command – With “-b” Option

In ping command, we are having the functionality to enable the broadcast.


ping -b


As per the above command, we are able to broadcast in the Linux environment with the help of ping command.


Example #6

Ping command – With “-s” Option

In the Linux environment, we can test the ping response in different packets sizes. We can define the packet size with the help of “-s” option in the ping command.



In general, the ping command is using 64 bytes for the source and destination communication. Sometimes due to high traffic or latency, the packets may drop and the necessary packets are not able to reach the source machine. To avoid this condition, we need to use the “-s” option to increase the bytes size in the ping command.


Example #7

Ping Command – With “-l” Option

In Ping command, we are having the functionality to send the packages at the same time without waiting for the reply from the destination host or IP address.




Example #8

Ping Command – With “-v” Option

In the ping command, we are having the functionality to get the verbose output.



As per the above ping command, we are able to get the ping command output in the verbose mode.


Example #9

Ping Command – With “-W” Option

In the ping command, we are having the functionality to define the time to wait for response value. The ping command will wait for the destination response at the curtain time period.



As per the below screenshot, we are waiting for a response from chúng tôi We have defined the waiting time is 10 sec.



We have seen the uncut concept of “Linux Ping Command” with the proper example, explanation and command with different outputs. The ping command utility is widely used in the multiple platforms. It is the best way to check the connectivity in between the source and destination machine.

Recommended Articles

We hope that this EDUCBA information on “Linux Ping” was beneficial to you. You can view EDUCBA’s recommended articles for more information.

Linux Regular Expression

Linux Inode

Linux Network Command

Linux Alias Command

5 Key Social Media Priorities For Marketers In 2013

As another new year begins, marketers naturally look to develop their skills and awareness in the areas they are responsible for. For me, social media is a key area and within this, these are the areas that I believe are likely to effect social media marketing effectiveness in 2013. How do you see it?

1. Embrace social search

The launch of Google+ in 2011 and its continued development in 2012 is just one of many signs that traditional search is becoming increasingly influenced by social signals. Whilst great content and effective link building are still the most effective ways of optimising your website for search engines, genuine social media activity is also playing a part, too.

Google’s Search Plus Your World, its numerous algorithm updates and the introduction of the Knowledge Graph are yet more signs that quality content and social media will impact organic search.

2. Adopt a content marketing strategy

Social media and search shouldn’t be considered as two completely separate disciplines. For some time now, there has been an overlap between search and social, with content being the glue the binds the two. They form the principles of what is known as inbound or earned media marketing.

Search marketing activities

Brand engagement activities

Buzz-building activities

Brand protection activities

Creating useful, unique, engaging content is a powerful way of connecting with prospects and customers and it underpins many other marketing efforts, including:


Paid search marketing

Social media marketing

Email marketing

Conversion rate optimisation

For additional insight on how to attract visitors and engage your audience through the power of online content, check out this excellent content marketing strategy guide.

3. Differentiating your social presence

As social media has developed and proliferated our lives (so much so that even the blandest of products have a Facebook or Twitter account!), it’s never been so important to ensure that your brand has a presence that stands out and make an impression. People’s attention is at a premium in today’s ‘always-on’ world and in order to make a genuine connection with discerning consumers on the social web gaining visibility is essential.

First and foremost, good branding is key. Whilst it’s difficult to ensure perfect consistency on the social web (consumer conversations cannot be controlled to be “on brand”, especially when they turn negative), it’s still important to have strong, impactful and well-designed branding across every social platform to ensure it aligns with your website, products and online/ offline presence. Integration is key too.

4. Develop actionable insights through social analytics

Social media is no longer a buzzword that can be used to dazzle your boss and get funding for a new social media initiative. Companies, both large and small, are quite rightly demanding proof, evidence and case studies to demonstrate the value that social media can bring to a business.

Analytics and tracking should be used to evaluate the contribution of traffic from social media sources and sharing of content from your site on social networks. Hard data should be used wherever possible to monitor social initiatives so that you can form a much clearer picture of what techniques are most effective for your business and to build a compelling business case for further social media marketing should it prove successful.

Free tools such as Google Analytics allows users to track social media marketing using a series of reports looking at social sources, pages, conversions, social plugins and visitors flow.

5. Mobile is the present and future of many social media interactions

Smartphone usage has rocketed over the last few years, with sales overtaking that of PCs two years ahead of schedule, tablet sales growing 378% year-on-year and news that in the US 90% of 18-29 year olds sleep with their smartphones!

Facebook’s acquisition of Instagram for $1 billion in 2012 signified the social networking giant’s commitment to mobile moving forward and a clear sign that mobile will continue to play an increasingly important role in social media as the technology develops and users become savvier.

To get more ideas on developing strategies for enhancing content, mobile and social media marketing register for the free Smart Insights webinars on 11th January 2013.

How To Modernize Your Hr Processes With The Goco App

Over the past decade, digital transformation has swept through industries and companies of all sizes, changing the way people work. Although professionals in most departments have been equipped with cloud-based software solutions that streamline their workflows and give them instant access to actionable data, human resources (HR) departments in most small and mid-size businesses (SMBs) have continued to rely on tools from decades past.

Nir Leibovich, CEO and co-founder of GoCo, came to this realization in 2014 when he was the chief business officer at a biotech firm with around 100 employees.

“Most every department was accelerating in terms of digital innovation,” Leibovich recalls. “My sales team had CRM tools, my marketing team got marketing analytics, my finance team got cloud-based accounting software. They were all automating and streamlining their processes. But my HR admin Josie was surrounded by filing cabinets, stacks of paper and a fax machine. Walking into her office was like stepping into a time machine.”

Leibovich, a serial entrepreneur and enthusiastic problem-solver, knew HR admins like Josie needed better tools. So, he reunited with his old business partners to create GoCo — a modern human resources platform with flexible onboarding, time-tracking benefits and payroll capabilities that users can access anytime, from anywhere, using any internet-connected device.

Getting the gang back together

GoCo was the third successful business venture for Leibovich and his partners, Jason Wang and Michael Gugel. The first was a gaming analytics platform that was acquired in 2011 by Zynga, maker of Words with Friends and other popular mobile app games.

“Right after Zynga acquired us, they went public in 2011, and we got to work with some of the smartest guys in Silicon Valley and learned a lot very fast about how to build much more scalable solutions because we were dealing with 300,000,000 monthly active users. We also learned how to build an engaging user experience.”

A couple of years later, the trio started a biotech informatics firm that created algorithms to refine DNA testing results, helping physicians easily make sense of the data to tailor diagnoses and care. It was then that they decided to modernize human resources — for two reasons:

“First, the old approach to HR was inefficient. I wanted it to be streamlined with all the data in one place and digitized so I could derive insights from the data. But more importantly, the old approach was embarrassing. We had this hot biotech firm and were hiring really amazing talent. In the interview process, we’d wow them with our technology and our mission, but then on their first day, they’d walk into our HR department and spend three hours filling out a pile of paperwork with a pen.”

Leibovich looked for a better HR solution, and when he couldn’t find one suitable for small businesses, he and his business partners built one.

How GoCo works

GoCo combines three essential HR information systems: an HRIS database, a robust benefits administration module and an embedded payroll solution. Leibovich describes it as an “employee management platform” designed to follow employees throughout their life cycle with the company — from the initial offer letter to the final W-2.

More importantly, ABC Company is ready for her to start. As soon as Tara accepts the offer, her manager gets a notification about her start date and calls to welcome her to the team. IT also receives a notification, requesting a laptop and CRM login for Tara. The office manager receives a notification to find Tara a desk and order her business cards (or ship business cards to her if she’s joining a dispersed team).

Using the GoCo mobile app, Tara tracks her time, expenses and commission, and when payday rolls around, the system automatically generates her check or direct deposit using GoCo’s embedded payroll solution or an integrated third-party solution. And when ABC Company’s open enrollment period starts, Tara can update her health insurance plan in the GoCo app.

Power your business with chúng tôi Advantage

White Paper

Get exclusive discounts, financing and other deals on Samsung business solutions. Download Now

“GoCo automates all the manual, paper-based processes in HR,” says Leibovich. “In some cases, the system does things that HR isn’t allowed to do, like help people fill out W-9 forms, or doesn’t have the time or expertise to do, like help employees select a benefits plan.”

6 benefits of GoCo

1. Improved productivity

By automating HR tasks, GoCo saves the average small business up to seven hours of HR time per new hire and up to 15 hours per employee — leading to a 10 percent reduction in HR admin overtasks. That gives HR more time to focus on meaningful tasks, such as enhancing employee retention strategies.

2. Lower HR costs

On average, a 75-employee company using GoCo saves:

$30,600 in reduced turnover

$14,200 in reduced admin costs

$25,900 in employee productivity

That’s a total annual return on investment (ROI) of $70,700.

3. Remote capabilities

GoCo is a cloud-based solution that works on any smartphone, tablet or computer, so HR can manage people and processes from anywhere, and employees can log in from any device — whether they’re in the office, on the road or working from home.

4. Scalability

“Very small businesses tend to have people wearing a lot of hats, so they want an HR solution that just streamlines and automates the whole thing and they don’t have to think about it,” Leibovich says. “Our solution does that, but it also has this robust configuration power, so companies can customize it to their own liking and add deeper integrations and more functionality, as their businesses grow and their HR departments grow.”

5. HR compliance

Leibovich says small businesses aren’t always aware of all the federal and state HR requirements, but GoCo’s platform is.

“Small businesses often make mistakes that can cost them big — such as misclassifying their employees or not accurately tracking their time or not collecting I-9 eligibility according to compliance or not having the document retention process. GoCo lets you rest easier knowing you’re compliant.”

6. Support with customization

GoCo is a self-service platform with video tutorials and other online resources, but new customers get hands-on support during the initial deployment.

“Typically, as soon as a customer purchases the solution, one of our client success specialists reaches out to find out about their company and goals. They help the client configure the software to meet their unique needs, and quickly map their processes to features in our software that automate and streamline workflows. Then the system sends every employee a login, and they’re ready to start using the software.”

Discover more essential apps to empower your growing business — and explore exclusive business pricing, financing and trade-in options and other deals on everything from phones and tablets to monitors and memory.

Learn With Linux: Learning Music

Linux offers great educational software and many excellent tools to aid students of all grades and ages in learning and practicing a variety of topics, often interactively. The “Learn with Linux” series of articles offers an introduction to a variety of educational apps and software.

Learning music is a great pastime. Training your ears to identify scales and chords and mastering an instrument or your own voice requires lots of practise and could become difficult. Music theory is extensive. There is much to memorize, and to turn it into a “skill” you will need diligence. Linux offers exceptional software to help you along your musical journey. They will not help you become a professional musician instantly but could ease the process of learning, being a great aide and reference point.

Gnu Solfège

Solfège is a popular music education method that is used in all levels of music education all around the world. Many popular methods (like the Kodály method) use Solfège as their basis. GNU Solfège is a great software aimed more at practising Solfège than learning it. It assumes the student has already acquired the basics and wishes to practise what they have learned.

As the developer states on the GNU website:

“When you study music on high school, college, music conservatory, you usually have to do ear training. Some of the exercises, like sight singing, is easy to do alone [sic]. But often you have to be at least two people, one making questions, the other answering. […] GNU Solfège tries to help out with this. With Solfege you can practise the more simple and mechanical exercises without the need to get others to help you. Just don’t forget that this program only touches a part of the subject.”

The software delivers its promise; you can practise essentially everything with audible and visual aids.

GNU solfege is in the Debian (therefore Ubuntu) repositories. To get it just type the following command into a terminal:

The number of options is almost overwhelming. Most of the links will open sub-categories

from where you can select individual exercises.

There are practice sessions and tests. Both will be able to play the tones through any connected MIDI device or just your sound card’s MIDI player. The exercises often have visual notation and the ability to play back the sequence slowly.

Solfège could be very helpful for your daily practise. Use it regularly and you will have trained your ear before you can sing do-re-mi.

Tete (ear trainer)

Tete (This ear trainer ‘ere) is a Java application for simple, yet efficient, ear training. It helps you identify a variety of scales by playing thhm back under various circumstances, from different roots and on different MIDI sounds. Download it from SourceForge. You then need to unzip the downloaded file.




Enter the unpacked directory:




Assuming you have Java installed in your system, you can run the java file with





your version


(To autocomplete the above command, just press the Tab key after typing “Tete-“.)

Tete has a simple, one-page interface with everything on it.

You can choose to play scales (see above), chords,

or intervals.

You can “fine tune” your experience with various options including the midi instrument’s sound, what note to start from, ascending or descending scales, and how slow/fast the playback should be. Tete’s SourceForge page includes a very useful tutorial that explains most aspects of the software.


Jalmus is a Java-based keyboard note reading trainer. It works with attached MIDI keyboards or with the on-screen virtual keyboard. It has many simple lessons and exercises to train in music reading. Unfortunately, its development has been discontinued since 2013, but the software appears to still be functional.

To get Jalmus, head over to the sourceforge page of its last version (2.3) to get the Java installer, or just type the following command into a terminal:



chúng tôi will be guided through a simple Java-based installer that was made for cross-platform installation.

Jalmus’s main screen is plain.

You can find lessons of varying difficulty in the Lessons menu. It ranges from very simple ones, where one notes swims in from the left, and the corresponding key lights up on the on screen keyboard …

… to difficult ones with many notes swimming in from the right, and you are required to repeat the sequence on your keyboard.

Jalmus also includes exercises of note reading single notes, which are very similar to the lessons, only without the visual hints, where your score will be displayed after you finished. It also aids rhythm reading of varying difficulty, where the rhythm is both audible and visually marked. A metronome (audible and visual) aids in the understanding

and score reading where multiple notes will be played

All these options are configurable; you can switch features on and off as you like.

All things considered, Jalmus probably works best for rhythm training. Although it was not necessarily its intended purpose, the software really excelled in this particular use-case.

Notable mentions TuxGuitar

For guitarists, TuxGuitar works much like Guitar Pro on Windows (and it can also read guitar-pro files).


Piano Booster can help with  piano skills. It is designed to play MIDI files, which you can play along with on an attached keyboard, watching the core roll past on the screen.


Attila Orosz

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

Update the detailed information about How To Control App Priorities With Ananicy In Linux on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!