Trending February 2024 # Add Keyboard Shortcut To Unity Lenses # Suggested March 2024 # Top 10 Popular

You are reading the article Add Keyboard Shortcut To Unity Lenses updated in February 2024 on the website Eastwest.edu.vn. 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 Add Keyboard Shortcut To Unity Lenses

Do you know that all the default Unity lenses come with a keyboard shortcut that you can use to quickly access it? For example, you can use “Super + a” to open the Application lens and “Super + f” to open the Files lens.

What if you have installed a custom lens and want to assign a keyboard shortcut to the lens? Here is how you can do so:

1. Open Nautilus and navigate to the folder “/usr/share/unity/lenses“. Find the lens that you want to add keyboard shortcut to and open it with superuser permission. For example:

gksu gedit

/

usr

/

share

/

unity

/

lenses

/

commands

/

commands.lens

2. At the end of the [Lens] section, add a new line:

Shortcut

=c

where “c” is the alphabet that you want to set for this lens. Save and exit.

3. Now you can access the lens with “Super + c” (or the alphabet that you have set).

That’s it.

Damien

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

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 Add Keyboard Shortcut To Unity Lenses

Tweak And Perfect The Ubuntu Unity Desktop With Unity Tweak Tool

For tweaking Ubuntu in general, there is the Ubuntu Tweak that take care of most of the system tweak and configuration. However, if you are using the Unity desktop, there are some features that are not covered by Ubuntu Tweak. This is where Unity Tweak Tool comes in.

Unity Tweak Tool is a configuration tool for the Unity Desktop, providing users access to features and configuration options. While most of the configuration options are available in the System Settings as well, Unity Tweak Tool brings them all together in a single place so you don’t have to search high and low for each setting.

Installation

sudo

apt-get install

unity-tweak-tool

For Ubuntu Quantal and below, you have to add the PPA:

sudo

add-apt-repository ppa:freyja-dev

/

unity-tweak-tool-daily

sudo

apt-get update

sudo

apt-get install

unity-tweak-tool Usage

There are tons of things that you can tweak here. In the Launcher settings, you can customize the behavior of the launcher, like setting it to auto-hide, the auto-hide animation, reveal sensitivity, and more.

The Panel section is where you can configure the settings for the indicators in the system tray.

The next section is the Window Manager section where all the application window settings are found. The workspace is inactive by default in Ubuntu Raring, so this is where you can turn it on and set the number of horizontal and vertical workspace.

The Windows Spread, Windows snapping and Hot Corners sections are where I spent most of my time on because they helped me to improve my productivity.

Windows Spread is a feature where you can get an overview of all the opened applications with the shortcut key “Super + W”.

Windows snapping allows you to define the action when the application window is dragged to the various corners of the screen. For example, I can set it to maxmize the window when I drag it to the top of the screen.

Hot corners allows you to set the action when you move your mouse to the various corner of the screen. For example, I can get it to show the desktop when I move the mouse to the right-bottom corner.

The Appearance are general tweaks related to the look and feel of the desktop. I tend to leave them as default as I am pretty happy with the default theme in Ubuntu Raring.

For the System section, under the Scrolling icon, there is an option for you to configure touch scrolling. This is useless if you are using Ubuntu on a desktop, but since Canonical is merging Ubuntu Touch into the desktop version, this could come in handy for a touch-enabled device like your tablet or phone.

Conclusion

As mentioned in the name, this tool is a configuration tool for the Unity desktop, so you don’t expect to find system tweaking settings (like backing up or cleaning up of the system) here. Nevertheless, Unity Tweak Tool is a handy tool that helps me to get used to the Unity desktop faster. In the past, I used to loathe the Unity desktop because of the limited customization option. With tool like Unity Tweak Tool, it makes using Ubuntu (and Unity) fun again.

Damien

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

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.

How To Create A Printer Shortcut In Windows 11/10 Computer

In this post, we will help you create a printer shortcut on Windows 11/10 computer. Earlier versions of Windows OS show a printer icon in the system tray of the taskbar for the print queue. But, with new ways of printing (say cloud printing or Wi-Fi printing), you may not see such an icon. So, if you use a printer regularly and quickly want to use it from the desktop or taskbar of your Windows 11/10 computer, then creating a printer shortcut is a good option.

Before creating a shortcut to your printer, make sure it is installed and connected to your computer. If not, then first, install or add a local printer or connect a wireless printer, or some other printer on your Windows 11/10 computer so that you can create and use its shortcut.

