Move tool in Gimp - gimp

Why does the move tool always default to moving a path? I've had this behaviour across a number of versions of Gimp. It doesn't seem sensible when layers is the first option. Is there a way to fix this/force it to default to layers? Thanks.

The default is to move layers. Reset it to Layers and go to Edit>Preferences>Tool options>General and click Save tool options now (also uncheck Save tool options on exit but this should already be the case otherwise you wouln't be asking here). This saves all your Tool options for all your tools, plus the current colors, pattern, gradient, palette, font... so make sure these are correct first
A more extreme way is to click Reset tool options to default values.

Related

Setting the default zoom for the preview window in Gummi (LaTeX editor)

I have a question about a (somewhat) old LaTeX editor for linux called Gummi, found here.
In Gummi, you have a live preview of the LaTeX document you are editing. This preview has a zoom level, the default being 100%. You can change it to a different level but it reverts to default if you switch documents. Does anyone know how to change the default level or how to stop it from reverting to the default between documents?
In theory I could edit the source code to make this change since it is an open source project but I am too naive to complete this task, maybe someone can direct me on what to do (but it's probably nontrivial...)?

Before diving in, is this possible with Awesome WM?

I've been trying different tiling WM's to see which one best fits my needs. Every time I try a new one, it looks good but I find other things that don't quite work the way I like. My requirements have evolved as I go. Initially, I didn't want to get into Awesome because having to learn Lua is not on my wish list but maybe I should give it a try IF it can do what I want better than the other tiling WM's out there.
I'm going to as specific as I can about what I want. I am running a 3440x1440 monitor. I want to use as much vertical space as possible (meaning, a full width, persistent but mostly empty status bar is not an option, but I do like the notification area and a date/time).
I understand it may not do everything exactly the way I want, which is oke. If it does more or less most of what I want I can weigh my options between Awesome and other tiling WM's (actually, only i3 which is what I'm using now but I'm open to better suggestions). I would very much appreciate it if people don't just say no to something it can't do, but say "no, but it can do ...". In other words, feel free to suggest alternatives that might be helpful as well.
Divide the screen in 3 columns, initially 30/45/25, with the right column split horizontally; Fully adjustable and resizable as needed during my work session;
Persistent layout; when closing the last application in a tile, I don't want that tile to disappear and the remaining tiles to resize. Just show an empty space and leave all tiles as they are.
tabbed tiles, so I see which applications are running in a tile (similar to i3).
Resizable tiles with the keyboard into 1 direction; When making the middle column/tile wider, I want that into a specific direction into another tile and leave the other side alone.
Certain applications I want to always launch into a specific tile. For instance, terminals always go into the right-most column top/bottom, browser/spotify always into the middle, atom/IDE always into the left. Some applications should always be floating. Obviously I want to be able to send them to a different tile after launch.
I don't want a 100% width status bar. It will be mostly empty which is a waste of screen estate. Preferably, I'd like a statusbar part of a tile, for example in the right-most tile, resizing with it. Otherwise I'd like it to be fixed to 30% and allow tiles which are not beneath it to use the full height of the screen. My reason for a statusbar is mute; I actually only want a notification area and a date time permanently visible. I don't need a "start menu", dmenu or similar is perfect, which I believe it has integrated.
Many thanks in advance!
The general answer is "Awesome configuration is code and it can do whatever you want". But there is a catch. Can Awesome be configured like you describe? Yes, totally. There is at least 2 distributions coming close enough (mine[1] and worron[2]) (at least for the tiling workflow, not the look).
The "catch" is that the workflow you describe isn't really the "Awesome way". Awesome is usually used as an automatic tiler. You have layouts that describe a workflow (code, web, internet) and manage the clients according to their programming. Manual tile management is rarely necessary once you have proper layouts. That doesn't mean you can't, I did, but it might be worth thinking outside the box and see if you can automate your workflow a bit further.
Also, the default layout system isn't very modern and makes it hard to implement the features you requested. My layout system (see link below) can be used as a module or as a branch and supports all features described above. Awesome is extremely configurable and it's components can be replaced by modules.
https://github.com/awesomeWM/awesome/pull/644
The layout "serialization" documentation is here:
https://elv13.github.io/libraries/awful.layout.html#awful.layout.suit.dynamic.manual
It is similar to i3 but has more layouts and containers. As for the "leaving blank space" part, it is configured using the fill_strategy:
https://awesomewm.org/doc/api/classes/wibox.layout.ratio.html#wibox.layout.ratio.inner_fill_strategy
As a word of conclusion, I would note that what you ask is "work exactly like i3". If you want such thing, well, use i3. Awesome is a window manager framework. Its goal and purpose is to create a customized desktop shell / WM. If it's what you want, then go ahead and learn it, nothing else can come close to the possibility and the level of control you can get out of it. However it takes time and effort to get to the point where you have "your own perfect desktop". Our users perfect desktops:
https://github.com/awesomeWM/awesome/issues/1395
[1] https://gfycat.com/SmallTerribleAdamsstaghornedbeetle
[2] https://www.youtube.com/watch?v=-yNALqST1-Y
The WM your are looking for is herbstluftwm (hlwm). Its a manual tiling window manager. The tiles which you are talking about are called frames in hlwm. Each frame can contain multiple windows. A frame can also be empty. Only if you kill a frame the other frames will automatically resize. You can add new frames vertically and horizontally and resize them. Each frame can also have a different layout to organize the windows inside. The layout you are looking for is max. This will stack the windows inside a frame on each other. It doesn't show you tabs like i3 however. hlwm allows you to create rules to open certain applications always in certain frames and workspaces. hlwm doesn't have a statusbar buildin. I personally like to use tint2. It can be used as a replacement for your requirement to see running applications as tabs.

Automating bucket fill actions on transparent layer in GIMP

Using GIMP, I am attempting to generate a large number of the same image but with different colors. In order to preserve the "shadowing", I am using the below steps. These steps get me exactly what I want in the end. The problem is, it's very tedious repeating them by hand over and over. There has to be a better way.
GIMP's batch scripting seems a little daunting, so I'm hoping to get some suggestions on how to automate this. Basically, what would be nice, is I'd like to essentially specify an array or list of colors...and then "automagically" perform the steps below to generate the output with the desired color.
Steps I'm doing by hand...
1.) Load a base PNG file that has an alpha channel.
2.) Add a new transparent layer.
3.) Activate the layer.
4.) Change mode to "multiply".
Then, for a range of different colors, I do the following...
5.) Select a foreground color.
6.) Apply bucket fill (fill similar colors, fill transparent areas, default threshold, fill by composite).
7.) Save the new PNG.
8.) Go to Step #5.
Here's kind of a cheesy representation of the effect I'm trying to achieve...
I'm also open to other non-GIMP suggestions as well.
Thanks for any and all help and suggestions.
I can offer you a nice Javascript example that do this.
try:
https://stackoverflow.com/a/9304367/1726419
there is a link there that actually do what you wand in JS - you can translate it to many other languages...

