everythings is in the title. I'm looking for series of command I can do only from a terminal, and if possible, for all users.
I don't want to user gnome-shell for weird raisons (virt-viewer works much better within complete gnome)
Thanks in advance,
Found out it was only a configuration file that I had to change: /usr/share/gnome-shell/modes/ubuntu.json to do the trick.
Sorry for the inconvenance
Related
Is it possible to prevent Windows Terminal from displaying the current directory?
In this example PS C:\Users\User\Desktop\projects>.
If so, how?
yes, you can customise your prompt to what you want
see https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_prompts?view=powershell-7.1
also see https://github.com/Jaykul/PowerLine for more advance options
I ran two commands in Terminal to (a) turn off screengrab shadows, and (b) to change the default save location for screengrabs.
The shadows are now gone and the screengrabs save where I want them to. However, when I invoke command-shift-3 to create a screengrab of the entire desktop, I get two files, one containing what I want as well as a screengrab of the 'background', that is the desktop (with any open finder windows).
Could anyone suggest a fix? Thanks in advance.
Sorry! Please disregard this question… I feel embarrassed to admit that it had something to do with … er… my dual monitor setup.
I am trying to create a script that will open an application in a specific "space". So let's say I am on space 1 working in the terminal and then I want to be able to open safari in space 4. Is there a way to do this?
I have done some searching and found only ways to set the system profile options. Maybe I should tell you my end goal in case what I am attempting is not possible.
I use a laptop and plugin in to multiple stations, home, office, and travel. I want to create different window layouts for each one. So I will need an apple script telling it to open applications in varios spaces and different dimensions. I hope this makes sense. Ask me for clarification if it doesn't thanks!
PS the answer doesn't necessarily have to be any applescript I just thought that would be the easiest way :)
Here's a list of applescript commands for Spaces. There's a couple things there that might help you.
It is possible to do some scripting of application Space preferences by using the scripting interface to the System Events.app. See the answer to a similar question here.
The easiest way I've found is via GUI scripting. Make sure the Spaces menu is active on the upper right of your computer. That lists the spaces by number. You can then just write a GUI script to select the menu item of the space you wish. That will switch to that space. Then do an activate Applescript to open the application there.
Let me know if you need sample code demonstrating this. I have some in Python + Appsscript that does this but I should be easily able to convert it back to Applescript proper if you need it.
When I use putty to log on to a bash shell, I want it like real term emulator in Linux. That means:
If I set shell to vi editing mode, the cursor would be a vertical line in inserting mode, and a block in a command mode.
How can I do this?
Thanks all you folks!
Unfortunately, this is not possible.
It looks like there may be a way to do it through hacking readline. I have not tried it yet. Perhaps we could push for it to get mainstreamed?
https://bbs.archlinux.org/viewtopic.php?id=106428
Apparently zsh has a similar hook built in according to this post that might be interesting to try:
https://bbs.archlinux.org/viewtopic.php?pid=428452#p428452
In the putty configuration, look under the 'Category' treeview, click on 'Window', there's a node underneath that called 'Appearance', Look at the cursor appearance on the right hand side pane of that dialog, check the box 'Cursor blinks'...then save that in your profile.
Hope this helps,
Best regards,
Tom.
Greetings. I've been using vim for years, and I've recently started toying with XCode. One of the things I really like about XCode is that it will auto complete words without me hitting <TAB>.
For instance, in this image below I only need to type NSSObj and the rest is filled in automatically, no special keystroke required.
I'd like to reproduce this effect in vim.
To be clear, this question is not about how to get tab/omni-completion working in vim. I've already got tab/omni completion working just fine and that's not a problem. The question is: does anyone know how to get vim to autocomplete as I am typing ?
vimscripts has a plugin called autocomplpop.vim that does what you want.
Another option is a vim script called neocomplcache made by Shougo.