How to create a Printer shortcut in Windows 11/10

Here are the steps to create a printer shortcut on your Windows 11/10 computer:

Open Windows 11/10 Settings app using Win+I hotkey

If you are on Windows 10, then access the Devices category

Access the Printers & scanners page or section

A list of all the installed printers along with their names will be visible to you in the right section. Remember or copy the name of the printer because the exact name of the printer is needed for which you want to create the shortcut

Access the New menu

In that window, you will see a text field for the Type the location of the item section. In that text field, enter the following string:

rundll32.exe printui.dll,PrintUIEntry /o /n “PrinterName”

Replace PrinterName in that string with the actual name of the printer. After that, press the Next button

In the next step, provide a name to your printer (any custom name)

Press the Finish button.

This will add a printer shortcut to your desktop.

You can also pin the printer shortcut to the taskbar to make it more convenient to access that printer.

Set a custom icon for the Printer shortcut

The printer shortcut on the desktop or any other desktop shortcut is assigned a default icon. You might not like this. So, if you want, you can set a custom icon for the printer shortcut. Thankfully, Windows 11/10 provides a built-in feature to change file and folder icons (including desktop shortcuts). Here are the steps to set a custom icon for your printer shortcut:

Access the Shortcut tab present in the properties box

Press the OK button to get back to the Properties box

That’s it! Now printer shortcut will show the icon set by you.

Related: How to share and add Network Printer.

How do I put a printer shortcut on my desktop?

Adding a printer shortcut on Windows 11/10 desktop is pretty easy. All you need is the name of the printer and shortcut wizard. The printer’s name can be accessed using the Settings app of Windows 11/10 and the shortcut wizard is needed to add the required string and printer name to create the printer shortcut. You can check this post that includes step-by-step instructions for creating a printer shortcut on Windows 11/10 computer.

How do I create a shortcut for Devices and Printers in Windows 10?

Below are the steps to create a desktop shortcut for Devices and Printers in Windows 10. These steps work for Windows 11 OS also. The steps are:

Select the New menu

Use the Shortcut option available in the New menu to open the shortcut wizard

Copy and paste the string mentioned below in the available text field:

explorer.exe shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}

Hit the Next button

Add a name for your shortcut. You can give a name like Devices and Printers or any other name

Press the Finish button to close the shortcut wizard.

Now, you will see the Devices and Printers shortcut on the desktop.

Hope this is helpful.

Read next: How to add Printer to Send to Desktop context menu.

How To Add Music To Powerpoint Presentations

Microsoft PowerPoint allows you to add different types of multimedia content. Music is just one more content type you can add to catch attention. Before you start adding music to your PowerPoint presentations though, do remember that not all types of music and even not every sound effect may be suitable for your presentation. 

As a general rule for creating engaging PowerPoint presentations, always tailor your presentation around the content and not the other way around.

Table of Contents

Let’s learn how to add music to your PowerPoint slides and then customize the music file with the playback controls in the PowerPoint Ribbon. 

Here are a few things you should know before you upload the first music file: 

You can add one or several audio files to your slides. 

You can download a song or a music file from the internet and then insert it in your slides.

You can record your own voice and add it as a narration to your presentation. 

You must use an external audio editor to string together multiple music files when you want to cover a long presentation. 

PowerPoint supports WAV, WMA, MP3, and a few other file formats. 

In this article, we won’t talk about adding audio narration to PowerPoint. Instead, let’s look at how to add music to your PowerPoint presentation with a sound file of your choice. 

Add Music To Your PowerPoint Presentation

Adding music to PowerPoint slides is just like uploading any other file type.

The Audio Tools Playback tab appears on the Ribbon as soon as the file is uploaded on the slide. You can also select the icon of the audio file in the Normal slide view and display the Audio Tools Playback Tab.

Customize The Music With The Audio Tools Playback Tab

By default, the Audio Style is automatically set to No Style.

You can select Play in Background. Play in Background makes the audio file start automatically during a slide show and also play across multiple slides.

There are three ways to start the playback. 

The other choices like Volume, Play Across Slides, Loop until Stopped, and Rewind After Playing are all self-explanatory. 

How To Trim Your Music Clip

The Editing group on the Playback tab gives you a few ways to change the way your music file will sound. You can add Fade effects with the Fade In and Fade Out timers to gradually introduce the sound clip in your presentation. 

Drag the green marker (at the start of the clip) to the marker position. To trim the end of the clip, drag the red marker on the right to the new point where you want to end it. 

