Change Arch Linux Gnome Desktop Default Icon Size - icons

So I've done some searching around and all I can find is how to change the size one at a time (right click on file, click change icon size, drag from one corner to adjust the size). I also could only find stuff with Nautilus and one for Ubuntu. And that gets a bit annoying since the default icon size is way to big. Is there a way to set the default size for the desktop icons? I'm using Arch Linux OS with gnome and gnome extra. It took me a while to figure out how to get the icons to show up on the desktop but I think they're way to big.

This worked for me:
gsettings set org.gnome.nautilus.icon-view default-zoom-level 'small'

Related

How to correct GTK theme difference across platforms?

I have a GTK3 application with buttons which contain a transparent image over a coloured background, when I compile it on a Linux Mint machine I get a perfectly normal "flat" image, but when I compile it on a Raspberry Pi (in Raspbian OS) I get buttons that have a weird white highlight effect on the image.
All I can guess is that the default GTK theme on Raspbian includes some sort of shadow effect that is being applied to the button images but I don't know which one & hence how to override it.
I've dug through the GTK theme/CSS docs but can't find anything obvious that would be applying this effect to an image. I've also poked about in the system(s) for GTK themes/gtk CSS files but there's loads of them, so I'm hoping someone can help me narrow this down to a particular tag/style I can apply to my buttons/widgets/window to make it look right all the time.
Image 1: normal "flat" image:
Image 2: weird fringe highlight / shadow effect on image:
Well after some mucking about with GTK_DEBUG=interactive ./my_app I found it was caused by this setting in the default Raspbian theme:
*{-gtk-icon-shadow:none;}
That one-liner in my application's overall window CSS has fixed it.

How to reset the size of the Qt's window font?

I have left my computer on overnight and in the morning I have noticed, that the font of the windows in QtCreator is significantly bigger as it was, though not everywhere. The text editor, the menu and the side panels are shown with the usual font size (see the first screenshot). I have also noticed, that this change affects other Qt programs, as the Maintenance tool and QtLinguist.
Legend: Red - huge font, should be reset. Green - font is as it should be.
The font size of all other installed programs is unchanged. Just in case I have checked the display settings of Windows and the scale is at 100%, where it was.
Note: I have tried deleting the settings under user/AppData..., but it didn't help.
How to reset the font back to normal?
for changing the size of the font in the source code you can use the short cuts (with the editor focused)
to zoom in: "ctrl" and "+"
to zoom out: "ctrl" and "-"
for the environment the you can set the environment variable
export QT_SCALE_FACTOR=1.5

How to zoom in Rstudio help window? [duplicate]

This is not a question about changing the font size in graphs produced using RStudio. I already know how to do that.
I use RStudio under Linux on a MacBook Pro with a 'retina' display. I use KDE as my window manager. I can (and do) enlarge the default font size in the user interface of other programs in KDE. I increase the font size for the user interface in Firefox and Thunderbird using program specific tools.
How do I increase the font size in the user interface - not the console, which is easy [Options -> Appearance -> font size], but, for example, the help text, the keyboard shortcuts list, and so on. At the moment I find these very hard to read. I've fiddled with everything I can fiddle with, but had no joy.
All help gratefully appreciated!
As some people pointed out, by clicking the ctrl & + together, you can enlarge the font size for everything including for the console & code script. (You will have to do it with a help page pop up as suggested by user3619015.) Then go to the global option and resize the fonts. That changes the font size for everything except the help page. So you will have larger fonts for the help page but everything else in your normal preferred font size.
On a Mac you can do it by going to: view -> actual size or just with the key combo: cmd+= (not cmd++) to zoom in (bigger), cmd+- or zoom out or cmd+0 (zero) to go back to the actual size.
Rstudio doesn't support changing fonts yet, at least for Linux server. However, one can change fonts in browser for a specific page. At least in chrome, you can customize fonts using an extension called font changer. I think it is packed with all GNU free fonts for legal issues. But, since you have the font files in the OS, like consolas, you can practically change to whatever font and size you like. Just play with it.
I had the same problem here using a MacBook Pro although not with KDE, but you could try on the menu of RStudio:
View -> Actual size
After a couple of days struggling to read the help, this worked: increased the size of letters in all windows of RStudio.
Help, Files, Packages can be opened in a new browser window where zoom in and out options are possible. Even a selected specific package can be opened in a new window for clear view
While this is quite an old question, you can now also change your font size under Linux like that:
Tools -> Global Options... -> Appearance -> Editor font size
Here's how I got around the problem:
Simply copy and paste into your word processor or text editor. Text will be pasted in the default text.
I'm using Windows 8.1, Office 2013 and R 64 bit. Not optimal but it works.

Awesome WM: what do the icons of the title bar mean?

can someone tell me what is the meaning of the icons in the title bar? A rocket, a plus, a star.. Im very curious.
Look at the file names of the icons. The first component describes the meaning: https://github.com/awesomeWM/awesome/tree/master/themes/default/titlebar
The plus is for sticky windows. These are windows which are visible on all tags (normally windows are only visible if one of their tags is selected).
The star is for ontop. These windows ignore the normal stacking order and are ontop of everything else.
The rocket is for maximized windows. These windows ignore the current layout and use all the available space.
The arrow is for floating windows. These windows also ignore the current layout, but they can be freely resized to any size.
The cross is a close button. It closes windows! ;-)

Qt: How to make window icon bigger (SVG)?

I'm using Qt 4.8.1, and set the window icon with:
app.setWindowIcon(QIcon("/path/to/icon.svg"));
However, no matter how big the svg icon is, the icon shown in the menu bar or when using "alt-tab" in gnome is always very low resolution and "pixelized".
How can I make it render the icon in a higher resolution?
Seems like this can be only avoided when providing a desktop menu entry with a high a resolution icon.
I downloaded qtcreator to test it: When running the version from the web, the icon is bad. As soon as the installed version is run, it works, because the icon from the menu is used.

Resources