Show current layer and hide all other layers in Adobe Fireworks

I've been learning how to use Adobe Fireworks since I'd like to use some of the beneficial features such as better png compression compared with photoshop. In Photoshop on the layers palette it is straightforward to just turn off all the other layers in the open document by option clicking on the eye icon on the layer. However, this doesnt work in Fireworks. Is there a quick way of turning off all layers apart from the one the user is working on?
This isn't a great solution, but I can't seem to find any proper way to do this either, besides option clicking the eye and then clicking again to turn the chosen layer back on.
If you make a text file with this script and save it as "Hide Other Layers.jsf", you can drop it into your Fireworks Configuration / Commands folder. If it's in the right folder, it should show up in the Commands menu, and then you can add a keyboard shortcut to run it:
fw.getDocumentDOM().setLayerVisible(-1, -1, false, true);
fw.getDocumentDOM().setLayerVisible(-1, -1, true, false);
That will hide every layer, then reveal whichever layer you currently have selected.

How to start GL_Painter

I Hope that any one could help me to start doing this program in OpenGl
Write an OpenGL program (interactive program) that draw lines by clicking on the start point and then drag on the display window drawing area.
Give the user a menu that (s)he choose from. The menu contains the following options:
1- Clearing the display window.
2- Choose a line drawing color which includes at least the colors (red, green, blue, black).
3- Choose a line pattern which includes (dash, dot, dot-dash, solid lines).
4- Choose a line thickness. (line width from 1 to 4).
5- Quit the program.
AntTweakBar is good minimalistic gui library and it integrate well with OpenGL (and you do not need much code).
FreeGLUT will be good for windowing and mouse handling and it is also little code.
OpenGL.
glBegin can be used for drawing lines.
glCorol can be used for color (for choosing color use AntTweakBar).
If you need more help update question (you probably do not have rights to add comments, but you can edit your question).
PS From question I've draw assumption that you are beginner, hence level of my answer. I can go deeper if you like.
PSPS You do not need OpenGL to do this kind of stuff, but I assume that OpenGL is a requirement, right? Otherwise there are simpler solutions. Also clarify your question a bit (aspecially section about drawing lines, do you allow non-straight lines?).

Resources