Instead of dragging the markers, you can also note the time of the end points and then enter it in the Start and End time boxes. 

When you save the presentation, the trimmed information is saved in the file. You can also save a separate copy of the trimmed music file outside PowerPoint too.

How To Add Bookmarks To An Audio File When You Want To Change The Audio Icon

By default, an audio file will appear as a speaker icon in the slide. If you want, you can change the icon to a different picture.

Play The Perfect Audio For Your Presentation

You can consider using songs or an instrumental score to your slides when you want to convert PowerPoint into a video. 

But do remember that these media shouldn’t overpower the content of your presentation. Every rule of effective presentations says that it’s important to know what to leave out as well as what music to add into your PowerPoint slides. 

How To Configure Tdls And Add

 PDF

You may be a customer who wants to use customisation done for your TallyPrime, a TDL developer who do customisations using TDL, or a Tally Partner who develop various solutions as per your customer needs. All of you need to know how to configure your TDLs or Add-Ons (addon/add on) in TallyPrime.

This topic will talk about various deployment procedures for your TDLs and Add-Ons (addon/add on).

Before understanding deployment procedures, first you should know various types of customisations

Various Types of Customisations

There are 4 types of customisations which can be considered for deployment.

Local TDL: These are compiled TCPs or TDLs available with the user locally.

Account TDL: These are those TCPs or TDLs which can be deployed centrally from control centre for single or multiple Tally Serial Numbers.

Remote TDL: These are those TCPs or TDLs which are available on server but can be only be accessed remotely and don’t have access to these TCPs or TDLs.

Add-Ons: These are those solutions, which are developed by various Tally Partners across India and those are available on the Tally marketplace called TallyShop.

In TallyPrime, the list of configured TDLs on TDL Management report. You can access the TDL Management report in the following ways:

          OR

OR

Use Shortcut CTRL+ALT+T from anywhere in TallyPrime.

The configured TDLs are shown in the report as given below:

Go to TDL Management.

Set Yes to Load selected TDL files on startup.

Select the required from the file selection screen by selecting the options Specify Path or Select from Drive.

By selecting the option Specify Path you can mention the directory path and go ahead with the configuration.

By selecting the option Select from Drive you can traverse through the explorer and select the files from the system.

In the TDL Management report, user can view the number of TDLs configured and how many are loaded along with how many are local TDLs and how many are account TDLs.

TallyPrime allows the user to deploy customised TDL programs to a single site or all the sites belonging to an account.

The account administrator can deploy the account TDLs by following the four simple steps shown below:

The customised TDL programs can be uploaded from the control centre available on the Tally website. To upload the customised TDL programs the user has to login to Tally website using the account Administrator’s ID and password.

Log in to Tally Website.

In Upload TDL Files(s) screen

Enter a valid name to the program files you want to upload in Name of TDL field.

Select the required TDL program file(s) from the saved location.

You can create a TDL Configuration either from the Web Control Centre.

To create a TDL Configuration from the Web Control Centre follow the steps shown:

Log in to Tally Website.

Enter a valid name to the TDL configuration in Name of Configuration field.

Select the TDL files to create the TDL configuration.

Set to Yes for Allow Local TDL(s) if you want to load local TDL with this TDL configuration else set it to No.

Press Save to link the TDL Configuration to the selected site or account.

After successfully linking the TDL Configuration to a site or account, in order to download the TDL Configuration, the user has to update the license. On successfully downloading, the TDL configuration resides in the TallyPrime folder for Single User edition or resides in the license server folder for Multi User edition.

Go to Gateway of Tally.

Press F5: Update

Enter the Tally.NET ID and Password in the Update License screen. A message License Updated Successfully appears.

Restart TallyPrime to apply the TDL configuration to the concerned site or account.

The availability of Account TDLs for a site or an account are displayed in TDL Management report and the number of TDLs loaded are displayed in the About screen.

When there are local TDLs and your are accessing TallyPrime remotely. You will not get access the configured local TDLs. If you want to access them you need to set Yes for Allow Local TDL Files in Users for Company screen.

TallyShop Add-Ons are the customised solutions developed by our partners which can be deployed with TallyPrime license. The deployment procedure is same as Deploy Account TDLs

How To Add An Infrared Remote

Theoretically, HomeKit supports fans as a smart home accessory. There are some HomeKit ceiling fans already on sale, but what I’ve been holding out for is a HomeKit tower fan for my office. Unfortunately, there aren’t really any to speak of.

After years of waiting, and a particularly hot summer, I gave up and explored the enthusiast route. I bought a standard fan with an IR remote control and set out to induct it into my HomeKit home using Homebridge…

The most obvious route to add a dumb appliance to the HomeKit ecosystem is to use a smart plug. With a HomeKit smart plug, you can very quickly add smarts to a lot of accessories. The smart plug toggles the power on and off at your command, so it’s perfect for things like floor lamps.

Unfortunately, tower fans are not so simple. As they have settings like fan speed and oscillation to manage, they don’t simply turn on when the power turns on. They have a memory of sorts. When you plug them into power, which is what a smart plug is effectively emulating, they just sit there. You then have to press another button to actually start up the fan. This means a smart plug is not the solution.

Instead, I bought a fan with an Infrared remote control specifically because my plan was to use Homebridge. (What is Homebridge? Homebridge is a third-party, unofficial, bridge server that can expose all sorts of accessories to the HomeKit platform.)

The key to all of this is an IR blaster called the Broadlink RM. The RM connects to WiFi, so you can connect to it from an app and beam out Infrared commands remotely. However, the app is terrible and I have no interest in using it. Instead, the plan was to connect the Broadlink RM to Homebridge using this community plugin.

In the end, the blaster will essentially send out the same Infrared codes as the fan’s remote. The fan will see the incoming IR and dutifully perform the commands. All the IR stuff is wrapped up neatly in a Homebridge plugin and this means it will show up in my HomeKit home like any other accessory.

How to set up an Infrared accessory in HomeKit using Homebridge

The first step is to set up a Homebridge server itself if you don’t have one already. You can run Homebridge on a Mac, a Rasberry Pi, pretty much anything that can act as an always-on server. I elected to install Homebridge on my Synology NAS, which is always running as our house’s Plex media server anyway. You can find complete installation instructions for Homebridge on Synology here.

Then, the next step is to install the Homebridge plugin which knows how to connect to the Broadlink RM IR blaster.

Helpfully, the plugin has extensive documentation of its own, so it’s quite easy to follow along. To install the plugin, I opened up a terminal command line in the Homebridge console of the Synology web interface, and typed:

npm install homebridge-broadlink-rm

At this point, plug in your IR blaster in the same room as the accessory (or accessories) you intend to control. The blaster needs to have line-of-sight to the fan, but it doesn’t have to be dead on. The Broadlink RM is about the size of an Apple TV, so it’s quite small and discreet.

You have to use Broadlink’s app to connect the blaster to the WiFi network, but don’t bother actually setting up any accessories using Broadlink’s app. This is wholly separate to the Homebridge plugin configuration, so you don’t need to bother with it.

Homebridge is managed using a configuration file called config.json. You can access this file through the file system, and edit it using a text editor. (For my Synology setup, the easiest approach was to download the file through the web panel, edit it locally on my Mac, and then upload it back to the NAS’s storage.) This single file lists all the various parameters for all of the HomeKit accessories you want to expose.

Every time you make a change to config.json, you will need to restart the Homebridge server for it to apply the new configuration. For a Synology server, this simply means pressing a Restart button in the Homebridge package interface.

With the initial configuration like the above screenshot, you can now try accessing Homebridge from your Home app on the iPhone for the first time.

Homebridge exposes itself to the Home app as a hub. From within the Home app, press the ‘Add Accessory’ button and select the detected Homebridge hub. Enter the following 8-digit code to confirm: 031-45-154. (You can find this code at the top of your chúng tôi file.)

Now that the Homebridge hub is inside HomeKit, any exported accessories will also be added. Any changes to Homebridge from now on will be reflected automatically inside the Home app.

Now, although we haven’t explicitly added any accessory objects to the chúng tôi file yet, there will be a new accessory in your Home called ‘Learn’. This is added by the RM plugin. This switch is the key to translating the Infrared remote control buttons to actionable items.

What pressing the Learn switch does is puts the IR blaster into a special mode where it looks for any Infrared signals and outputs them to the Homebridge log. You need to write down the Infrared codes as we’ll need them later.

So, let’s say we are trying to record the power button of the remote. What we need to do first is press the Learn switch inside the Home app. Then, point our remote control at the IR blaster and press the power button. Look at the log and copy down the Infrared hex code (this will be a long hexadecimal sequence).

Repeat this process for every relevant button you want to expose to HomeKit. Don’t worry if you forget anything, you can always go back and learn again later. We are going to expose our fan as a basic on/off switch, so we only need the Infrared code that corresponds to the power command.

Once you have got a record of all the Infrared codes, you can go back to the chúng tôi file and change the ‘hideLearnButton’ property from ‘false’ to ‘true’. This will remove the Learn accessory from the home.

Okay, so we have our Infrared code for power. Now what? Once again, we can look at the plugin documentation and work out the accessory object format that we need to put in the JSON.

The plugin can simulate accessories for many different types; outlets, switches, fans, lights, garage doors, locks, air conditioners, and shades. Each type has a different set of optional and required parameters, and it can get quite complicated.

The basic switch is all we need to power on and off the fan, and this requires only four properties: the name of the accessory, the semantic type (“switch”), the Infrared data to send when HomeKit turns the switch on, and the Infrared data to send when HomeKit turns the switch off.

For both the ‘on’ and ‘off’ cases, we just paste into the hex string for power that we learned earlier. The ‘persistState’ option determines what happens if the Homebridge server restarts; should it remember the previous on/off state of the accessory? If ‘persistState’ is ‘true’, it remembers the previous state. If ‘persistState’ is ‘false’, then the switch accessory will be considered off on each reboot of the server. For a fan, it probably makes more sense to persist the state so I set this to ‘true’.

Note that this accessories array goes inside the platform object. For the Broadlink plugin, we do not use the top-level accessories array.

We are finished with our configuration, so to declutter our Home app, we set the ‘hideLearnButton’ parameter to ‘true’ which will remove the Learn switch helper. Our final chúng tôi files look something like this:

Assuming everything was typed in correctly, and there are no syntax errors like missing commas, you can now restart the Homebridge server one more time.

Once it fires up, there will now be a new Tower Fan accessory in your HomeKit home. It will look like a switch, but we can use the ‘Display As’ setting inside the Home app to make it look like a fan. You can freely rename the accessory inside the Home app, by the way, the chúng tôi name is just to identify it inside Homebridge itself.

When the fan tile is pressed, HomeKit sends a message to Homebridge to turn the switch on. The plugin then finds the Infrared code for the ‘on’ state and beams that around the room through the IR blaster. If everything went smoothly, the fan will see the Infrared signal and turn itself on! Success. Tapping the tile again sends the off command and the fan stops spinning.

How well do all these hacks work?

I was a bit skeptical going into this that everything would work without a hitch. However, I have been running this exact arrangement for two weeks now without a single glitch or failure.

Controlling the fan with HomeKit is extremely responsive. I can tap the tile in the Home app or use Siri and toggle the fan immediately. The performance is honestly better than some certified HomeKit accessories I’ve tried. The IR blaster never fails to send its signal, and the fan always receives it and behaves accordingly.

Using Homebridge and an IR blaster to recreate a switch may seem like overkill, but this is just scratching the surface of what is possible.

You may have noticed that the plugin includes support for an actual “fan” accessory. This means you can use Infrared to control things like oscillation and fan speed. I actually got oscillation working but my downfall was the fan speed setting.

Unfortunately, the remote for my Honeywell fan only has one fan speed button. When you press the button, it sends out the same IR signal and the fan rotates through each of the three fan speeds. For the IR blaster to work with fan speed, you need to find a fan/remote combo that sends out a different IR signal for each speed; like one IR code for slow, one IR code for fast.

Because of this issue, I opted to simply expose the fan as a basic switch. If I wanted to, I could expose the fan speed command as a separate ‘toggle switch’ inside HomeKit. However, that is a little elegant, so for the time being, I am using it as a simple on/off switch only.

Conclusion

I sure hope that some company soon will actually make a real HomeKit fan, with certified support for all of HomeKit’s accessory services like power, fan speed, oscillation and swing mode direction. That would be the most ideal solution.

That being said, I have been genuinely surprised at how well the Homebridge community solution has performed. The description of the process makes it sound more difficult than it actually is. And of course, that configuration only has to happen once. I set it all up in a couple of hours. If you don’t have a programming background like me, it may be a bit more of a struggle to wrap your head around things like the JSON file format. But, Google is your friend. Homebridge is a surprisingly popular hack and there are a lot of tutorials and videos online that guide you through it.

Homebridge is an incredible Apple community achievement. Frankly, it is amazing that this stuff exists at all — all for free. The Broadlink RM IR blaster that was the glue of this particular integration is pretty inexpensive too.

FTC: We use income earning auto affiliate links. More.

Update the detailed information about Add Keyboard Shortcut To Unity Lenses on the Eastwest.edu.vn 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!