date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,473,066,700,000
Is it possible to access the aggregate menu, or system menu, located in the top right corner on the activities bar of the GNOME shell interface, with a keyboard shortcut? If not, can such a shortcut be created?
As far as I know there's no dedicated shortcut for the aggregate menu. You could use the ctrlalttab.js helper (also known as the accessibility switcher). Hit Ctrl+Alt+Tab: and select Top Bar, this will focus the first element on the top bar (that is, the Activities button). You then navigate with right arrow to the system tray and use the down arrow to open the menu... Not very convenient, I know, so here's a way to define a dedicated shortcut for the system menu: You can invoke gnome-shell evaluator via dbus and call the open() or toggle() methods on that particular shell element: gdbus call -e -d org.gnome.Shell -o /org/gnome/Shell -m org.gnome.Shell.Eval string:'Main.panel.statusArea.aggregateMenu.menu.toggle();' or dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.panel.statusArea.aggregateMenu.menu.open();' So, it's only a matter of going to Settings > Keyboard > Shortcuts and assign a shortcut to one of the above commands.
Access the GNOME shell aggregate menu per keyboard
1,473,066,700,000
I switched to gnome 3 (which I like) and of all the things that have changed the only one that bothers me is the fact that there is not a hibernate option. Now, I know of the pm-hibernate command but it does not lock my x-window on boot up. Just right back into where I left off without requiring a password. Any suggestions?
After trying a few different approaches, I got it to work with the instructions at the webupd8 site; installing all shell extensions. sudo add-apt-repository ppa:webupd8team/gnome3 sudo apt-get update sudo apt-get install gnome-shell-extensions-alternate-tab gnome-shell-extensions-alternative-status-menu gnome-shell-extensions-user-theme gnome-tweak-tool gnome-shell-extensions-workspace-indicator gnome-shell-extensions-apps-menu gnome-shell-extensions-drive-menu gnome-shell-extensions-system-monitor gnome-shell-extensions-places-menu gnome-shell-extensions-dock gnome-shell-extensions-native-window-placement gnome-shell-extensions-gajim gnome-shell-extensions-xrandr-indicator gnome-shell-extensions-windows-navigator gnome-shell-extensions-auto-move-windows
gnome 3 hibernate option
1,473,066,700,000
I found on StackExchange how to change the color of the title bar of an inactive window (in GNOME 3): ~/.config/gtk-3.0/gtk.css: headerbar.default-decoration { background-color: #c00; /* red */ } (See this question: How to change the titlebar height in standard GTK apps and those with headerbars/CSDs on Gnome 3.20) But how can I change the color of only the active window?
I'd say that's not correct. headerbar:backdrop should be the one for inactive windows, headerbar for the active one. I've used headerbar {...} to set the color, like: headerbar { padding: 0 6px; min-height: 46px; border-width: 0 0 1px; border-style: solid; border-color: @border_color; background: @bg_color linear-gradient(to bottom, shade(@bg_color,1.2), shade(@bg_color, 0.8)); box-shadow: inset 0 1px rgba(255, 255, 255, 0.8); } for inactive windows i used: headerbar:backdrop { background-image: linear-gradient(to bottom, shade(@bg_color,1.2), shade(@bg_color, 0.8)); box-shadow: inset 0 1px rgba(255, 255, 255, 0.8); transition: 200ms ease-out; } You can have it flat using background-color instead of background-image but I don't like it ;-) Note that the colors prefixed with @ are part of the theme and have to be defined. Instead of them you can use the rgb notation (eg #FF0000 for red) Be sure to set the background-image to none if you use the color notion
How to change the color of an active window title bar in GNOME?
1,473,066,700,000
I created the following .desktop file under Fedora 24 using GNOME 3. [Desktop Entry] Encoding=UTF-8 Name=Jabref Exec=java -jar /home/zoltan/Bureau/Programs/JabRef-3.7-dev--snapshot--2016-11-08--master--fffad83.jar Icon=/home/zoltan/Bureau/Programs/Icons/Jabref Type=Application Categories=Development When I opened it from the desktop, it launched the application, however when I copied it to /usr/share/applications, the system couldn't recognise it and so I cannot launch it quickly. What can be the problem?
Have a look here: https://developer.gnome.org/integration-guide/stable/desktop-files.html.en It could be possible gnome to be quite sensitive in the "Categories" section. You might need to modify like Categories=GTK;GNOME;Development; PS: By the way i just noticed that your "categories" entry is not "closed" with ";" character. Also, i'm not sure if Development category is present under gnome. You can apply another category (i.e Settings;) to see if it works. Last chance you could try to modify an existing .desktop file....
.desktop file does not work from /usr/share/applications
1,473,066,700,000
I am using firefox to run some web applications as "stand alones": I create a new profile with firefox, specific for that application, set the first page, do the login and customize the UI depending on the specific needs. Then, I can quickly launch an instance of that web app by doing: firefox --no-remote -P My_app_profile the_app_url to make it even nicer, I created an my_web_app.desktop file and placed it in ~/.local/share/application, and made it favorite, so I can quickly run it from the gnome shell side bar. The problem is that, after running the application, I see that firefox is running, and not my app. For example, I made a shortcut for Trello, but after launching it, I see this: Now, it makes sense because it is firefox that is running, but I would like to see my application highlighted instead, and have the firefox icon free to be used as if no other instance was running. I thought that gnome may highlight the icons depending on the executable name, but a simple sym-link to firefox would not trigger a name change (i.e. link /usr/bin/firefox /usr/bin/my_app_firefox still counts as firefox). Do you have any idea on how to fix this? I am using gnome shell 3.18.2. EDIT 1 Here's the trello.desktop file as an example. I am not an expert on the options, so probably I got something terribly wrong... But if I did, it doesn't look like something that would cause the undesired behavior. [Desktop Entry] Version=1.0 Name=Trello (FF) GenericName=Trello Dashboards Comment=Trello in FireFox Exec=firefox --no-remote -P App_Trello http://trello.com Icon=trello Terminal=false Type=Application MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; StartupNotify=true Categories=Network;WebBrowser; Keywords=web;browser;internet; X-Desktop-File-Install-Version=0.22 EDIT 2 So, I wanted to check the gnome-shell source code to see how this could happen. I found that in the Dash each entry is associated to some shell-app, and apparently I want to ensure that the ID of my applications is unique. Using looking glass (Alt+F2 lg), I could see that my current running applications are named "firefox.desktop": appSys = Shell.AppSystem.get_default() ll = appSys.get_running() ll[0].get_id() // firefox.desktop (0 is the ID of the firefox app in my case) If I launch my trello.desktop application, the get_running() method returns the same number of entries, therefore my application does not produce a new entry and my hypothesis of having an unique ID seems seems confirmed. So, I reach the GAppInfo source code to check out what the ID is, and it sends me back to the xdg menu specification. And, from there, I manage to find this: To determine the ID of a desktop file, make its full path relative to the $XDG_DATA_DIRS component in which the desktop file is installed, remove the "applications/" prefix, and turn '/' into '-'. My .desktop file was in $HOME/.local/share/applications, which was NOT in my $XDG_DATA_DIRS. I moved the trello.deskop file into a directory in that path and restarted the shell, but the application still figures as firefox.desktop, so apparently the ID is still the same, in fact the application is still grouped with other firefox windows. Any suggestion?
So, apparently my second edit wasn't correct: the way it GNOME Shell determines application grouping isn't the one I described. After asking on the IRC gnome-shell channel, user halfline provided me the policy for grouping applications into Dash icons: _GTK_APPLICATION_ID property of the window matched to the desktop file id or WM_CLASS matched to the desktop file id or _NET_WM_PID matched to the desktop file started or StartupWMClass in the desktop file matched to WM_CLASS on the window He also suggested that it may be possible to change firefox WM_CLASS, and he's right, as there is a --class flag for firefox that allows to change it. Here's an example: $ firefox & $ xprop WM_CLASS WM_CLASS(STRING) = "Navigator", "Firefox" Using that flag I get $ firefox --class "Trello" & $ xprop WM_CLASS WM_CLASS(STRING) = "Navigator", "Trello" which it just have to match the desktop file ID. Now icons are correctly grouped. Also, note that epiphany has the support to create desktop apps, handling correctly the links with the default browser, therefore for my original purpose it is even better than firefox.
Gnome Shell favorites: how running software is determined
1,473,066,700,000
Background I run Ubuntu Gnome 15.10. Almost every day there is a crash (due to some segfault) in gom-media-server-miner. So I looked up gom-media-server-miner and found gnome-online-miners which is described as follows: GNOME Online Miners provides a set of crawlers that go through your online content and index them locally in Tracker. It has miners for Facebook, Flickr, Google, ownCloud and SkyDrive. Question Can I disable the gnome-online-miners altogether? I don't want the feature. What I tried so far I tried sudo apt-get remove gnome-online-miners and then it insisted on also removing ubuntu-gnome-desktop which sounds like something I want to keep. $ sudo apt-get remove gnome-online-miners Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: gnome-documents gnome-online-miners gnome-photos ubuntu-gnome-desktop 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. After this operation, 6 052 kB disk space will be freed. Do you want to continue? [Y/n]
I've encountered repeated SEGFAULTs with this package, and used this: sudo dpkg --force-depends -r gnome-online-miners This command removes only the package and forces dpkg to treat any dependency errors as warnings. I'm puzzled that this can't be done with apt/apt-get given that this package is Priority: optional. gnome-photos, etc., still seem to work.
Can I disable or remove gnome-online-miners?
1,473,066,700,000
I'm migrating from Ubuntu to Mint and loving it so far. One thing has been bugging me. On ubuntu I was able to run: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" to get system-wide emacs keybindings, but this doesn't seem to work on Cinnamon. I also tried changing the setting using the gnome3-tweak-tool, but that doesn't seem to work either. I've confirmed that the setting has stuck and even tried logging out/back in. There are only really a couple of shortcuts I care about - CTRL-A to go to the beginning of the line. CTRL-K to kill the line, and CTRL-E to go to the end of the line, CTRL-D to delete a character. Any ideas? If I can make those shortcuts individually that would be fine too.
So this is only sort-of supported in Mint. I eventually found out that you can use this: gsettings set org.cinnamon.desktop.interface gtk-key-theme 'Emacs' Although Emacs keybindings don't work in a lot of cinnamon apps (like the file browser for example), they do work in Chrome and the text editor. See the thread on github for more information: https://github.com/linuxmint/Cinnamon/issues/3816
Why don't emacs keybindings work on Mint 17.1?
1,473,066,700,000
The question is about customizing the way icon appears at desktop shell notification area file associations [Desktop Entry] Version=1.0 Type=Application Name=Mathematica 9 Comment=Technical Computing System Exec=/usr/local/Wolfram/Mathematica/9.0/Executables/Mathematica %F Icon=wolfram-mathematica MimeType=application/mathematica;application/vnd.wolfram.cdf Categories=Education Now provided I can make a custom desktop file where I can place png file location at icon...but how come the above desktop file is referring to an icon & where is that icon (wolfram-mathematica)? Secondly how to system wide change icon of a special file type say a docx to something else Third & last how gnome load tray icons & where are those icons stored e.g I want to customise autokey tray icon to something else how can I do it? Have also looked at /usr/share/pixmaps but to no avail
First, desktop files aka "launchers" (should) comply to freedesktop specs. As to the icon, the above specification explains: Icon to display in file manager, menus, etc. If the name is an absolute path, the given file will be used. If the name is not an absolute path, the algorithm described in the Icon Theme Specification will be used to locate the icon. the algorithm being: Icons and themes are looked for in a set of directories. By default, apps should look in $HOME/.icons (for backwards compatibility), in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order). ........................................................................ The icon lookup mechanism has two global settings, the list of base directories and the internal name of the current theme. Given these we need to specify how to look up an icon file from the icon name and the nominal size. The lookup is done first in the current theme, and then recursively in each of the current theme's parents, and finally in the default theme called "hicolor" (implementations may add more default themes before "hicolor", but "hicolor" must be last). As soon as there is an icon of any size that matches in a theme, the search is stopped. Even if there may be an icon with a size closer to the correct one in an inherited theme, we don't want to use it. Doing so may generate an inconsistant change in an icon when you change icon sizes (e.g. zoom in). The lookup inside a theme is done in three phases. First all the directories are scanned for an exact match, e.g. one where the allowed size of the icon files match what was looked up. Then all the directories are scanned for any icon that matches the name. If that fails we finally fall back on unthemed icons. If we fail to find any icon at all it is up to the application to pick a good fallback, as the correct choice depends on the context. As per the above, on most modern desktops, icon themes location is $XDG_DATA_DIRS/icons, that is /usr/share/icons (global) and ~./local/share/icons (user). Second, changing an icon for a file type system-wide involves changing the mimetype icon coresponding to that file mime type, i.e. for .docx files the mime type is application/vnd.openxmlformats-officedocument.wordprocessingml.document Gnome default icon set has no icon for that specific mime type so it falls back to x-office-document (full path being /usr/share/icons/gnome/$SIZE/mimetypes/x-office-document). Changing the icon for .docx means you either have to come up with a new icon (of various sizes) named application-vnd.openxmlformats-officedocument.wordprocessingml.document.png or replace the x-office-document.png that is used by default. Note the latter will change the icon for all files associated with x-office-document mime type, not only .docx. It is not recommended to alter icon themes in /usr/share/icons as your changes will most likely be overwritten by future updates so your best bet is to place your favorite icon theme in ~./local/share/icons and add/modify whatever you want. Finally, identifying the tray icons used by Gnome is not a trivial task, see this on AskUbuntu. Not sure if it applies to Gnome 3.6 since some shell parts are still under major rearchitecture and code changes every release.
Understanding Gnome various Icons
1,473,066,700,000
In gnome-shell's top bar, calendar items are shown. This is great. However, I miss the possibility to click onto an item and then see more details/or simply to be led to the specific event item in evolution or another preferred calendar application. The missing functionality is this: click on calendar item@top bar --> open default calendar's details about this calendar item. Is it configurable, and if yes how, to make gnome-shell calendar open a specific calendar app when clicking onto a calendar item?
At the moment, this does not seem possible, because no API exists, that would allow gnomeshell to interact with events from e.g. evolution or gnome-calendar. see https://gitlab.gnome.org/GNOME/gnome-shell/issues/262#note_540721 For an issue that discussed this issue specifically, see https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1297
How to make gnome-shell calendar open calendar app's event details when clicking onto calendar entry?
1,473,066,700,000
With Ubuntu pushing Unity, what distribution would you recommend if I just want to run Gnome 3 with the new Gnome shell? Personally, I'm interested in distributions which have the polish and support of Ubuntu, but feel free to recommend anything that makes it easy to run Gnome shell.
Fedora is an obvious choice. Frequent (6 month) releases, lots of community support, and on top of that its a pretty good operating system. Fedora 15 with Gnome 3 releases later this month, but you can download the beta now. Fedora Project
Good distribution for Gnome shell
1,473,066,700,000
I am using RHEL 7 with GNOME 3. As far as I know, I can only configure an ADSL connection (via GUI) with nm-connection-editor. But where can I find a clickable symbol for the nm-connection-editor in the GUI? It should be available, but when digging around in network manager (with the mouse) it doesn't bring up nm-connection-editor! Or is the only solution for configuring ADSL to press ALT+F2, then type nm-connection-editor? How user friendly is that?
The documentation of the Network Manger project points out that it's the dekstop environment authors' responsibility to integrate nm-connection-editor with their GUIs: Most desktops provide a control center or settings utility that integrates with NetworkManager. You can also use 'nm-connection-editor', 'nmcli' or 'nmtui' tools directly. This does not seem to have been done in RHEL and its derivatives (nor in most other distributions), and answers like this one on Superuser and the NetworkManager documentation from ArchLinux (who generally ship their packages as they are upstream, without alterations) suggest that it has been like that since Gnome 3 came out. Let's check to make sure: $ locate nm-connection-editor.desktop /usr/share/applications/nm-connection-editor.desktop OK, so there is a launcher for that program deployed with the system, but... $ tail -n 2 /usr/share/applications/nm-connection-editor.desktop Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings; NotShowIn=KDE;GNOME; ...the last line of that .desktop file clearly shows that someone on the DE or distribution level decided to not show that symbol in KDE and GNOME. In summary, yes, you will need to launch the program directly, either via the Alt-F2 prompt or via a terminal. Creating a launcher yourself will, of course, also work.
How to reach nm-connection-editor from the GUI in GNOME 3?
1,473,066,700,000
Today I had to use mousekeys feature and tried it but it was very slow and unsusable, can I incerase the speed of my cursor while using mousekeys?
The xkbset command can adjust the mousekeys speed. I use this setting: xkbset ma 50 20 20 30 300 which accelerates fast enough to get across the screen in reasonable time, but also starts out slow enough that I can tap a key and get a single pixel movement. Play with the numbers until you find something you like. To install xkbset do sudo dnf install xkbset.
mousekeys is too slow in gnome3 fedora
1,473,066,700,000
How can I install a package on Debian without internet (without using apt-get)? I want to download it on USB and install from USB using terminal.
INSTALL A PACKAGE The path for USB is in /media, so you will have to search there what's the path. Once you have it you can excecute: sudo dpkg -i /path/to/your/usb/device/DEB_PACKAGE Or simply this if you are in the same USB folder as the package: sudo dpkg -i DEB_PACKAGE For example if the package file is called a_debian_package_2.0.deb then you should do sudo dpkg -i a_debian_package_2.0.deb If dpkg reports an error due to dependency problems, you will have to install those dependencies in the same way before your package. You can read more about this on this AskUbuntu answer.
How to install packages without internet
1,473,066,700,000
I have a Debian Jessie 64bit 8.7 and Google Chrome Stable 57.0.2987.110. When I visited the GNOME Shell extensions site, I saw the following information: Although GNOME Shell integration extension is running, native host connector is not detected. Refer documentation for instructions about installing connector. On Firefox ESR (Mozilla Firefox 45.6.0) , I got the following error: ReferenceError: chrome is not defined I can't install any GNOME extension because of it. Should I install chrome-gnome-shell? It is in stretch and sid repositiories, not in jessie. Should I change browsers?
Yes, you should install the GNOME Shell integration for Chrome. The Debian 9 package’s dependencies are satisfiable in Debian 8, so wget http://ftp.debian.org/debian/pool/main/c/chrome-gnome-shell/chrome-gnome-shell_8-4_all.deb sudo gdebi chrome-gnome-shell_8-4_all.deb should work (assuming you have gdebi installed). You’ll need to copy all the JSON files from /etc/chromium/native-messaging-hosts to /etc/opt/chrome/native-messaging-hosts to get the packaged extension to work with Chrome; see the troubleshooting section for details.
Debian Jessie unable to install GNOME extension, the native host connector is not detected
1,473,066,700,000
I have recently switched to Gnome 3 from Gnome 2 (and switched to Linux recently before that), and Gnome 3 doesn't give me as many options to change settings via the GUI, and especially not to change default settings. Specifically, I'm trying to change the lid close action on my laptop, since I don't want it to suspend on lid close ever. (I changed this for my own user(s) via the gnome-tweak-tool.) I've taken a few unsuccessful stabs. I imagine this has to do with sudo for some user, whether sudo for root or gdm. I've tried (in a console window in a Gnome session and in an SSH session from a remote machine): > sudo gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action 'suspend' > sudo gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action "blank" For this, I receive an error about an inability to initialize X11. I've also tried: > sudo -u gdm gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action But, this asks for gdm's password, which I've never set. I have continued with passwd, but it tells me: Cannot unlock the password for `gdm'! And, I could try forcing an unlock of the user, but this resistance to me indicates that perhaps I should abandon this path. I don't know if each of these warrants its own line of questioning, but in the end, I'm just trying to set the laptop lid close setting (the default for all users), though I'd like to know more generally how to set Gnome's default preferences.
Eureka! Thanks to a combination of the answers here, a discussion about setting the login screen's wallpaper, and a general discussion about running an X program from another console, I finally managed to solve this. I do need to set the setting as the gdm user. But, simply running gsettings set ... as gdm will fail because of the X11 error. So, I also need to attach the command to an X session. But, sudo su gdm didn't give me the terminal as gdm, as I had hoped, so I eventually created a simple shell script to run the commands I need. setblank.sh: #!/bin/sh export DISPLAY=":0" export XAUTHORITY="$1" export XAUTHLOCALHOSTNAME="localhost" gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action "blank" or, more generally (gset.sh): #!/bin/sh export DISPLAY=":0" export XAUTHORITY="$1" export XAUTHLOCALHOSTNAME="localhost" gsettings set $2 $3 $4 Once I had this, I could call it like: sudo sudo -u gdm gset.sh Xauthority-file org.gnome.settings-daemon.plugins.power lid-close-ac-action "blank" And this does the trick! One additional note about the Xauthority file: You will need to copy the Xauthority file for your user to a file that gdm has permission to read. (For a quick and dirty example: cp $XAUTHORITY /tmp/.Xauthority and chown gdm:root /tmp/.Xauthority)
Set Default/Global Gnome Preferences (Gnome 3)
1,473,066,700,000
When I start Thunderbird or the IDE 'Eclipse', there are no icons in the menu entries. Several solutions found on the Internet suggest things like setting a specific dconf-value, but with my installation (Arch) this is not possible: % gsettings set org.gnome.desktop.interface menus-have-icons true No such key 'menus-have-icons' So what is the current way for enabling these icons?
It seems that since GTK 3.10 the value 'menus-have-icons' is deprecated. I found a solution by using this command: % gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"
Enabling menu icons in Gnome3
1,473,066,700,000
I normally enjoy using Gnome 3 and gnome-shell in Fedora 16. However, I would like to temporarily run a non-compositing window manager such as metacity so that some wine games can have full control of the display. I have metacity installed. When I run metacity --replace, instead of switching window managers I get a gnome-shell failure display that forces me to logout. I also cannot find a way to choose a different session from the login prompt. There are no buttons, options, arrows or anything to choose. Just username and password. I'm about to resort to desperate measures involving systemd runlevels to disable X and start it manually via startx. Is that going to be my only option? I hope not.
No. However ambitious and great your idea about halting runlevels, you need not do that. Once you are logged into your GNOME system, switch to TTY1 using 'ctrl + Alt + F1'. There enter the following command: $ xinit metacity -- :1 This will launch metacity on Screen 1. If you want you can also end your GNOME session before doing this.
How can I switch window managers in Gnome 3?
1,511,781,632,000
I have created a .menu file in /etc/xdg/menus/applications-merged/, created .directory file in /usr/share/desktop-directories/ and the various .desktop files i want to be in my custom menu under /usr/share/applications with a custom Categories extension Categories=X-nameofcategory yet still no menu appearing in my applications menu. I am wondering if there is a step i am missing, i am not using alacarte because there are multiple applications that i need to create and alacarte is very manual, having to add directory paths for each icon, executable and there is no drag/drop method either. I had assumed there was a standard way to do this and have followed the steps that freedesktop describes but i am still at a loss. Any help or insight would be appreciated!
No one seems to know or wasn't able to answer so i'll throw up the solution I found! There are 3 locations you should be concerned with: /usr/share/desktop-directories /etc/xdg/menus/applications-merged /usr/share/applications Bear in mind the last location is system-wide specific, if you want it just for your user, use: ~/.local/share/applications Firstly we: Create a file called APPNAME.menu (substitute APPNAME for whatever you want to call it) in the folder location /etc/xdg/menus/applications-merged Input these contents: <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> <Menu> <Name>Applications</Name> <!-- This is necessary for your directory to appear in the applications drop down --> <Menu> <!--app --> <Name>app</Name> <Directory>APPNAME.directory</Directory> <Include> <Category>APPNAME</Category> </Include> </Menu> <!-- End app --> </Menu> <!-- End Applications --> Save the file and create another file called APPNAME.directory in the folder location ( it should be the same name specified in the .menu file) /usr/share/desktop-directories with these contents: [Desktop Entry] Type=Directory Name=AppName Icon=/path/to/icon` Note the .directory filename should be exactly the same as the .directory name you entered in the .menu file above. Create a standard .desktop file in ~/.local/share/applications or /usr/share/applications with these contents (substituting for your own program of course and the Categories=line MUST BE the same as the name you gave the .directory file eariler) #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/path/to/executable.sh Name=ApplicationToRun Icon=/path/to/icon Categories=APPNAME Comment=Comment for users
Creating custom menus in Applications-menu tab in CentOS7 GNOME
1,511,781,632,000
I recently switched from terminal prompt login (getty?) to GNOME Display Manager. It seems that GDM always reads .profile, regardless of user's setting of login shell (Zsh in my case). Why is that? I assume it's hardcoded in their source, but I can't find. Why did they do that? Does the software depends on some functionality of Bourne shell? This is not very good if I want to use both GDM and getty (as fallback), because I then need to keep my .profile and .zprofile in sync. I'm not so confident about sourcing .profile in .zprofile (I met some compatibility issues before, when I tried to source .bashrc in .zshrc). I think Bash called as /bin/sh behaves in POSIX mode, but I'm not sure whether it avoids all the pitfalls. In case it matters, I'm on latest Arch Linux, running GNOME with Wayland (so there should not be any Xsession script involved).
Your problems with .bashrc are unrelated. .profile needs to be compatible with all sh-compatible shells, whereas of course .bashrc is specific to Bash and should generally not be sourced by other shells. Generally, put the stuff you want to share between shells in .profile, and make sure you do source it from the startup files of your other shells (unless of course they already do that by default). Obviously, you need to make sure you avoid code which behaves differently in different shells (lack of quoting is okay in Zsh but a problem in properly Bourne-compatible shells, for example). As for the "why" part of your question, this is so that settings in your .profile are available to programs you run from your GUI session, not just by the ones you run from within a shell (or maybe we should say "traditional" shell, and regard your GUI session as a "non-traditional" shell).
Why GNOME Display Manager always read .profile?
1,511,781,632,000
The brightness keys on my laptop work ok, and gnome shell displays a level bar when changing it. But the level bar doesn't display any values (absolute nor relative). How can I retrieve the current brightness value? Say - e.g. for scripting purposes - to be able to restore it later, in a reliable fashion. Use case: for example, you created a color profile at a certain brightness level - and after temporarily changing it around you want to go back to this well-defined fixed point.
You can do that via GNOME Settings Daemon which is responsible for configuring the screen brightness (and many other session-wide parameters). To access the brightness settings you'll have to use the corresponding gsd helper: gsd-backlight-helper (use --help to see all options). To get the current brightness level, run: /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness
Get current screen brightness level
1,511,781,632,000
I was planning on installing a new Linux distribution and I am thinking of trying GNOME 3 interface. Other than Fedora 16 (which has GNOME 3 as default) which other distro supports it? I know it can be installed from the repository, but I tried the GNOME 3 on OpenSuse and had hard time running it; it never really integrated fully. So would be good to know what distro supports GNOME 3 seamlessly. Any other distro than Fedora and Mint linux? (Not so keen on Mint so looking for others)
http://www.gnome.org/getting-gnome/ Fedora Just install or try it live to use GNOME 3. openSUSE GNOME 3.2 is the default desktop environment of openSUSE 12.1. Mageia GNOME 3 will be part of Mageia 2. Install ‘task-gnome’ after installing Mageia. Arch Linux Arch Linux has GNOME 3 in the extra repository. Ubuntu From Oneiric (11.10) onwards, GNOME is just a click away. Debian GNOME 3 is available from the wheezy/testing repository.
Which Linux distro supports GNOME 3 by default?
1,511,781,632,000
I use the following script (it is bound to a keyboard shortcut) to open selected file (clicking on a window after using the shortcut) in nemo. What is does is from window id (after clicking on the window), it get the process id, then using that get the file path that belong to the pid. After acquiring the file path, it opens that file with nemo. #!/bin/bash WINDOW_ID=$(xdotool getactivewindow) PID_OF_ACTIVE_WINDOW=$(xdotool getwindowpid $WINDOW_ID) MY_COMMAND_PATH=$(ps -p $PID_OF_ACTIVE_WINDOW -o command) # https://stackoverflow.com/q/76028252/1772898 if printf -- '%s\n' "$MY_COMMAND_PATH" | grep -qoP '(file://)?(?<!\w)/(?!usr/).*?\.\w{3,4}+'; then nemo "$(printf -- '%s\n' "$MY_COMMAND_PATH" | grep -oP '(file://)?(?<!\w)/(?!usr/).*?\.\w{3,4}+')" fi But the problem is with Foliate. It use the same process for multiple windows. If I open multiple .epub files, it has multiple windows. But all the windows have one pid. % xdotool getwindowpid 59418676 15977 % xdotool getwindowpid 59422435 15977 % ps -aux | grep 15977 ismail 15977 0.1 0.7 95405880 128992 ? Sl May05 10:23 /usr/bin/gjs /usr/bin/com.github.johnfactotum.Foliate /media/ismail/SSDWorking/book-collection/_Books/self-development-anxiety-self-talk/child/Freeing Your Child from Anxiety Powerful, Practical Solutions to Overcome Your Childs Fears, Worries, and Phobias (Tamar Chansky Ph.D.).epub % readlink -f /proc/15977/exe /usr/bin/gjs-console I am using Zorin OS 16.2, which use Gnome 3. I checked the sub-processes to see if I can get the path of other files, but did not help much. % pgrep -P 15977 15995 15998 16011 139458 139662 % ps -p 15995 -o command COMMAND /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess 7 16 % ps -p 15998 -o command COMMAND /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitNetworkProcess 8 19 % ps -p 16011 -o command COMMAND /usr/bin/bwrap --args 29 -- /usr/bin/xdg-dbus-proxy --args=26 % ps -p 139458 -o command COMMAND /usr/bin/bwrap --args 58 -- /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess 59 54 % ps -p 139662 -o command COMMAND /usr/bin/bwrap --args 62 -- /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess 73 58 How can I get the exact file path from window ID, when file is opened in Foliate? Update 1 I have done some research. The following command works. % dbus-send --session --print-reply --dest=com.github.johnfactotum.Foliate /com/github/johnfactotum/Foliate org.freedesktop.DBus.Introspectable.Introspect I have also checked with d-feet that d-bus also show the windows. Now if I could somehow get the file path and window id from here then it would solve my problem.
What you might do to identify what file is shown in a window when using Foliate, is to look at the window name propery, which seems to hold the document title. You can get this interactively from xdotool selectwindow getwindowname or xprop WM_NAME. You can then wrap Foliate inside a shell script so that when you run, say, myFoliate myfile.epub it can add to a log file the filename $PWD/$1 (or $1 if it begins /) and the equivalent title. When you later select a window, you can get the name which is the title, and look up this in the log to find the filename. Getting the title for an epub file is feasible: the format is a zipped archive, with the <title> in xml in toc.ncx. Instead, you can run something like xdotool search --class 'Foliate' | xargs -i xdotool getwindowname {} at the start of the script to get the list of current names/titles, then again a few seconds after starting Foliate in the background. The new entry will be the new title. This will not be able to distinguish between two versions of the same document with the same title. Instead, you can note in the log the window-id of the newly created window (using just xdotool search --class Foliate which outputs the list of window-ids), together with the filename. Then when you select the window, you lookup this number, rather than the title. Obviously, the last match in the log should be used, if there are many out-of-date entries. Here is a possible implementation as a script, myfoliate, which is called with either a filename, or -q to select a window and retrieve a filename. It is a bit overcomplicated as I added a locking mechanism to avoid getting the wrong id if two new Foliate windows are opened at once. The declare -A makes the variable windows an associative array, with the window ids as keys so we can easily find a new missing entry. The sleep 2 may need to be increased if Foliate is slow to start. The log file should probably be emptied at the start if it can be determined that there is no current Foliate running. #!/bin/bash log=$HOME/.myfoliate.log if [ $# -ne 1 ] then echo "$0: usage: <filename> or -q" exit 1 fi if [ '-q' = "$1" ] then id=$(xdotool selectwindow) gawk <$log -v id="$id" ' $1==id { $1 = ""; file=$0; } END{ print file; exit(file==""); }' exit fi if [[ "$1" =~ ^/ ]] then file=$1 else file=$PWD/$1 fi listwindows(){ xdotool search --class 'Foliate' } ( flock -n 9 || exit 2 declare -A windows for id in $(listwindows) do windows[$id]=1 done Foliate "$1" 9>&- & sleep 2 for id in $(listwindows) do if [ "${windows[$id]}" == "" ] then newwin=$id fi done if [ -z "$newwin" ] then echo "$0: failed" exit 3 fi echo "$newwin $file" >&9 ) 9>>$log
Open File Explorer on a File that is open by another Application
1,511,781,632,000
I am using GNOME 3 on NixOS 16.09, and I cannot figure out how to make the "Login" keyring unlock automatically on login. I suspect this could be fixed with the security.pam.services option, but I am not an expert, and the documentation is not very verbose or clear: This option defines the PAM services. A service typically corresponds to a program that uses PAM, e.g. login or passwd. Each attribute of this set defines a PAM service, with the attribute name defining the name of the service. Type: list or attribute set of submodules Default: [ ] A related but less important issue is that if I create a new user account under NixOS and log in with GNOME, no keyring is automatically created. The first time I enter a password somewhere and accept to save it in a keyring, I get a dialogue asking for a password to create a new default keyring: Choose password for new keyring An application wants to create new keyring called 'Default keyring'. Choose the password you want to use for it. Note that it wants to create a keyring called "Default keyring", and not "Login", like Ubuntu does. If I type in my login password, the keyring is created, but on the next login it is not unlocked automatically, and I am asked for a password the first time I try to use it. Here is an analogous question about KDE Wallet, which so far has no accepted answer. There is a relevant issue reported for Nixpkgs.
This issue is fixed in 19.03. If the login manager is GDM, then set the configuration option { # ... security.pam.services.gdm.enableGnomeKeyring = true; } It has been suggested that if no login manager is used, then the following option needs to be set: { # ... services.gnome3.gnome-keyring.enable = true; }
How to unlock GNOME keyring automatically in NixOS?
1,511,781,632,000
I have a program that I have written in Python and added to Gnome with a desktop file. When I click the stickied icon in Gnome to launch it, it duplicates the icon on my task bar and opens a new instance. Other stickied applications just get a line under them. When you click these other applications (like Chrome or Sublime Text) and they are already running, gnome just jumps to their window instead of launching a new instance. Is this behavior something that I need to handle in my application, or is this something that Gnome can handle for me? It is a PyQt4 application with a bash launcher if that makes a difference. Edit- Forgot to mention that I am running Ubuntu-Gnome 16.10 with Gnome 3.20.4
I got this to work. You need to add the key 'StartupWMClass' to your desktop entry. StartupWMClass: If specified, it is known that the application will map at least one window with the given string as its WM class or WM name hint. Protocol information here with more details here. You can install xprop, run it and click the title bar to find out what class your application is.
How to stop a stickied application from launching new instance if already running?
1,511,781,632,000
I bought new laptop Dell Inspiron and first thing I installed Linux Mint and Eclipse for Java development. But I didn't like the look of Eclipse, everything just looks too big on the screen. Half of the space is taken by the tabs and menus, no room for editor, also the font is too big. I would like to shrink the whole screen if possible, to have smaller fonts and tabs etc., but the display is on the maximum resolution already (1366x768). How can I do this? I'm quite new to Linux and gnome, but I'm sure there is a simple solution to my problem.
I found the solution here. It recommends creating a new compact GTK style by pasting this into ~/.gtkrc-2.0: style "gtkcompact" { GtkButton::default_border={0,0,0,0} GtkButton::default_outside_border={0,0,0,0} GtkButtonBox::child_min_width=0 GtkButtonBox::child_min_heigth=0 GtkButtonBox::child_internal_pad_x=0 GtkButtonBox::child_internal_pad_y=0 GtkMenu::vertical-padding=1 GtkMenuBar::internal_padding=0 GtkMenuItem::horizontal_padding=4 GtkToolbar::internal-padding=0 GtkToolbar::space-size=0 GtkOptionMenu::indicator_size=0 GtkOptionMenu::indicator_spacing=0 GtkPaned::handle_size=4 GtkRange::trough_border=0 GtkRange::stepper_spacing=0 GtkScale::value_spacing=0 GtkScrolledWindow::scrollbar_spacing=0 GtkTreeView::vertical-separator=0 GtkTreeView::horizontal-separator=0 GtkTreeView::fixed-height-mode=TRUE GtkWidget::focus_padding=0 } class "GtkWidget" style "gtkcompact"
How to "zoom out" screen windows, everything looks too big?
1,511,781,632,000
If i wish to use old-style interface (like Gnome 2 with global-menu and awn) in Gnome 3, will it be much of customizing and pain, or is just possible with a few clicks?
From the Arch Wiki on Gnome (where Gnome 3 is now in the main repos): GNOME3 comes with two interfaces, gnome-shell (the new, standard layout) and fallback mode. gnome-session will automatically detect if your computer is capable of running gnome-shell and will start fallback mode if not. Fallback mode is very similar to the GNOME 2.x layout (while using gnome-panel and metacity, instead of gnome-shell and Mutter). If you are on fallback mode you can still change the window manager with your preferred one. You can enable fallback mode while having gnome-shell installed by opening gnome-control-center. Go to System Info > Graphics and change "Forced Fallback Mode" to ON. Or, open a terminal and enter: $ GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.session session-name gnome-fallback https://wiki.archlinux.org/index.php/GNOME
Will I be able to use old fashion interface in Gnome 3?
1,511,781,632,000
So far I was used to be able to run tmux via SSH and if I disconnected, the tmux session would still be running when I connected back. So I assumed that the same could be done by starting a tmux session as one user (using GNOME's Terminal application) and then log out of GNOME and reconnect to it, e.g. via SSH. Turns out I was wrong. Interestingly when I do the following as a workaround, it seems to work: ssh $(whoami)@localhost start tmux session disconnect log off from GNOME log back in as another user use SSH to connect to the user from step 1 reconnect to tmux session Alas, I don't get why GNOME seemingly kills all the processes of said user when logging off. Is there a better way than the above workaround? Some GNOMEish counterpart of Bash's built-ins fg/bg/disown, perhaps?
Meanwhile I have researched this further. The pointer with systemd by Nicholas was spot on. Several ways seem to exist to mitigate the issue: 1. logind.conf /etc/systemd/logind.conf and friends contain three relevant settings: KillUserProcesses= (if yes a logoff will cause processes within the scope of the systemd-logind.service(8) session to be killed. KillOnlyUsers= will allow to limit the list of users for which the above setting applies (space-separated list, e.g. adam eve joe jane). KillExcludeUsers= is the opposite of the previous setting an makes users exempt from the effect of KillUserProcesses=yes. So one could set KillUserProcesses=no or only include user gdm in KillOnlyUsers (if using GNOME) or list the users to be exempt from process killing on login session teardown via KillExcludeUsers. You can see sessions with loginctl list-sessions. 2. loginctl enable-linger username You can enable lingering for the current session by executing loginctl(1) as follows within the session scope (obviously replace username for the actual user name or $(whoami)): loginctl enable-linger username The clue can be found from the logind.conf(5) manual page: In addition to session processes, user process may run under the user manager unit [email protected]. Depending on the linger settings, this may allow users to run processes independent of their login sessions. See the description of enable-linger in loginctl(1). 3. systemd-run --scope --user command The manual for logind.conf(5) contains the clue to this one: Note that setting KillUserProcesses=yes will break tools like screen(1) and tmux(1), unless they are moved out of the session scope. See example in systemd-run(1). And indeed looking at the manual for systemd-run(1) we find the following example: Example 5. Start screen as a user service $ systemd-run --scope --user screen Running scope as unit run-r14b0047ab6df45bfb45e7786cc839e76.scope. $ screen -ls There is a screen on: 492..laptop (Detached) 1 Socket in /var/run/screen/S-fatima. This starts the screen process as a child of the systemd --user process that was started by [email protected], in a scope unit. A systemd.scope(5) unit is used instead of a systemd.service(5) unit, because screen will exit when detaching from the terminal, and a service unit would be terminated. Running screen as a user unit has the advantage that it is not part of the session scope. If KillUserProcesses=yes is configured in logind.conf(5), the default, the session scope will be terminated when the user logs out of that session. Tested with systemd 245 (245.4-4ubuntu3.2) +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
How to prevent processes from being killed when I log out of GNOME?
1,511,781,632,000
When I plug/unplug (mount/umount) any usb flash drive, every GUI application is killed and I get back to gnome login page. On the other hand the non-gui applications keep working (e.g those that had been executed through ctrl-alt-f2) I ran rkhunter, and it didn't report anything suspicious. I am running (debian sid): Linux mypc 4.14.0-3-rt-amd64 #1 SMP PREEMPT RT Debian 4.14.13-1 (2018-01-14) x86_64 GNU/Linux GNOME Shell 3.26.2 The log files that seem to be affected are: * dmesg: < [ 1022.224350] NOHZ: local_softirq_pending 80 < [ 1022.224612] NOHZ: local_softirq_pending 80 < [ 1081.212308] usb 2-1: new high-speed USB device number 6 using xhci_hcd < [ 1081.368128] usb 2-1: New USB device found, idVendor=058f, idProduct=6387 < [ 1081.368133] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 < [ 1081.368203] usb 2-1: Product: Intenso Rainbow Line < [ 1081.368206] usb 2-1: Manufacturer: Alcor < [ 1081.368210] usb 2-1: SerialNumber: 12345678 < [ 1081.369361] usb-storage 2-1:1.0: USB Mass Storage device detected < [ 1081.369584] scsi host3: usb-storage 2-1:1.0 < [ 1082.390361] scsi 3:0:0:0: Direct-Access Intenso Rainbow Line 8.07 PQ: 0 ANSI: 4 < [ 1082.391791] sd 3:0:0:0: Attached scsi generic sg2 type 0 < [ 1082.392270] sd 3:0:0:0: [sdc] 62410752 512-byte logical blocks: (32.0 GB/29.8 GiB) < [ 1082.392944] sd 3:0:0:0: [sdc] Write Protect is off < [ 1082.392946] sd 3:0:0:0: [sdc] Mode Sense: 23 00 00 00 < [ 1082.393623] sd 3:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA < [ 1082.397401] sdc: sdc1 < [ 1082.400993] sd 3:0:0:0: [sdc] Attached SCSI removable disk < [ 1082.827871] EXT4-fs (sdc1): recovery complete < [ 1082.835572] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null) < [ 1083.084008] rfkill: input handler enabled < [ 1089.711837] usb 2-1: USB disconnect, device number 6 < [ 1089.761233] blk_partition_remap: fail for partition 1 < [ 1089.761241] Buffer I/O error on dev sdc1, logical block 3702784, lost sync page write < [ 1089.761249] JBD2: Error -5 detected when updating journal superblock for sdc1-8. < [ 1089.761253] Aborting journal on device sdc1-8. < [ 1089.761259] blk_partition_remap: fail for partition 1 < [ 1089.761261] Buffer I/O error on dev sdc1, logical block 3702784, lost sync page write < [ 1089.761265] JBD2: Error -5 detected when updating journal superblock for sdc1-8. < [ 1089.761469] EXT4-fs (sdc1): previous I/O error to superblock detected < [ 1089.761476] blk_partition_remap: fail for partition 1 < [ 1097.258447] rfkill: input handler disabled * /var/log/syslog: < Jan 26 15:54:59 mypc gnome-shell[6947]: Some code accessed the property 'EmailAccount' on the module 'EmailAccount'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. < Jan 26 15:54:59 mypc gnome-shell[6947]: [Email Message Tray] Init version 9 < Jan 26 15:54:59 mypc gnome-shell[6947]: [Email Message Tray] Enabling 9 < Jan 26 15:54:59 mypc gnome-shell[6947]: error: No email accounts found < Jan 26 15:54:59 mypc gsd-rfkill[7071]: g_object_notify: object class 'CcRfkillGlib' has no property named 'kernel-noinput' < Jan 26 15:54:59 mypc kernel: [ 1097.258447] rfkill: input handler disabled < Jan 26 15:54:59 mypc gnome-shell[6947]: [Email Message Tray] No email accounts found,Extension<._getGoaAccounts@/home/stelarov/.local/share/gnome-shell/extensions/[email protected]/extension.js:97:19#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012Extension<._init@/home/stelarov/.local/share/gnome-shell/extensions/[email protected]/extension.js:65:28#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5#012Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32#012enable@/home/stelarov/.local/share/gnome-shell/extensions/[email protected]/extension.js:128:21#012enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:129:9#012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:171:17#012_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:318:9#012_emit@resource:///org/gnome/gjs/modules/signals.js:126:27#012ExtensionFinder<._loadExtension@resource:///org/gnome/shell/misc/extensionUtils.js:184:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012bind/<@resource:///org/gnome/gjs/modules/lang.js:97:16#012collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17#012ExtensionFinder<.scanExtensions@resource:///org/gnome/shell/misc/extensionUtils.js:189:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:320:5#012enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:328:9#012_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:359:9#012init@resource:///org/gnome/shell/ui/extensionSystem.js:367:5#012_initializeUI@resource:///org/gnome/shell/ui/main.js:217:5#012start@resource:///org/gnome/shell/ui/main.js:126:5#012@<main>:1:31 < Jan 26 15:54:59 mypc gsd-sharing[7083]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded. < Jan 26 15:54:59 mypc gnome-shell[6947]: System monitor applet init from /home/stelarov/.local/share/gnome-shell/extensions/[email protected] < Jan 26 15:54:59 mypc gnome-shell[6947]: System monitor applet enabling < Jan 26 15:54:59 mypc gnome-shell[6947]: JS WARNING: [/home/stelarov/.local/share/gnome-shell/extensions/[email protected]/extension.js 1507]: reference to undefined property "Client" < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension "[email protected]" had error: TypeError: NMClient.Client is undefined < Jan 26 15:54:59 mypc gnome-shell[6947]: Some code accessed the property 'PlacesManager' on the module 'placeDisplay'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway. < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com already installed in /home/stelarov/.local/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/screenshot-window-sizer@gnome-shell-extensions.gcampax.github.com will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc gnome-shell[6947]: Extension [email protected] already installed in /home/stelarov/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded < Jan 26 15:54:59 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Activating via systemd: service name='org.gnome.evolution.dataserver.Calendar7' unit='evolution-calendar-factory.service' requested by ':1.17' (uid=1000 pid=7000 comm="/usr/lib/gnome-shell/gnome-shell-calendar-server ") < Jan 26 15:54:59 mypc systemd[6869]: Starting Evolution calendar service... < Jan 26 15:54:59 mypc bluetoothd[680]: Failed to set mode: Blocked through rfkill (0x12) < Jan 26 15:55:00 mypc gnome-shell[6947]: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files < Jan 26 15:55:00 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Successfully activated service 'org.gnome.evolution.dataserver.Calendar7' < Jan 26 15:55:00 mypc systemd[6869]: Started Evolution calendar service. < Jan 26 15:55:00 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.51' (uid=1000 pid=7178 comm="gdbus call -e -d org.freedesktop.DBus -o /org/free") < Jan 26 15:55:00 mypc systemd[6869]: Starting Tracker metadata database store and lookup manager... < Jan 26 15:55:00 mypc dbus-daemon[673]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.153' (uid=1000 pid=7105 comm="/usr/lib/gnome-settings-daemon/gsd-keyboard ") < Jan 26 15:55:00 mypc systemd[1]: Starting Locale Service... < Jan 26 15:55:00 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Successfully activated service 'org.freedesktop.Tracker1' < Jan 26 15:55:00 mypc systemd[6869]: Started Tracker metadata database store and lookup manager. < Jan 26 15:55:00 mypc tracker-store.desktop[7178]: (uint32 1,) < Jan 26 15:55:00 mypc gnome-session-binary[6891]: Entering running state < Jan 26 15:55:00 mypc gsd-power[7067]: gsd_power_backlight_abs_to_percentage: assertion 'max > min' failed < Jan 26 15:55:00 mypc dbus-daemon[673]: [system] Successfully activated service 'org.freedesktop.locale1' < Jan 26 15:55:00 mypc systemd[1]: Started Locale Service. < Jan 26 15:55:01 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Activating via systemd: service name='org.gnome.evolution.dataserver.AddressBook9' unit='evolution-addressbook-factory.service' requested by ':1.61' (uid=1000 pid=7146 comm="/usr/lib/evolution/evolution-calendar-factory-subp") < Jan 26 15:55:01 mypc systemd[6869]: Starting Evolution address book service... < Jan 26 15:55:01 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook9' < Jan 26 15:55:01 mypc systemd[6869]: Started Evolution address book service. < Jan 26 15:55:01 mypc gnome-shell[6947]: GNOME Shell started at Fri Jan 26 2018 15:54:59 GMT+0200 (EET) < Jan 26 15:55:01 mypc CRON[7291]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) < Jan 26 15:55:01 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.56' (uid=1000 pid=7188 comm="/usr/lib/tracker/tracker-extract ") < Jan 26 15:55:01 mypc systemd[6869]: Starting Virtual filesystem metadata service... < Jan 26 15:55:01 mypc dbus-daemon[6889]: [session uid=1000 pid=6889] Successfully activated service 'org.gtk.vfs.Metadata' < Jan 26 15:55:01 mypc systemd[6869]: Started Virtual filesystem metadata service. < Jan 26 15:55:01 mypc tracker-extract.desktop[7188]: Duplicate property or field node < Jan 26 15:55:01 mypc tracker-extract.desktop[7188]: Duplicate property or field node < Jan 26 15:55:01 mypc tracker-extract.desktop[7188]: Duplicate property or field node < Jan 26 15:55:01 mypc tracker-extract.desktop[7188]: Duplicate property or field node < Jan 26 15:55:01 mypc tracker-extract.desktop[7188]: Duplicate property or field node < Jan 26 15:55:01 mypc tracker-extract[7188]: Could not insert metadata for item "file:///home/stelarov/Documents/mine/afm.jpg": Unable to insert multiple values for subject `urn:uuid:1a502c34-2d90-58a6-205b-cbd30009334d' and single valued property `nie:contentCreated' (old_value: '<untransformable>', new value: '<untransformable>') < Jan 26 15:55:01 mypc tracker-extract[7188]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information < Jan 26 15:55:01 mypc tracker-extract[7188]: Could not insert metadata for item "file:///home/stelarov/Documents/mine/sbarberakis_driv_licence1.jpg": Unable to insert multiple values for subject `urn:uuid:457d564e-b265-2729-e171-7c4a41bbcf97' and single valued property `nmm:exposureTime' (old_value: '0.030303', new value: '0.071429') < Jan 26 15:55:01 mypc tracker-extract[7188]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information < Jan 26 15:55:01 mypc tracker-extract[7188]: Could not insert metadata for item "file:///home/stelarov/Documents/mine/sbarberakis_driv_licence1.jpg": Unable to insert multiple values for subject `urn:uuid:457d564e-b265-2729-e171-7c4a41bbcf97' and single valued property `nmm:exposureTime' (old_value: '0.030303', new value: '0.071429') < Jan 26 15:55:01 mypc tracker-extract[7188]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information < Jan 26 15:55:01 mypc tracker-extract[7188]: Could not insert metadata for item "file:///home/stelarov/Documents/mine/sbarberakis_licence_2.jpg": Unable to insert multiple values for subject `urn:uuid:8f82b450-5524-b79f-98af-04032937a833' and single valued property `nie:contentCreated' (old_value: '<untransformable>', new value: '<untransformable>') < Jan 26 15:55:01 mypc tracker-extract[7188]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information < Jan 26 15:55:01 mypc tracker-extract[7188]: Could not insert metadata for item "file:///home/stelarov/Documents/mine/sbarberakis_licence_2.jpg": Unable to insert multiple values for subject `urn:uuid:8f82b450-5524-b79f-98af-04032937a833' and single valued property `nie:contentCreated' (old_value: '<untransformable>', new value: '<untransformable>') < Jan 26 15:55:01 mypc tracker-extract[7188]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information < Jan 26 15:55:02 mypc gnome-software[7179]: plugin appstream took 1.8 seconds to do setup < Jan 26 15:55:02 mypc gnome-software[7179]: enabled plugins: packagekit-refresh, packagekit-proxy, shell-extensions, os-release, packagekit-offline, fwupd, packagekit-local, desktop-categories, systemd-updates, packagekit, packagekit-upgrade, appstream, hardcoded-featured, odrs, desktop-menu-path, hardcoded-popular, generic-updates, packagekit-refine, modalias, rewrite-resource, hardcoded-blacklist, steam, packagekit-history, provenance, icons, provenance-license, key-colors, key-colors-metadata < Jan 26 15:55:02 mypc gnome-software[7179]: disabled plugins: dummy, dpkg, repos, epiphany < Jan 26 15:55:02 mypc gnome-software[7179]: failed to call gs_plugin_add_updates_historical on fwupd: The name org.freedesktop.fwupd was not provided by any .service files < Jan 26 15:55:07 mypc terminator[7329]: Allocating size to GtkVScrollbar 0x5652b4cb2330 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? < Jan 26 15:55:08 mypc terminator[7329]: Allocating size to GtkVScrollbar 0x5652b4cb2330 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? < Jan 26 15:55:08 mypc terminator[7329]: Allocating size to GtkVScrollbar 0x5652b4cb2330 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? < Jan 26 15:55:08 mypc org.gnome.Shell.desktop[6947]: libinput error: libinput bug: timer event5 debounce: offset negative (-2426) < Jan 26 15:55:08 mypc org.gnome.Shell.desktop[6947]: libinput error: libinput bug: timer event5 debounce short: offset negative (-15454) < Jan 26 15:55:10 mypc gnome-shell[6947]: Object St.Widget (0x55e1e53ebc10), has been already finalized. Impossible to get any property from it. < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: == Stack trace for context 0x55e1e36ee000 == < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #0 0x55e1e3a739f8 i resource:///org/gnome/shell/ui/tweener.js:73 (0x7fdeac5ddef0 @ 9) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #1 0x55e1e3a73978 i resource:///org/gnome/shell/ui/tweener.js:105 (0x7fdeac5df230 @ 36) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #2 0x55e1e3a738f0 i resource:///org/gnome/shell/ui/tweener.js:92 (0x7fdeac5df098 @ 52) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #3 0x7ffd299ba3f0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7fdeac5e9cd0 @ 54) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #4 0x7ffd299ba540 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7fdeac5e9d58 @ 1626) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #5 0x7ffd299ba5f0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7fdeac5e9de0 @ 100) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #6 0x7ffd299ba680 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7fdeac5e9e68 @ 10) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #7 0x7ffd299ba770 b resource:///org/gnome/gjs/modules/signals.js:126 (0x7fdeac5e2b38 @ 386) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #8 0x7ffd299ba820 b resource:///org/gnome/shell/ui/tweener.js:208 (0x7fdeac5df808 @ 159) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #9 0x7ffd299ba880 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fdeac5c2bc0 @ 71) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #10 0x7ffd299ba930 b resource:///org/gnome/shell/ui/tweener.js:183 (0x7fdeac5df780 @ 20) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #11 0x7ffd299baa00 b self-hosted:917 (0x7fdeac5ee5e8 @ 394) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: == Stack trace for context 0x55e1e36ee000 == < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #0 0x55e1e3a739f8 i resource:///org/gnome/shell/ui/tweener.js:80 (0x7fdeac5ddef0 @ 82) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #1 0x55e1e3a73978 i resource:///org/gnome/shell/ui/tweener.js:105 (0x7fdeac5df230 @ 36) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #2 0x55e1e3a738f0 i resource:///org/gnome/shell/ui/tweener.js:92 (0x7fdeac5df098 @ 52) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #3 0x7ffd299ba3f0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7fdeac5e9cd0 @ 54) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #4 0x7ffd299ba540 b resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7fdeac5e9d58 @ 1626) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #5 0x7ffd299ba5f0 b resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7fdeac5e9de0 @ 100) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #6 0x7ffd299ba680 b resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7fdeac5e9e68 @ 10) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #7 0x7ffd299ba770 b resource:///org/gnome/gjs/modules/signals.js:126 (0x7fdeac5e2b38 @ 386) < Jan 26 15:55:10 mypc gnome-shell[6947]: Object St.Widget (0x55e1e53ebc10), has been already finalized. Impossible to set any property to it. < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #8 0x7ffd299ba820 b resource:///org/gnome/shell/ui/tweener.js:208 (0x7fdeac5df808 @ 159) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #9 0x7ffd299ba880 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fdeac5c2bc0 @ 71) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #10 0x7ffd299ba930 b resource:///org/gnome/shell/ui/tweener.js:183 (0x7fdeac5df780 @ 20) < Jan 26 15:55:10 mypc org.gnome.Shell.desktop[6947]: #11 0x7ffd299baa00 b self-hosted:917 (0x7fdeac5ee5e8 @ 394) .xsession-errors and ./local/share/xorg/Xorg.0.log didn't change during the crash Any ideas where I should be looking for any clues? Thanks
It might be the places-status-indicator extension. My gnome-shell 3.26.2 session crashes (under Wayland) when mounting/unmounting an external USB disk or when unmounting a disk from an external USB DVD drive. Bugs I found: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/48 https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/44 https://gitlab.gnome.org/GNOME/gjs/issues/33 Running gjs 1.50.3 here. No newer release tag found. Looking at the activity in the issue trackers, this seems to be a quite recent thingy cropping up. UPDATE: 2018-02-07: An update to gjs has been released as 1.50.4. An updated Fedora package arrived yesterday. Plugging and unplugging an USB device works again with activate places-status-indicator extension.
gnome-shell crashes when mounting, umounting usb drives
1,511,781,632,000
I am trying to make a mimetype icon theme for gnome. I have created text-x-generic.svg for all unthemed filetype. But what I am looking for is different icons for unthemed source code (say, R, vala,awk etc) and plain-generic text file. Is this possible? N.B. I have tried text-x-generic.svg and text-generic.svg to differentiate the source code and plain text, but that is not what linux(gnome) understands. reply for don_crissti's Comment Say, I have icons for ruby, and js, but not for C and R. So, file.c and file.r should show the icons for text-x-generic-unthemed-sourcecode icon. And file.dat and filename_without_extensions should show a different icons (text-generic-plaintext). File-wise, they are different, as $ file i.c i.c: C source, ASCII text $ file dos.dat dos.dat: ASCII text So, there should be some way.
Thanks to @don_crissti for the details of how it works. I have gone an alternate way for solving the problem partially. I have put different icons for text-plain and text-x-generic and text-x-script. The text-plain incorporates all the files without extensions and like of .dat, .txt etc; where text-x-[generic,script] is the fallback for others and scripts. I agree this is an ad-hoc solution, but it solves the current problem nonetheless. (The best solution is to make icons for each files in /usr/share/mime/*) A screenshot is added to show how it looks with only text-x-[python,xml,scripts,generic,plain]
different icons for generic source-code and other files
1,511,781,632,000
I'm trying out the GNOME 3.14 live ISO and I would like to test multi touch gestures as well as Wayland session. The promotional video shows multitouch gestures to zoom in and out, show the overwiev, switch workspaces etc. I've tried them but nothing seems to work on my trackpad (CyPS/2 Cypress Trackpad). Also I cannot see a wayland session from the login page. Is that possible to test any (or both)?
As far as i can tell, the gestures support in Gnome 3.14 are limited to touch-screen devices such as tablets, touch-enabled laptops, etc. According to the developers, gesture support for touchpads and trackers will be added in the next version (Gnome 3.16). Relevant links: https://help.gnome.org/misc/release-notes/3.14/ https://wiki.gnome.org/Design/OS/Gestures It is difficult to enter a wayland session from the live ISO image as the gnome-session-wayland-session package is not present in the live image. This has to be installed after which you will have to restart gdm with the session set as gnome-wayland. Detailed instructions are provided in this reddit post.
Multi-touch gestures in GNOME 3.14
1,511,781,632,000
I just installed conky and recognized that my CPU-Frequency changes every second in steps of 10 to 100MHz and between 1000MHz - 2000MHz. Just wondered if this is normal behavior?
This is normal behavior. This behavior is part of the system attempting to conserve power by constantly adjusting the system's CPU speed. Take a look at my answer on this other U&L Q&A titled: How does CPU frequency work in conky?.                                     Conky CPU info                                      What's going on? This feature is called a governor, and the system has various power profiles that it can follow. You're likely using the "powersave" one which will attempt to drive your CPU's speed down to a lower value when there isn't any load on your system. It may seem annoying but it's actually a good thing, it's save a fair amount of power when running Linux on a laptop. Even on desktops that are mostly idle, it can save a fair amount of power over the life of your system, especially if you tend to leave it on most of the time. excerpt CPU frequency scaling is implemented in Linux kernel, the infrastructure is called cpufreq. Since kernel 3.4 the necessary modules are loaded automatically and the recommended ondemand governor is enabled by default. However, userspace tools like cpupower, acpid, Laptop Mode Tools, or GUI tools provided for your desktop environment, may still be used for advanced configuration. Source: ArchLinux Wiki - CPU Frequency Scaling What governors are available? Governor Description -------- ----------- ondemand Dynamically switch between CPU(s) available if at 95% cpu load performance Run the cpu at max frequency conservative Dynamically switch between CPU(s) available if at 75% load powersave Run the cpu at the minimum frequency userspace Run the cpu at user specified frequencies References CPU frequency scaling in Linux with cpufreq CPU Frequency Scaling
CPU Frequency changing every second
1,511,781,632,000
As far as my memory goes, the map 'Desktop' contains the files which are shown on your desktop. However, my desktop is empty, while having files present in the map. Yes, I mostly prefer an empty desktop, but it seems strange to me to be unable having anything on the desktop. And sometimes it just comes in handy to have certain files close. So, my question is: How to enable having files on my desktop again? I am using Debian Wheezy with Gnome 3. Edit: I am not interested in installing different desktop environments, just in a solution to get this working in Gnome3.
Ok, it seems I just didn't search at all places. In Advanced Settings, under the tab Desktop, there is the option 'Have file manager handle the desktop'. In case this is on, the file manager handles the desktop, and with that, the files on the desktop, enabling one to put files onto it. When this is off, as I had it, this is not possible, and one can panic for quite a long time about it.
Why are files in the map 'Desktop' not shown on the desktop?
1,511,781,632,000
I wanted to know whether the gnome keyring gets locked automatically when the screen gets locked, so I checked it with this command: dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" | while read x; do case "$x" in *"boolean true"*) sleep 1s;./gkey-check;; *"boolean false"*) sleep 1s;./gkey-check;; esac done gkey-check is a tiny C program from here Check if Gnome keyring is unlocked? that outputs the state of the keyring. Either 'locked' or 'unlocked'. With the above code it gets executed once the screen is locked or unlocked. When locking and then unlocking the screen I get 'unlocked' two times, which tells me the keyring is not automatically locked. In my opinion it should be default behavior to lock the keyring. Interestingly when I lock the keyring manually before locking the screen, it automatically unlocks the keyring when unlocking the screen again. So it unlocks the keyring automatically, but is not locking it. Why is it not the default behavior to lock the keyring when locking the screen? (Fedora 32 Gnome 3.36)
According to the gnome-keyring security philosophy, it aims to protect the user from "passive attacks", meaning attacks by the attacker who would not have access to user session. It is integrated with PAM so that, by default, the keyring is unlocked upon login and is locked on logout or when the computer hibernates or suspends. The last point is aimed against "cold boot" attacks. Though, such attacks are still possible if the computer is turned off abruptly, i.e. without the user logging out properly. When the access to the computer system is no longer needed, the user can log out. Similarly, when the user locks the screen, the lock screen regulates immediate access to a device by requiring the user entering the password. What is different is that when the screen is locked, the applications which were started by that user in that user's session can continue to operate in the background. Those applications may need access to the gnome-keyring, so locking the keyring on locking the screen may be contrary to what the user intends with gnome-keyring standing in the user's way, which would be against its goals. By default, the keyring should become locked if the computer suspends or hibernates, which is consistent with gnome-keyring's goals because the applications do not run when the computer is suspended or hibernated and the machine is normally woke by the user, who logs into the desktop and so unlocks the keyring. As to your observation that the keyring if unlocked on unlocking the screen, I think it is more related to how gnome-keyring is integrated with PAM. Some unlock routine for gnome-keyring is invoked in both cases: when the user logins and when the user unlocks the screen to make sure it is unlocked after suspension or hibernation. It might be that the same PAM routine is invoked, which doesn't make difference between login and screen unlocking.
Why is the gnome keyring not locked when the screen is locked?
1,511,781,632,000
I'm using Debian Jessie 64-bit with Gnome 3.14.1. My TIF image files are opening by default in the PDF Viewer, don't ask why. In Nautilus, I right-click on the file, click Open With|Other Application... If I right-click "Image Viewer", there is only "Forget association". Where is the "create default association" button? EDIT I've found a ~/.config/mimeapps.list, which contains image/tiff=eog.desktop; It seems that something else is overriding this configuration. EDIT2 It seems to be /etc/gnome/defaults.list, which contains image/tiff=evince.desktop which is the PDF viewer in question. Removing this line solved this problem. The problem remains, though, if there should be a button "add default" to the image above.
[Debian 10.0.0 Buster + GNOME] I see the same deficient behaviour using 'open with' as you describe. Select any file having the MIMETYPE of interest then right-click -> Properties. Select the 'Open With' tab. And there you should see the Set as default button.
How do I create a default file association in Debian with Gnome?
1,511,781,632,000
In GNOME 3.18 Settings > Privacy > Purge Trash & Temporary Files, one can configure the desktop environment to automatically empty Trash "after 30 days". The description here isn't very clear. Is "30 days" supposed to be 30 days being in the Trash, 30 days after last opening/changing the file, or would all files be deleted together after 30 days without any new activity or new file in the Trash?
According to my tests it should be equivalent to empty trash contents every 30 days This is what I did: At 1:45 PM I cleared the trash and set the privacy options to purge after 1 hour and rebooted the machine, just to be sure. I then deleted two (several months old) files and executed a script that creates a file and moves it to trash - every 12 minutes. At 2:42 PM I accessed all files in trash and edited some of them. At 2:45 PM they were all gone. Half an hour later I created two files, moved them to trash and again edited them while being in the trash. At 3:45 PM the trash was empty again. I've concluded the system clears the trash every hour removing the files regardless of their age, the time they've stayed in the trash, their access or modification time. Anyway, you could always ask a question on GNOME mailing list though as you can see from this bug report the devs themselves appear to be quite confused about it: This isn't clear. Does it clear the whole trash:/// contents every X days? Or does it remove trash files older than a certain age? I'm guessing the latter, so I would call it "remove-old-trash-files".
According to what does GNOME purge the trash "30 days later"?
1,511,781,632,000
I would like to use the gnome-tweak tool to remap some of my modifier keys (alt/win/meta/super or how they're all called..) My problem is that I can't really read what the options in the drop down menu are doing (see picture, there is no tooltip which would tell me what is behind those dots). It would be /very/ helpful if someone could help me out some way (e.g. a screenshot of your system if you can read them, some official list or a tip how I could make them readable) EDIT: My gnome version is 3.14.1, OS debian jessie.
This is a known bug and it's already fixed in git. If you don't want to wait until 3.18 will be available in debian repos you have two options: the quick and dirty hack: close tweak-tool and as root, open /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_xkb.py look for a line like renderer.props.max_width_chars = 30 and change the width as per your taste, e.g. renderer.props.max_width_chars = 100 save changes then restart tweak-tool. patch the above mentioned file using the diff from here; result:
Gnome-tweak-tool -- cannot read Typing Options due to ellipsized text
1,511,781,632,000
I want to remap some keys on my keyboard, specifically: page up key to home and page down to end. On previous versions of GNOME 3 I just created a .xinitrc file that contained: cat .xinitrc xmodmap -e "keycode 117 = End" xmodmap -e "keycode 112 = Home" and that was all. On GNOME 3.8.4 this file takes no effect, and I have to manually: bash .xinitrc, moreover xmodmap settings are lost when I restart gnome shell (which I do sometimes because of a GNOME 3 bug), and also are lost spuriously from time to time. What is the proper way to remap keys when using GNOME 3.8?
Sourcing commands during login I've not tried either .xinitrc or .xsession files to do this, but I have done it using a custom launcher that gets run when I login. You can access the dialog that allows you to do this a couple of ways, I usually just launch it from the command line like so. $ gnome-session-properties The GUI looks like this.                      From here you can create your own custom startup launchers and then point them to shell scripts that contain what ever commands you need to invoke. Here I've created my own Dropbox launcher script that gets executed when I log in. Mapping keys to run commands If on the other hand you're looking to create shortcut key combinations that will launch commands, I've successfully been using XBindKeys on GNOME 3.8.4 for this very purpose. My use has been modest but I like to create keyboard shortcuts for Nautilus to launch with certain directories opened. Example You'll need to first make sure the packages xbindkeys is installed. Then you'll need to run the following command, one time only, to create a template xbindkeys configuration file. $ xbindkeys --defaults > /home/saml/.xbindkeysrc With the file created you can open it in a text editor and add a rule like this: "nautilus --browser /home/saml/projects/path/to/some/dir" Mod4+shift + q With the above change made we need to kill xbindkeys if it's already running and then restart it. $ killall xbindkeys $ xbindkeys Now with this running any time I type Mod+Shift+Q Nautilus will open with the corresponding folder opened. Why isn't .xsession or .xinit getting sourced I believe the ultimate issue lies with this post, titled: Quickly Setting up Awesome with Gnome. It discusses methods for getting GDM (GNOME's Display Manager) into loading these files, which to me implies that it doesn't by default. My Fedora 19 system contains this file: /usr/share/xsessions/gnome.desktop which contains these lines: Exec=gnome-session TryExec=gnome-session Icon= Type=Application I believe gnome-session doesn't source your .xsession file by default, and the .xinit is meant to be sourced if you invoke GNOME using startx. Be sure to look through the section titled: with GDM, which shows this in more details. References Detect if mouse button is pressed, then invoke a script or command XBindKeys
Remap keys on GNOME3.8 using xmodmap?
1,511,781,632,000
I'm new to Arch Linux and I've installed Gnome3. When I start it, it just offered me a fallback mode, that's not bad, I mean I've been using it for several days. But I'd like to try the standard mode now. My graphics card is ATI(HD 6470M & 6520G) and I've installed xf86-video-ati but Gnome3 just failed to fallback mode... And after I typed gnome-shell --replace, it shows: failed to create drawable (gnome-shell:1497): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to select the newly created GLX context Error window manager: Unable to initialize Clutter. Also there's nomodeset in this file: grub.cfg, and if I remove it, I could just get a black screen... I really don't know what should I do... how can I solve this problem? Any advice?
KMS (Kernel Mode Setting) is enabled by default in kernels after 2.6.33 (you should be on Kernel 3.0 if you are running an up-to-date Arch). So you should remove nomodeset from your kernel line (the option in grub.cfg). This will prevent the Clutter error. In order to start X successfully, make sure you have added radeon to your MODULES array in /etc/rc.conf ( you will need to rebuild your initramfs image if you have to add it). There is more detail, including troubleshooting options on the Arch Wiki ATI page. For newer cards like yours, you might want to use the catalyst driver. If you must disable KMS use radeon.modeset=0
Gnome3 defaults to fallback
1,511,781,632,000
I'm running Fedora 15 Gnome on a laptop. I can't seem to find an option to toggle if the laptop goes to sleep when the lid closes. There are certain times where I want to put the laptop away or close it but still have it do some crunching on some long running task Is there a place to toggle this option?
Gnome Tweak Tool allows you to change that.
Toggle going to sleep when laptop lid closes?
1,511,781,632,000
Is there a way to add a dot to notifications from specific applications, similar to an update notification? I've switched today to Geary e-mail, and am missing a claws-mail feature that made notifications similar to these system notifications, dot wise speaking, whenever I got new mail. I'm using Gnome 3, Debian. To be clear, I'm talking of the dot appearing to the left of the time at the top bar. The current behavior of the mail client is to balloon the notification message, then hide it in the notification area, so I have to look for it if I missed the message.
Unfortunately this seems to be a "hard" problem. In any case, I found a workaround using the Notifications Alert extension by hackedbellini. You can color (and blink if you want) the date if there is an unread notification. It offers blacklisting or whitelisting if you want to filter which applications this works for.
Adding notification "Dot" in gnome
1,511,781,632,000
I want to disable 'app folders' in the GNOME menu, because I want to have all applications sorted alphabetically. gsettings set org.gnome.desktop.app-folders folder-children [] lets the folders disappear, but after a reboot the app folders were set back to default. How can I make the settings persistent ? What do I have to do ? Or is this just a bug in fedora 24 or in GNOME 3.20 ?
It has to be [''] instead of [] - Thanks and reference to the user zdenek from the ask fedora platform who helped me to figure it out and find the solution : How to make app folders settings permanent? The command is : gsettings set org.gnome.desktop.app-folders folder-children ['']
How can I disable app folders in the GNOME menu permanently?
1,511,781,632,000
I just installed Debian 7.4 in a VMware machine. On first boot, it gave me the following error: GNOME 3 Failed to Load Unfortunately GNOME 3 failed to start properly and started in the fallback mode. This most likely means your systeam (graphics hardware or driver) is not capable of delivering the full GNOME 3 experience. Then, I noticed that 3D acceleration was disabled in my VM settings, so I enabled it and restarted the VM. I still got the same error. I noticed that the default resolution was 800x600 for some reason, so I increased that and rebooted. This time, I didn't get the error, but I still don't see GNOME 3. What am I doing wrong and how can I fix all this and get GNOME working under VMware? I am running this on a mid-2011 iMac with an AMD/ATi Radeon HD 6750M 512MB and 16GB of system RAM, so it certainly can't be due to the host system limitations.
The problem is that the graphics driver xserver-xorg-video-vmware was compiled without 3D acceleration support. This has already been fixed for newer releases, and is in debian jessie. The Solution Recompile the package with 3D acceleration support install dependencies for VMware Tools sudo apt-get install linux-headers-$(uname -r) make gcc Install the dependencies and build the driver package mkdir tmp && cd tmp sudo apt-get install libxatracker-dev sudo apt-get build-dep xserver-xorg-video-vmware sudo apt-get source xserver-xorg-video-vmware -b sudo dpkg -i xserver-xorg-video-vmware*.deb Reboot the machine If that did not work, try these additional steps: mount the VMware tools cdrom and install VMware Tools sudo mount /dev/cdrom /media/cdrom tar xvzf /media/cdrom/VMwareTools-9.6.1-1378637.tar.gz cd vmware-tools-distrib sudo ./vmware-install.pl -d Reboot the machine
How do I get GNOME 3 to work in Debian Wheezy under VMware?
1,511,781,632,000
From time to time my Gnome 3 shell or some parts of it are crashing. Gnome sees a time out and is forcing the user to logout without other possibilities. "Oh no! Something has gone wrong." See superuser for a screenshot. (Fail whale is providing this dialog.) Is there a way to stop gnome from doing that? Since the other programs are still running and working fine... In my case its clearly a timeout, since a scientific analysis eats up all memory and after its done Gnome has a hard time to recover. (I experienced also these crashes, when I was using some (combination of) extensions which are buggy. In that case the probably only or best solution is to not use those extensions... also considering the posts I've read about this.)
Thanks to Ruslan's comment (upvote!) and some testing I probably found a solution for the next real case: Try ALT+F4, or clicking somewhere on the "fail whale" message (to get the focus) and then ALT+F4 If 1 doesnt work: go to a tty and type DISPLAY=:0 gnome-shell --replace and then go back to Gnome and try ALT+F4 again. It should work now. Caution: won't work in newer versions of Gnome. Some background: There are 2 cases. If gnome-session has crashed, ALT+F4 won't work (since it provides the window frames and all of its functions). If gnome-settings-daemon has crashed, then ALT+F4 still works, but your windows might look a bit different.
How to stop gnome from forcing me to logoff / logout?
1,511,781,632,000
I use Debian 8 with Gnome. When I switch workspaces the current active windows looses it's focus (I think this is a default behaviour, rather than a bug). Is there a way to make gnome remember active window on workspace you are leaving and activate it when you switch back. Thanks in advance!
I've just realized that it happens only if I have Google Hangouts conversations opened. They are on every screen and after workspace switch they are focused instead of last window, even if minimized. The solution is to go to Google Hangouts' Chrome extension settings and uncheck the "Keep Hangouts on top of other windows" option.
Activate window that was active before workspace switch when switching back
1,418,899,049,000
The current setup of my displays is as follows: I would like the 2nd Sony display to be a mirror of 3rd Dell display, while the 1st Samsung display should remain as separate secondary display. When I try to change 2nd Sony display into Mirror mode, the button Apply is grayed out: Is there a way to make it the way I want it to be?
Using xrandr Overlapping screens can be achieved by changing their position using the following command: xrandr --output (screen indicator) --pos (x coord)x(y coord) Example: xrandr --output DVI-D-0 --pos 0x0 xrandr --output HDMI-0 --pos 0x768 xrandr --output DVI-I-0 --pos 0x768 This results in DVI-D-0 screen being at the top and HDMI-0 with DVI-I-0 being at the bottom, overlapping. You can find out screen's indicator using: xrandr -q NVIDIA X Server Settings The required behaviour can also be achieved using NVIDIA X Server Settings. Simply drag and drop the screen's box onto each other for them to operate in a mirror mode.
How to set 3 displays as follows: primary, mirror of primary and secondary?
1,418,899,049,000
I'm unable to create a hotspot using network-manager of Gnome. By click on use as hotspot-> Turn on, nothing is happening; I don't get any pop up telling created, failed, etc. No config files regarding hotspot are being created in /etc/NetworkManager/system-connection either. I have installed almost all optional dependencies of networkmanager except for bluez and ppp. The device I'm using is TP link TL-WW722N.
I used create_ap: pacman -S create_ap sudo create_ap -m bridge wifi_interface ethernet_interface test_arch vinod123 Note: You won't be able to browse internet on the host. Maybe we should use NAT rather than bridge. I haven't tried it yet to confirm anything regarading NAT. UPDATE Used NAT and I'm able to browse on the host too. sudo create_ap -m nat wifi_interface ethernet_interface test_arch vinod123
Unable to create hotspot using network-manager of Gnome /Arch Linux
1,418,899,049,000
I'm trying to have transparency working for Gnome Terminal. However this is what I get when I try to edit the profile of gnome-temrinal: there's no background tab where I can set the opacity !? I am using NixOs, this is what I have in my pkgs.nix file: environment.systemPackages = with pkgs; [ # ... gnome3.gnome_terminal gnome3.gconf # I have put it just in case it could help ] Any idea what I should install or configure so as to unlock the background transparency option ?
The GNOME terminal FAQ states: How can I make the terminal transparent? Since version 3.7 (NixOS master currently contains version 3.26) this option has been removed from the Preferences dialogue. You can however still get the same effect by setting the _NET_WM_WINDOW_OPACITY X property, for example with the Devil's Pie or Devil's Pie II tools. E.g., set up Devil's Pie to start automatically with the session, and create the file ~/.devilspie/gnome-terminal.ds with these contents: (if (matches (window_name) "gnome-terminal-window-*") (opacity 90) ) You can also use this shell script that however only works for existing terminal windows and not automatically for newly created ones. - https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_the_terminal_transparent.3F
Background transparency for Gnome Terminal
1,418,899,049,000
I tried googling around for a while and all the info I could find is old.
Two ways of doing it are (1) use gsettings at the command line prompt or use gnome-tweak-tool, a graphical tool that may not be installed by default. Using gsettings: To find the current setting, open a terminal window and type this command at the prompt: gsettings get org.gnome.desktop.peripherals.mouse accel-profile The response will be either 'default', 'flat' or 'adaptive' To change the value to 'flat', gsettings set org.gnome.desktop.peripherals.mouse accel-profile flat You may want to read the man page for the gsettings command. If you want to see all of the values that can be set with gsettings, use this command gsettings list-recursively | sort | more Gnome tweak tool: This tool is not installed by default, but installing it is easy enough. One way to install it is to use the dnf program. Do this at the command prompt as root: dnf install gnome-tweak-tool There are other ways to install the command, too. Use whatever method works for you. Then launch the tool from the desktop icons. The icon for "Tweak Tool" may be found in the "Utilities" group. If you can't find the icon, you can launch the tool from the command line with gnome-tweak-tool. Launch the tool and select "Keyboard and Mouse" in the left hand column. Then you can pick the mouse acceleration profile. Dconf-Editor Okay, there is a third method, but I don't like it. It acts as a GUI to the gsettings command, as far as I can tell. Root can install it with dnf install dconf-editor. Then as a plain user you must navigate to org->gnome->desktop->peripherals->mouse, and there you will find the same 3 possible values.
How to disable mouse acceleration on Wayland? (Fedora 28)
1,418,899,049,000
The Gnome screencast utility may be invoked by the keystroke ctrl + shift + alt + R. I'm delivering RHEL to an environment which frowns upon screen recording, so I need this to be disabled. Googling the topic only turns up excited descriptions of how to grab video, or change the max length parameter. A trawl through dconf-editor gives no clues.
No Gnome ScreenCast functionality cannot be disabled. @BlueManCZ provided a decent answer about masking the keyboard shortcut. However, masking the keyboard shortcut with a blank that doesn't properly disable the screencast function. It's provided by the gnome-shell package as a dbus interface, and its descriptor file is /usr/share/dbus-1/interfaces/org.gnome.Shell.Screencast.xml. The dbus-send(1) and gdbus(1) commands may be used to invoke the Screencast method using hints from that descriptor file: $ gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Screencast \ > --method org.gnome.Shell.Screencast.Screencast \ > "/tmp/test_%d_%t.webm" "{'draw-cursor': <'true'>}" $ ls -l /tmp/test*webm -rw-r--r--. 1 rich rich 270035 Jun 25 17:16 /tmp/test_2020-06-25_17:16:29.webm It's worse: the gnome-shell RPM package doesn't treat its interface descriptors as configs. This can be shown by making a minor change to the file or removing it, then verify the RPM: # rpm -q --verify gnome-shell S.5....T. /usr/share/dbus-1/interfaces/org.gnome.Shell.Screencast.xml The absence of a c flag here indicates that this is not treated as a config; and so will be restored the next time the package is installed (updated, downgraded, etc.)
How to disable Gnome screencast?
1,418,899,049,000
Is it possible to cycle through open windows on a specific gnome3 workspace while showing the windows in their original size, similar to Alt-Esc in MS Windows? I'm aware of the window picker (Alt-Tab) and the desktop view (Super), but that's not what I'm after.
Alt+Escape works in GNOME 3 too. It cycles windows on the current workspace. If it's disabled by any chance you should be able to enable it from the "Switch windows directly" option in Settings > Keyboard shortcuts > Navigation. Unfortunately, this may not work properly with older GNOME versions. It cycles through all the open windows in GNOME v3.26 and v3.28, but switches back and forth between current and last windows in v3.18.
Cycle through open windows in gnome3 workspace without minimizing
1,418,899,049,000
gnome-control-center wont start, when I try to start from the terminal I am presented with: Failed to register: Timeout was reached I have tried reinstalling gnome-control-center via pacman. This has made no changes. I enabled the scale-monitor-framebuffer experimental-feature from dconf, dissabling this has made no differance. I run gnome 3.28 on wayland from the arch repository. My journalctl -b | grep gnome-control-center is: Mar 27 12:59:06 babblebook gnome-control-center.desktop[2325]: Failed to register: Timeout was reached Mar 27 13:02:18 babblebook gnome-software[1377]: failed to rescan: Failed to parse /usr/share/applications/gnome-control-center.desktop file: cannot process file of type application/x-desktop Mar 27 13:03:59 babblebook gnome-control-center.desktop[3607]: Failed to register: Timeout was reached Mar 27 13:04:48 babblebook gnome-control-center.desktop[3743]: Failed to register: Timeout was reached Mar 27 13:08:54 babblebook gnome-control-c[5545]: gnome-control-center: Fatal IO error 2 (No such file or directory) on X server :0. Mar 27 13:13:58 babblebook gnome-control-center.desktop[7748]: Failed to register: Timeout was reached Mar 27 13:15:16 babblebook gnome-control-center.desktop[7949]: Failed to register: Timeout was reached
running killall gnome-control-center and after start the gnome-control-center again works to me I found the solution here: https://www.reddit.com/r/archlinux/comments/879jyl/unable_to_start_gnomecontrolcenter/
gnome-control-center fails to start, timeout
1,418,899,049,000
Since Sles 12 SP2 I'm not able to activate VNC remote access: dbus-launch gsettings set org.gnome.Vino prompt-enabled false dbus-launch gsettings set org.gnome.Vino authentication-methods "['vnc']" dbus-launch gsettings set org.gnome.Vino require-encryption false dbus-launch gsettings set org.gnome.Vino vnc-password $(echo -n 'basis2k'|base64) dbus-launch gsettings set org.gnome.Vino enabled true No such key 'enabled' The key is also missing when trying to activate it with dconf-editor:
Thank you for your suggestion. I managed it by installing x11vnc. To start it i created a systemd unit file "/etc/systemd/system/x11vnc.service": [Unit] Description=x11vnc-Server [Service] ExecStart=/usr/bin/x11vnc -display :0 -auth guess -forever -loop -noxdamage -o /var/log/x11vnc.log -rfbauth /root/.vnc/passwd -rfbport 5900 -shared [Install] WantedBy=graphical.target With the commands systemctl enable x11vnc it will automatically start at system boot. You can also manually start it with systemctl start x11vnc I hope this will work in future SuSE releases.
SLES 12.2 can't enable org.gnome.Vino - No such key 'enabled'
1,418,899,049,000
I connect my laptop to my PC monitor and I use multiple screens with the laptop screen as the primary one. When I move the mouse to the right of my laptop screen, it goes to my PC monitor and when I move it to the left from my PC monitor, it goes to my laptop screen. How can I change this to be so that when I move the mouse up from my laptop screen it goes to my PC monitor, and when I move the mouse down from the PC monitor it goes to my laptop screen in gnome shell? I know that in kde this is configurable. I don't mind to have this tied to some script if it needs to be.
In the search bar type displays. Depending on your version of gnome 3, it will either show two displays that you can drag around to your liking, or it may have a button with "arrange combined displays". Sometimes on nvidia cards the display menu won't do anything. I have had that in the past, what you do is search for nvidia and there should be an application called nvidia x server and the second entry in the menu should be for the display configuration. You can use that to drag around the monitors. Just drag the monitors so that they are stacked instead of horizontal.
Change multiple monitors location gnome shell
1,418,899,049,000
Since upgrading to 12.04, I've randomly experienced this strange phenomenon where my mouse mostly doesn't work and keyboard mostly does. I have not been able to identify a cause for this. Sometimes it will happen minutes after I start-up, other times after the computer has been idle for a while, and other times in the middle of working on something. It lasts until I reboot the computer or restart Gnome. The mouse won't be able to interact with any open windows, but if I do ALT+Tab, I can't keyboard nav through those, I can only click to change windows that way. Same if I press the Windows key; the keyboard remains focused in whatever window was just active but I can click things with my mouse to open new programs. Anyone else experienced this? What might be causing it? Is there a fix?
I have seen such behaviour with wireless mice with low battery... try another mouse? Failing USB mice can also behave erratically, in my experience.
Ubuntu 12.04 Gnome 3 "freezes" randomly - not a normal freeze though
1,418,899,049,000
Funnily, my newly vfat-formatted USB stick is automatically mounted when I plug it in, nautilus sees it, I can access it, I can see the permissions in the nautilus right click dialog (755), I can create and delete files from command line: $ touch/run/mount/christian/XXXX-XXXX/anyfile.txt I can even move files (with Del key) into trash from within nautilus. But when I try to create a new directory,a new file, or copy a file to that stick using nautilus in Arch linux, I just get the error message (German): Fehler beim Kopieren nach »Datenträger 4,0 GB«. Das Ziel ist schreibgeschützt Which means: **Error copying to »Storage device 4,0 GB - Target is read-only« I don't get it. It can't be on OS layer. I can touch, delete, renamy, copy anything on the command line. It must be something GNOME restricts. Is it necessary to be in a group in Arch/GNOME to write to USB devices? And why can I delete files (Move to trash and delete is possible from within nautilus!) I am in the following groups: sys lp wheel network video audio storage power libvirt users
Maybe it is related with this nautilus bug Nautilus says the USB stick is read only when it is not. Restarting nautilus clears the issue (at least temporally): $ killall nautilus
USB stick read-only in GNOME/nautilus?
1,418,899,049,000
I am on arch-linux and just upgraded to the latest version of gnome-terminal. I used to have both the terminal colour and theme set by gnome-tweak-tool having Global Dark Theme turned on. Does anyone know how to change this back without downgrading my terminal. You can see here what the terminal now looks like, and a window that looks correct. I downgraded my terminal to the last one that did not do this, so the problem is somewhere between: gnome-terminal 3.12.0-1 and 3.10.2-1 (3.10.2-1 is the working one, these are from the arch package manager).
Have you set gnome-terminal to use dark theme in the preferences of it?
Why did an update to gnome-terminal break my system-colours and how do I fix it?
1,418,899,049,000
After freshly installing Debian with Gnome 3, I cannot enable desktop icons. I tried to use dconf-editor, but all values were locked. I tried sudo dconf-editor: The option was changeable but had no effect... I also tried gnome-tweak-tool and to no avail. What am I doing wrong?
You need to have at least one of these packages: tango-icon-theme, hicolor-icon-theme or gnome-icon-theme.
Why is Debian Wheezy not displaying desktop icons?
1,418,899,049,000
My question is simple: How do I access the contextual menu from my keyboard inside gnome 3? I've seen other answers reffering to a menu key or button but not all laptops come with that button, mine doesn't. The situation is this: I press home button, dash expands, i press ctrl + alt + tab, I can now browse the left bar with my favorites, then I wish I could open the context menu from here to get the "add to favorites", "open new window", etc, options.
If your keyboard lacks the Menu key, the equivalent key combination is Shift+F10.
How to access contextual menu in gnome 3 dash from keyboard?
1,418,899,049,000
On OpenSUSE 12.1 x86_64, Gnome 3.2 . I want to remove the suspend and hibernate options from the Gnome (Shell) menu as suspend makes no sense IMO for a desktop hibernate has a slight tendency to lock up I've found that I should configure these privileges using polkit. I've dropped a file named 90-disable-suspend.conf ( also tried 90-disable-suspend.pkla ) in /etc/polkit-1/localauthority.conf.d with the following contents: [Disable Suspend] Identity=unix-user:* Action=org.freedesktop.upower.hibernate;org.freedesktop.upower.suspend ResultAny=no ResultInactive=no ResultActive=no However, running pkcheck --action-id org.freedesktop.upower.suspend --process $$ prints nothing and has an exit code of 0 , and the menu entries are still present. AFAICT these are provided by gnome-shell-extension-alt-status-menu package. How can I remove the suspend and hibernate entries from the Gnome Shell menu and leave only Power Off?
The directory /etc/polkit-1/localauthority.conf.d is reserved for configuration files. You should put your file in a subdirectory of /var/lib/polkit-1/localauthority and with extension .pkla. The directory /etc/polkit-1/localauthority should be ok too, but can be modified by updagraded/installed packages, so better to avoid it.
Removing supend and hibernate privileges
1,418,899,049,000
I use Fedora 26 x64 (Gnome 3.24.2) and faced with some kind of ... a bug, as i think (i am not sure). My mouse cursor suddenly moves to the corner of the screen (usually to the top left corner) when i work on my desktop (pc, monitor, mouse, keyboard). This happens few times per hour and makes me really mad. Cursor does not "freeze" just suddenly move to the screen corner. I run different programs on PC for example reading .pdf files or work with Libre Office when this bug take place so i can not find a dependence to any app. Replacing monitor, mouse and keyboard by other devices return me the same result so my peripherals are OK. I think it a software bug (Gnome? Fedora?). So my question is: how to fix this?
I also faced this issue few years back in Kali Gnome. It was driver compatibility issue with Gnome. Try switching to another Desktop Environment. I personally don't like Gnome and KDE because they comes with a bunch of dependencies. I personally use Xfce because it is lightweight.
Fix random mouse cursor movement in Fedora Gnome
1,418,899,049,000
I am running Eclipse Mars on Fedora 24 (Gnome 3.20). What I want to do is to reduce the size of toolbar. What I felt is the size of toolbar is big because of "Quick Access" text box but I tired to hide it also and it didn't work even after I hide that. Any help appreciated.
Reducing size of toolbar is possible. I wrote following CSS file (taking help from google) to modify Toolbar size: style "gtkcompact" { GtkButton::default_border={0,0,0,0} GtkButton::default_outside_border={0,0,0,0} GtkButtonBox::child_min_width=0 GtkButtonBox::child_min_heigth=0 GtkButtonBox::child_internal_pad_x=0 GtkButtonBox::child_internal_pad_y=0 GtkMenu::vertical-padding=1 GtkMenuBar::internal_padding=0 GtkMenuItem::horizontal_padding=4 GtkToolbar::internal-padding=0 GtkToolbar::space-size=0 GtkOptionMenu::indicator_size=0 GtkOptionMenu::indicator_spacing=0 GtkPaned::handle_size=4 GtkRange::trough_border=0 GtkRange::stepper_spacing=0 GtkScale::value_spacing=0 GtkScrolledWindow::scrollbar_spacing=0 GtkTreeView::vertical-separator=0 GtkTreeView::horizontal-separator=0 GtkTreeView::fixed-height-mode=TRUE GtkWidget::focus_padding=0 } class "GtkWidget" style "gtkcompact" # Make tabs smaller style "compact-toolbar" { GtkToolbar::internal-padding = 0 xthickness = 1 ythickness = 1 } style "compact-button" { xthickness = 0 ythickness = 0 } style "compact-default" { xthickness=1 ythickness=1 } style "compact-entry" { xthickness=2 ythickness=2 } class "GtkButton" style "compact-default" class "GtkPaned" style "compact-default" class "GtkEntry" style "compact-entry" class "GtkToolbar" style "compact-toolbar" widget_class "*<GtkToolbar>*<GtkButton>" style "compact-button" In this CSS the line class "GtkEntry" style "compact-entry" reduces the size of toolbar as per CSS style "compact-entry". I saved above file by giving name as .gtkrc-eclipse in home directory. After that I wrote script eclipse.sh containing following command to run eclipse with file that we created. export SWT_GTK3=0 env GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc:/home/snoop/.gtkrc-eclipse /home/snoop/Mars2/eclipse Now, calling script using bash eclipse.sh runs eclipse with our CSS style. And modified Eclipse toolbar looks like this:
Is it possible to reduce size of eclipse toolbar?
1,418,899,049,000
I am using Kali Linux, which uses GNOME 3. I have installed Konsole and added Konsole to Favorites (the second icon from top). However, whenever I launch new window of Konsole, I get separate new icons in the launcher (2 Konsole windows - 2 icons in the bottom). I also cannot move these 2 icons around. I want to make my Konsole windows to have the same behavior with the default Gnome Terminal (the 3rd icon from bottom) where 2 windows are grouped into the same icon. Thank you.
I figured it out. I don't know why but renaming the org.kde.konsole.desktop file in /usr/share/applications into konsole.desktop does the trick cd /usr/share/applications/ sudo mv org.kde.konsole.desktop konsole.desktop
Windows in the same application won't group together in Gnome launcher
1,418,899,049,000
I just moved from Ubuntu to Debian Wheezy and I thought I'd be finally free of all the unnecessary clutter. I guess I was wrong. Here is the situation: In the Downloads folder, Nautilus displays the following message: Personal File Sharing You can receive files over Bluetooth into this folder I'd really like that to go away. My PC is not bluetooth-enabled, and even if it were, I'd figure out a way to share my files without the constant reminder. But I digress. Here's what I've tried so far: The launch preferences dialog doesn't seem to make the notification go away, even when I enable sharing over the non-existent bluetooth device Nautilus' Preferences dialog doesn't present a relevant option Removing the bluez package via synaptic threatens to take the entire Gnome desktop with it. Same with trying to remove gedit or, indeed, nautilus. I feel like having Jules Winnfield over my head saying "I dare you. I double dare you". In my previous Ubuntu installation I managed to remove bluetooth-related packages by switching to Thunar (and getting rid of the entire Unity family). This time I'd like to keep Nautilus if possible. The presence of a bluetooth package is something I can deal with later, what I'm worried about is the notification. Is there any way to make it go away? Update: I decided to manually remove dependencies from the .deb files. Using this for guidance, I removed pretty much all but the most fundamental packages (such as X11 or sound packages) from gnome, gnome-core and task-gnome-desktop. I must have missed something though because removing unwanted packages such as bluetooth still wanted to take away Gnome. Update 2: It turns out neither gnome nor gnome-core are essential to the system. In fact, from what I can tell, their only job is to provide dependencies and recommendations. I went ahead and purged them. This cased aptitude to see a bunch of useful packages as "no longer needed" and required to set the "manual install" flag on the ones I wanted - fair enough. A happy side-effect, bluetooth-related packages are gone. I did get rid of nautilus-share though as @grawity suggested. This did not affect the notification at all. The problem remains. After a re-login, the offending area had vanished.
The package is either nautilus-share or gnome-user-share.
How to get rid of the *Personal File Sharing* bar in Nautilus?
1,418,899,049,000
I have a Dell Latitude E6510 with Slackware 14x86_64, gnome 3.6 (dropline), alps dualpoint touchpad and the latest 3.11.4 kernel. My touchpad is being detected correctly and I have the touchpad settings in the gnome settings but unfortunately the scrolling works only with two fingers. I am quite used to doing that with one finger. Is it still possible to do that?
You should be able to change that in Gnome's Control Center. Run gnome-control-center or choose settings from the menu. Then, go into the 'Mouse & Touchpad' section and switch to edge scrolling in the 'Touchpad' tab: If that doesn't work, you can try and set it manually. Edit or create the file /usr/lib/X11/xorg.conf.d/10-synaptics.conf and make it look like this: Section "InputClass" Identifier "touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "HorizEdgeScroll" "1" Option "MaxTapTime" "300" Driver "synaptics" EndSection
Slackware 14x86_64, gnome 3.6 and alps touchpad scrolling settings
1,418,899,049,000
I'm running Fedora 18 with Gnome 3.6. I've installed Eclipse manually, and added the menu entry with alacarte. My problem is that even though I have "Favorite"'d the menu entry, it keeps duplicating the entry every time a new instance is launched. See screenshot for example: Normally, it would group the new instances under one icon. For some reason my menu entry just won't match up. I have tried to rename the menu entry to what the application's title is when starting up but to no avail. I'm not quite sure what is causing this behavior, but would really love some assistance here.
As don_crissti suggested, I was missing the WMCLASS key within my .desktop entry. Without this, the DM(here beign Gnome3.6) failed to match the windows together with the specified menu entry. The launcher now groups all subsequent instances of Eclipse together now. From what I've read about the .desktop file specification, here, is that the optionally extra key specified during the launching process provides an identifier to match other associated top-level(parent?) windows with: WMCLASS a string to match against the "resource name" or "resource class" hints. If this key is present, the launchee will most likely not send a "remove" message on its own. If the desktop environment detects a toplevel window mapped with this name or class, it should send a "remove" message for the startup sequence. And further on within the document: StartupWMClass=STRING If true, it is KNOWN that the application will map at least one window with the given string as its WM class or WM name hint.
Duplicate instances within Gnome menu
1,418,899,049,000
$ gnome-session --version gnome-session 3.6.2 $ cat /etc/*-release Fedora release 18 (Spherical Cow) I want to customize my gnome-pannel - the bar at the top of the screen. However, right-clicking on an empty area of the bar produces no result (my mouse works fine, mkay). How should I proceed?
You need to install some obscure extensions to modify this panel. Look at https://extensions.gnome.org/ to get whatever suits your needs. Expect all extensions to break after the next Gnome upgrade though. J.
How do I configure my gnome pannel if it does not respond to right-click?
1,418,899,049,000
Rather odd behaviour I've picked up on; after scrolling (a noticeably large amount) in one window, alt-tabbing to another window and then attempting to scroll even just a single line, this new window scrolls by both that single line and the previous window's scrolling action. If done with a large initial scroll, this is very obvious as it'll cause the second page to scroll well beyond a single scroll "tick" as expected with a mouse with a discrete scroll-wheel. Here's a video of me attempting to demonstrate this. To replicate yourself: Open two windows with content long enough to allow noticeable scrolling. Focus one, then alt-tab to the other so that you can easily switch directly between the two with a single "alt-tab". Scroll from the top of one down a sizeable length Switch to the second and attempt to scroll only a single "tick" I've had this happen on my personal laptop, a desktop that I use and also confirmed it occurring for a friend on their desktop. Does this occur for anyone else, and does anyone know if this is intentional?
Late reply but this seems to be a bug in WebKit: https://bugs.chromium.org/p/chromium/issues/detail?id=807187 https://bugs.chromium.org/p/chromium/issues/detail?id=608246
Scrolling is inherited between windows in GNOME 3
1,418,899,049,000
When doing scientific computation, I need many figures, often >50. When I press super, I get Gnome overview where the titles are often not useful etc in Fig. 1. Fig. 1 a small sample of my Gnome overview with many windows where you see that Figure 34: P... is not useful It would be really nice if the complete figure title was popping out when you move your cursor on top of the figure in Gnome overview. OS: Debian 8.5 6 bit Window manager: Gnome 3.14 Linux kernel: 4.6 backports Hardware: Asus Zenbook UX303UA
No supported solution exists in Gnome 3.14. Let's home the coming release of Gnome at Q1 2017 helps the situation.
How to show complete window titles in Gnome overview?
1,418,899,049,000
In Fedora 21 the gnome-tracker stops indexing music files after couple of minutes. My music-library is about 60GB, but mostly due to a lot of flac-files converted from my CDs. I tried tracker-control --reset-hard tracker-control --start and monitored the system-performance. After about 5 minutes the cpu-usage consumed by the tracker-daemons drops to zero and nothing more is indexed. I always end up with the same albums displayed in Gnome Music Player, which makes me suspect that there is something causing the tracker to stop indexing the rest. I had a look at tracker-preferences and all folders are configured as they should. I could not find any log-files, nor error messages. Any hints where I can find those, or what might cause this behaviour?
Thanks to the link provided by don_crissti, I found out that I was actually wrong about the commands. the correct-commands for tracker-controll are the following # reset tracker-control -r #restart tracker-control -s But what was more interesting is tracker-stats [xxx@yyy ~]$ tracker-stats Statistiken: nao:Tag = 1 nco:Contact = 3 nfo:Audio = 11095 nfo:Document = 79 nfo:Executable = 123 nfo:FileDataObject = 14778 nfo:Folder = 1115 nfo:Image = 2222 nfo:Media = 13317 nfo:MediaList = 136 nfo:PaginatedTextDocument = 4 nfo:PlainTextDocument = 75 nfo:TextDocument = 79 nmm:MusicPiece = 11095 nmm:Photo = 2111 nmm:Playlist = 57 rdfs:Class = 235 rdfs:Resource = 16203 tracker:Volume = 1 According to this, all my files have been scanned, so I checked the musicplayer again. After looking at the "Titles"-Tab I saw that 80% of the tracks have no metadata. Well, they do, but the ID3-Tags are obviously not recognized and when I remember right, my files are tagged with ID3 V2 metadata. I couldnt find any reports about the tracker not being able to read that format but it definitely looks like that.
Gnome tracker not indexing all music
1,418,899,049,000
I would really prefer both my computers (with the same mouse, Razer DeathAdder) to have the same exact mouse sensitivity, unfortunately I tweaked one via the control panel and I can not get it to default back. I am always working in a Debian, Gnome3-based, desktop environment. (Currently LinuxMint 17.1). Where are mouse setting stored and how can I back them up and reapply them to new hosts?
Save custom mouse setup You can save/backup/export custom shortcuts/keybindings using just dconf and sed Export dconf dump / | sed -n '/\[org.gnome.desktop.peripherals.mouses/,/^$/p' > custom-mouse-setup.conf # Export The difference with the usual answer is that this will hold on the file the path to the dconf settings, making easier to import, just dconf load / < file. Import dconf load / < custom-mouse-setup.conf # Import Notes Note that dconf only dumps non-default values To backup yo migth want to use custom-mouse-setup-$(date -I).conf Test it's working by resetting to defaults before the import gsettings reset-recursively org.gnome.desktop.peripherals.mouse
How can I copy mouse sensitivity between computers?
1,363,282,852,000
I've got an alias set up to launch my text editor in a way that keeps it local to the specific desktop I'm working on in Gnome Shell: alias geany="geany --socket-file=/tmp/geany-sock-$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}') ${1+"$@"}" I'd like to emulate this with the actual Gnome Shell launcher. As it stands, I have the launcher command set to: geany --socket-file=/tmp/geany-sock-$(xprop -root _NET_CURRENT_DESKTOP | awk '{print $3}') %F Which will point to the open Geany session in the current window if one is already open, but it won't launch a new session. I'll get a spinner, and then it just quits rather than launching the app. Is there any way to do this?
Shell parameter and variable expansion in .desktop files is neither supported nor documented. The usual workaround is (like Avlmd said) to create a shell script and point the .desktop file to that executable. When it comes to launching applications from dash, gnome-shell defaults to activating the application instead of launching it if another instance is already running (as long as you don't use Ctrl + click to actually launch a new instance). gnome-shell behavior can be altered via shell extensions, so in your particular case an extension overriding onActivate from /usr/share/gnome-shell/js/ui/appDisplay.js should do what you want: Create extension folder: mkdir -p ~/.local/share/gnome-shell/extensions/[email protected] Add these two files inside: metadata.json: { "shell-version": ["3.6.3.1"], "uuid": "[email protected]", "name": "Geany Launcher", "description": "Fire up new window if no instance on current workspace" } extension.js: const Clutter = imports.gi.Clutter; const Shell = imports.gi.Shell; const Main = imports.ui.main; const AppDisplay = imports.ui.appDisplay; var _onActivateOriginal = null; function _onActivate(event) { this.emit('launching'); let modifiers = event.get_state(); let cTRL = Clutter.ModifierType.CONTROL_MASK; let rUN = Shell.AppState.RUNNING; let crtW = global.screen.get_active_workspace(); if (this._onActivateOverride) { this._onActivateOverride(event); } else { if (this.app.get_id() == "geany.desktop") { if (this.app.state == rUN && ((modifiers & cTRL) || !this.app.is_on_workspace(crtW))) { this.app.open_new_window(-1); } else { this.app.activate(); } } else { if (modifiers & cTRL && this.app.state == rUN) { this.app.open_new_window(-1); } else { this.app.activate(); } } } Main.overview.hide(); } function init() { _onActivateOriginal = AppDisplay.AppWellIcon.prototype._onActivate; } function enable() { AppDisplay.AppWellIcon.prototype._onActivate = _onActivate; } function disable() { AppDisplay.AppWellIcon.prototype._onActivate = _onActivateOriginal; } Restart shell with Alt + F2, r, Enter. Then enable the extension with gnome-tweak-tool (you might need to restart the shell one more time to enable the extension). This works with gnome-shell-3.6.3.1, if you have another version edit metadata.json and change this line to reflect your shell version (no guarantee it would work with older shell versions like 3.4.x or future versions like 3.8.x): "shell-version": ["3.6.3.1"], Note that the extension only overrides shell behavior, if you (double) click files in Nautilusto open them with Geany it would still activate the primary window on another desktop so you will also have to resort to the shell script trick to get a consistent behavior: open a new window only if no instance is on current desktop otherwise activate the existing one. I don't have xprop installed but this works on my system: Create a new executable somewhere in my $PATH (like /usr/local/bin/djinni): #!/bin/sh geany --socket-file /tmp/geany-sock-$(xdotool get_desktop) ${1+"$@"} Point the launcher (/usr/share/applications/geany.desktop) to the newly created script: Exec=djinni %F
Is it possible to execute a sub-command from a Gnome Shell launcher?
1,363,282,852,000
How does searching work in Gnome 3.8.2? Why when I search 'power' (Press Super key and type 'power' one-by-one) I get LibreOffice Impress? And 'po' returns Document Viewer, Rhythmbox, SElinux Troubleshooter, OpenJDK Policy Tool, Software, Automatic Bug Reporting Tool, even Mouse & Touchpad and Notifications comes before Power, why is this?
I think the new Gnome search functionality still can use some work. It seems to do well suggesting frequently used programs, and separates the actual programs from settings. That said, some guesses for why those results come up for 'po'... took some thinking and Googling. Most were not obvious to me, either. Document Viewer: Postscript Rhythmbox: Podcast SElinux Troubleshooter: Policy? OpenJDK Policy Tool: Policy Software: Pretty broad... maybe searches software for 'po', or could be "Popular" Automatic Bug Reporting Tool: maybe just 'po' in "Reporting"? Mouse & Touchpad: Pointing device, Pointer, etc. Notifications: Popup?
How searching works in GNOME 3.8?
1,363,282,852,000
I want to install a GNOME extension into Fedora 19. I've been using this command: $ yum install gnome-shell-extensions-alternative-status But it wasn't able to find the package. I tried adding this to the repository file, but it doesn't seem to work. [fedora-gnome-shell-extensions] name=Modify and extend GNOME Shell functionality and behavior baseurl=http://repos.fedorapeople.org/repos/hien/gnome-shell-extensions/fedora-$releasever/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=0
I wouldn't be using that repository with Fedora 19. Those packages were built for Fedora 15. excerpt from the repos page gnome-shell-extensions Modify and extend GNOME Shell functionality and behavior hien fedora-15 I found the RPM you're looking for here in the Development repository, specifically here for the gnome-shell-extension-alternative-status-menu package. I do not have a F19 install to confirm this but I believe you need to either enable the "Development" repository or the "Update-Testing" repo. A command like this would do it: $ sudo yum-config-manager --enable development $ sudo yum-config-manager --enable updates-testing
How to install gnome-shell-extensions in Fedora 19?
1,363,282,852,000
I am working with gnome 3.28.2 on CentOS 7.6 and have been trying to set global values for certain parameters in the dconf key files as explained here and using the screensaver example here along with locking the settings explained here I have created a file /etc/dconf/db/local.d/00-configuration_gnome with the following contents # These work [org/gnome/desktop/lockdown] disable-user-switching=true disable-lock-screen=true [org/gnome/desktop/screensaver] user-switch-enabled=false lock-enabled=false lock-delay=uint32 0 [org/gnome/desktop/session] idle-delay=uint32 0 # These do not work/get taken into account [org/gnome/desktop/interface] clock-show-seconds=true [org/gnome/SessionManager] logout-prompt=false Certain parameters are taken into account like described in the gnome documentation but others seem to be ignored. I can change the values via the command line with commands such as gsettings set org.gnome.SessionManager logout-prompt false followed by dconf update but ideally, these values would be set automatically (during installation of the OS for example and not ran in a script during login for each individual account). Any ideas as to what my problem is? And I would like the logout-prompt=false value to be applied to the gdm user as well. From what I understand it is the account used at the regular login screen but I am having trouble doing that too.
If you look at the schema definition (found in /usr/share/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml): <schemalist gettext-domain="gnome-session-3.0"> <schema id="org.gnome.SessionManager" path="/org/gnome/gnome-session/"> <key name="auto-save-session" type="b"> <default>false</default> .... You can see that the schema ID is org.gnome.SessionManager, but the path is /org/gnome/gnome-session. That's kinda confusing, but it looks like you need to use the path in the dconf command and the ID in the gsettings command. $ gsettings get org.gnome.SessionManager logout-prompt true $ dconf write /org/gnome/gnome-session/logout-prompt false $ gsettings get org.gnome.SessionManager logout-prompt false So, you'd want your dconf files to have [org/gnome/gnome-session] logout-prompt=false Also, if you want to set the dconf settings for GDM, place them in /etc/dconf/db/gdm.d/ instead.
Certain parameters in dconf keyfiles not being taken into account/used
1,363,282,852,000
The gio shell command replaces the gvfs- suite for working with local and remote files on Gnome systems, using Gio over the Gvfs backend. For the most part it's quite effective, but I'm having a lot of difficulty understanding its tools for examining the boolean attributes in the thumbnail namespace. gio info $URI will display all of the attributes for a supported file URI or local file path. gio info -a $selection $URI allows attribute namespaces or individual attributes to be queried. Mostly that works fine: % gio info -a access test.png uri: file:///var/tmp/test.png attributes: access::can-read: TRUE access::can-write: TRUE access::can-execute: FALSE access::can-delete: TRUE access::can-trash: FALSE access::can-rename: TRUE % gio info -a thumbnail test.png uri: file:///var/tmp/test.png attributes: thumbnail::path: /home/ferd/.cache/thumbnails/large/0953b0d1f71f9066deee9ac3fb72243b.png thumbnail::is-valid: TRUE But if I try to query individual attributes, things get wonky once I'm in the thumbnail space: % gio info -a access::can-read test.png uri: file:///var/tmp/test.png attributes: access::can-read: TRUE % gio info -a thumbnail::path test.png uri: file:///var/tmp/test.png attributes: thumbnail::path: /home/ferd/.cache/thumbnails/large/0953b0d1f71f9066deee9ac3fb72243b.png % gio info -a thumbnail::is-valid test.png uri: file:///var/tmp/test.png attributes: % gio info -a thumbnail::failed test.png uri: file:///var/tmp/test.png attributes: What's going on here? Why can't I query attributes like thumbnail::is-valid or thumbnail::failed individually? No matter what I do, gio info always produces no attribute output, whether the value is TRUE, FALSE, or if the attribute is absent entirely, which makes it awfully hard to determine which of those it is. (Obviously I could query -a thumbnail and parse the output, this question is more about the confusing behavior of gio than about how to extract the values in question.) I'm on a Fedora 26 machine, currently, with Gnome 3.24.3 and /usr/bin/gio from glib2-2.52.3-2.fc26.x86_64. The filesystem is ext4, and behavior is exactly the same for files in /home/ferd/Pictures as in these /var/tmp/ examples. Update At Sebastian's suggestion, filed as gnome bug #791325.
This is not really an issue with the gio command, but rather how this attribute is generated. The code where the attribute is generated is found in glib/gio/glocalfileinfo.c. This line is responsible for behavior you are seeing. It causes the is-valid attribute to only be generated if the query includes the path as well. I don't know if this is done intentionally, because the validity of the thumbnail is connected to its path or if this is just bug. You can file a bug report and bring this to the attention of the developers.
How do I query individual thumbnail-namespace attributes with the gio command?
1,363,282,852,000
You may tell me I'm a perfectionist, but I am struggling with the following: I have two applications that do not come from the repository for which I have problems with the application icon. I am currently using the Debian 9 with Gnome 3.22.2 with the Moka icon theme (sorry for the missing link, I may only use two of them). So I was successful in creating the desktop file such that the icon is taken from the correct icon directories (with appropriate size) from \usr\share\icons\Moka, but upon opening of the application a different icon is introduced in the Gnome dash and upon alt-tab. An example of the actual and the displayed icon is shown below: - Application icon in my favorites, desktop, etc., which is how it should be. - Icon shown after opening the program and on Alt-Tab. My problem considering the shown icon is with both its low res, and that it is not recognized as one and the same. Same happens for the the other application, but I consider one example sufficient. I am familiar with the similar post on this forum named: "Lowres application icon on window switching (alt-tab)" but unfortunately this does not provide a solution. I also tried placing a high-res icon in /usr/share/pixmaps but this does not provide a solution. Even specifying a direct link to a high res figure in the .desktop does not change the 'alt-tab' icon. Does anyone know how to overcome/fix this?
The problem is that gnome-shell needs to be able to associate the window with the .desktop file. In applications that don't use the GtkApplication API (i.e. most non-GNOME applications) this is done by matching the WM_CLASS of the window with the corresponding .desktop file. So you either have to change the name of your .desktop file to match the WM_CLASS of the application windows or you have to specify a StartupWMClass key in your .desktop file that contains the WM_CLASS that should be matched to this .desktop file. You can find a window's WM_CLASS using xprop and then clicking on the window. It is the second entry in the list. Otherwise gnome-shell uses the icon specified by the window itself, which is probably the low resolution icon you are seeing.
Modify desktop application icon after progam opens e.g. in alt-tab
1,363,282,852,000
I want to lower mouse sensitivity in gnome3 desktop, but when I open appropriate settings panel I see that settings are at already lowest setting: Is there any way to fix it?
Basing on responses from: http://www.rdoxenham.com/?p=288 and https://superuser.com/questions/259216/disabling-mouse-acceleration-in-x-org-linux you can use xinput command. Find your device xinput Virtual core pointer id=2 [master pointer (3)] ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)] ↳ A4TECH USB Device id=12 [slave pointer (2)] ↳ A4TECH USB Device id=17 [slave pointer (2)] .... You need to find a device that is named like your pointing device (in my case A4TECH USB Device). Find properties of your device You may try to use: xinput list-props "A4TECH USB Device" In my case I had to use numeric id's since (have no idea why) my device was apperaing twice xinput list-props 12 Set properties I needed to set "Device Accel Constant Deceleration", xinput --set-prop 17 "Device Accel Constant Deceleration" 1.7 Make a script This must be executed on x start, so make script out of it and add it to your gnome session.
How to lower mouse acceleration if it is allready at lowest setting in gnome3 config
1,363,282,852,000
I'm running debian wheezy ( testing ) and after some upgrades my gnome 3 is broken. It's not exactly broken, but it's completey different. Almost like it's no longer actually gnome 3; most of the UI bells and whistles are gone and it mostly look like gnome 2. Anyway, how does one start troubleshooting such a thing? I looked in /var/log/gdm3 and didn't see any glaring errors; I did see some minor errors but they seem to be in the older logs too.
For me this sounds most likely that your graphics card drivers are not installed correctly. Could this be a possibility ? Because then GNOME would start in "Fallback mode" which looks most likely like Gnome2. Check /var/log/gdm3/:0.log and /var/log/Xorg.0.log for errors, particularly stemming from the graphics card driver.
Gnome 3 "broken" after upgrades, kind of looks like gnome 2 . . .?
1,363,282,852,000
Upgrading from a OpenSUSE 12.1 installation with a working FreeNX server, I hit an issue with the FreeNX server on OpenSUSE 12.2, running Gnome 3. Whenever I connect, I pass the dreaded connection phase (where I've hit most of my issues with FreeNX), and see the client prepare the display, and even see a bit of the display load. But, immediately after this, the NX client will close and show me the error: The connection with the remote server was shut down. Please check the state of your network connection. Now, I know my connection, to the network, at least, doesn't have any problems. It seems like the initialization of the X session in the FreeNX connection crashes the display. The question: How do I successfully connect with an NX client to my FreeNX server?
From the OpenSUSE forums, I found that the new openSUSE 12.2 Gnome 3 GUI uses fancier features, which cause the GUI to crash over the network. To fix this, I have to insert an option into the AGENT_EXTRA_OPTIONS_X option in my /etc/nxserver/node.conf file. My original node.conf file actually had nothing in it (no un-commented lines), but I found a commented line for AGENT_EXTRA_OPTIONS_X on line 548. I changed it to: AGENT_EXTRA_OPTIONS_X="-norender" And this now enables me to see a GUI successfully when I connect with my NX client to my FreeNX server.
FreeNX closes display immediately after successful connect in OpenSUSE 12.2
1,363,282,852,000
I have made it to get a nice gnome shell environment running under my new gentoo. It's all fine, except there are a whole bunch of programs built against gtk2 (Chromium, Pidgin, Thunderbird, Firefox), and they look strangely out of place. The ui of the gtk2 parts looks rather like windows 95 than gnome 3. I have not yet found out how to configure the controls and icons. The instructions found on the gnome theme sites seemed to be ignored by my gentoo system or were made for Ubuntu. Any help?
After the hint from sr, it was quite easy to solve this. I just chose my current gtk3 theme and linked it: $ ln -s /usr/share/themes/Clearlooks/gtk-2.0/gtkrc .gtkrc-2.0 And then my gtk2 ui's looked nice again.
Gtk2 Themes under Gentoo's Gnome 3
1,363,282,852,000
I've started using the Gnome 3 packages that just came through the Debian testing repositories, and encountered a problem. Hitting the Super/Meta/Windows key would not open "Activities" menu. Other shortcuts (like Alt+Tab, etc.) work as expected. Can you help me find the reason (and a solution)?
Finally I found the reason and a solution: In Settings > Region and Language > Layouts > Options there is an option "Behaviour of Alt/Windows-Key". For some reason this was not on "Default" per default (hope you get me). After I put this option to "Default", everything works as expected. Thank you!
Meta key does not open "Activities" menu in Gnome 3
1,608,602,343,000
With Xming I can run an X11 server inside a window and then run mate-session to get a very fast remote desktop inside a window. On Linux, I'm not entirely sure how to X11 forward mate-session to just one window. I know how to replace my entire desktop with the tunneled desktop. I know how to do it to a TTY, I know how to do it for individual programs and I know how to do it inside a virtual machine. It just seems strange that I wouldn't be able to do it in a minimize-able window, like you would with a remmina VNC connection. Is there a program that provides an x11 xserver inside a window? or is there a good way to do that with a chroot? or something else similarly efficient. I'm running Fedora 23.
One of the questions you ask is: "Is there a program that provides an x11 xserver inside a window?" It sounds like Xnest might answer that question. Xnest is "A nested X server that runs as an X application". I know that I've used it in the past to show me unusual window managers that I had compiled from source, and didn't want to have crash my whole system. I'm not sure it's the answer to your problem, however.
Xming for Linux? (Aka run a display/x11 server inside a window)
1,608,602,343,000
What I'm trying to do I'm using a Logitech MX Revolution mouse, which has a button below the scroll wheel mapped to search, which I remapped to middle click. For doing so, I had to remap XF86Search to middle click using xbindkeys, which works fine – when I change the "Search" hotkey to something else, for example Ctrl+XF86Search in the Gnome Settings. Now I want another mouse button to invoke the Gnome Activity screen (the one with the overview of open windows). Alt+F1 also opens this view (or Ctrl+XF86Search now would do it, and even just pressing the super key). Invoking the Gnome Activity screen I try to send Alt+F1 using /usr/bin/xvkbd -text "\[Alt_l]\[F1]" but it seems Gnome 3 does not fetch this key (which is not totally unexpected, as xvkbd -text sends it to the focussed window). What choices do I have do invoke the Gnome Activity screen?
I found this AskUbuntu Q&A titled: Bind a mouse button to show the Gnome Shell Activities overview. The OP from that Q&A posted that this solution worked for him/her using xbindkeys: "xte 'keydown Alt_L' 'key F1' 'keyup Alt_L'" release + b:10 There were other suggestions in that Q&A as well, so if the accepted answer doesn't work, then perhaps one of the others would suit your needs.
How to invoke Gnome 3 activity screen via mouse button?
1,608,602,343,000
Is there a trick to launching these applets via the command line directly vs. having to launch the GNOME Control Center (aka. Settings) and then navigating to them through the UI?
You can access the applets under GNOME Control Center by appending their names to the command: $ gnome-control-center <applet name> Examples Launching the sound applet? $ gnome-control-center sound      Launching the printers applet?      What are all the names of these applets? $ gnome-control-center -l Available panels: background bluetooth color datetime display info keyboard mouse network notifications online-accounts power printers privacy region search sharing sound universal-access user-accounts wacom
How can I launch the sub applets in the GNOME's Control Center (v3) directly from the command line?
1,608,602,343,000
With classic Gnome, if one had two monitors, one could set up "separate X sessions" for each monitor. In this configuration, each monitor had a separate user login session and application windows were captive to the X session they were launched from. Is something similar possible with Gnome 3? If so, how do you go about setting it up?
This has nothing to do with the desktop environment you are going to use an this answer remains valid. Basically you need to gather the names Xorg uses/gives your devices and monitors, then you combine devices and monitors to "seats". In xorg.conf terminology seats are "ServerLayout" sections. Then you reconfigure your display manager to start multiple instances, each using a different ServerLayout. The ServerLayout sections will look something like this: Section "ServerLayout" Identifier "seatX" Screen X "ScreenX" 0 0 InputDevice "MouseX" "CorePointer" InputDevice "KeyboardX" "CoreKeyboard" EndSection Section "ServerLayout" Identifier "seatY" Screen Y "ScreenY" 0 0 InputDevice "MouseY" "CorePointer" InputDevice "KeyboardY" "CoreKeyboard" EndSection and to reconfigure gdm, its configuration file will look something like this [servers] 0=Standard0 1=Standard1 ... [server-Standard0] name=Standard server command=/usr/X11R6/bin/X -novtswitch -sharevts -layout seatX [server-Standard1] name=Standard server command=/usr/X11R6/bin/X -novtswitch -sharevts -layout seatY [note]: shamelessly copied from the Gentoo Wiki
How can I set up multiseat/separate X sessions with gnome 3? [duplicate]
1,608,602,343,000
I've just installed fedora 17 and gnome-tweak-tool, but it crashes everytime and I can't change the theme. Any other way to do that?
You can do that with dconf-editor or in terminal. Install gnome-shell-extension-user-theme (if you haven't already). Enable gnome-shell-extension-user-theme: dconf-editor: expand org > gnome > shell then edit the value field for the enabled-extensions key, adding '[email protected]'to the existing elements (if any) alternatively, in terminal, run: gnome-shell-extension-tool -e [email protected] Then enable your shell theme (e.g. Adwaita Sky): dconf-editor: expand to org > gnome > shell > extensions > user-theme and change the value for the name key to Adwaita Sky or, in terminal, run: gsettings set org.gnome.shell.extensions.user-theme name "Adwaita Sky" A shell restart might be required after these operations: Alt+F2 >> r
Install Gnome-Shell theme without gnome-tweak-tool?
1,608,602,343,000
Successfully installed Gnome3 on archlinux (not the fallback mode). EDIT: My wired internet connection works fine. However, I can't see the network icon (or wireless networks) in the tray. When I open Network Connections from Gnome3 the Wired and Wireless tabs are empty. I think I tried everything I could think of: putting network-manager in DAEMONS in rc.conf and relogging, but nothing happens. installing network-manager-applet Googling, but threads like these leave much to be desired. Any help appreciated.
As always, the problem was with no finishing the reading of documentation. I needed to actually run NetworkManager (gnome automatically picks it up), and disable archlinux's network daemon. It's all here: https://wiki.archlinux.org/index.php/NetworkManager#Configuration NOTE: You can start daemon manually by running: sudo /etc/rc.d/networkmanager
No wireless in Archlinux Gnome3
1,608,602,343,000
Today I installed Fedora 15 in a VBox VM to try out Gnome 3. After installing the guest extensions almost everything works fine. Except for the slow response time in fullscreen mode (HOST+F). By that I mean textareas responding only after I've typed whole words, window dragging won't register etc. However in maximized window mode everything runs smoothly. Anyone have a similar experience? What can I do? VirtualBox guest settings are as following. 1,5 GB RAM 1 CPU core (no limitations, 2,2Ghz host) 128 MB video memory 3d accel enabled 2d accel disabled (it says this is only for windows guests) rest is defaults I also have a graphics card that uses nvidia's optimus technology but I doubt that this is the problem. Host OS is Windows 7 Professional
You can solve this problem by right clicking on the VirtualBox menu item and selecting the "Run with nvidia graphics" option. I'm not exactly sure what it's called in the English version of Windows because I'm using a different language. I have Optimus as well and I've had the same problem as you when I ran it with the Intel graphics. It appears to be a problem with the Optimus technology afterall.
Slow response time with Gnome shell in Virtualbox fullscreen mode
1,608,602,343,000
Since some recent upgrades on my Debian system, I experience the mouse pointer disappearing in front of Gnome backgrounds, meaning the top-bar, the desktop and system window. As soon as the pointer is moved in front of a window of any application it appears again. I did some research on this topic and did not find more then it might have to to with one of the following packages: xserver-xorg-input-mouse installed version: 1:1.9.3-1 and or: mutter installed version: 3.30.2-9 Some more system info: Operating System: Debian GNU/Linux bullseye/sid Kernel: Linux 5.2.0-2-686-pae Architecture: x86 GNOME shell: 3.30.2 Does anyone know how to solve this problem?
Use a different kernel version. It looks like 5.1 or 5.3 should be OK. https://gitlab.gnome.org/GNOME/mutter/issues/772#note_600786 As a temporary workaround, when the cursor disappears, perform some action that changes the cursor. Some people use the screenshot shortcut. I press the windows key, and move the invisible cursor into/across the search text box. The cursor will then re-appear. https://gitlab.gnome.org/GNOME/mutter/issues/772#note_600745 Be patient waiting for the above links to load. They appear to rely on client-side templating (sigh), and there are too many comments.
Debian 'bullseye' - mouse pointer disappears on GNOME3 backgrounds
1,608,602,343,000
I have a computer running centOS 7 and Gnome 3.2 and everytime the computer boots it boots with airplane mode enabled and the ethernet interface disabled. I've been looking for a solution but I cannot find a proper way to disable it. I've noticed that both the Airplane mode and the ethernet interfaced can be enabled at the same time. Basically what I want is for my computer to be connected to the internet as soon as it boots. Thanks for the help.
This helps in debian gsettings set org.gnome.settings-daemon.plugins.rfkill active false
Permanently disable airplane mode gnome 3.2
1,608,602,343,000
I have GNOME Shell 3.16.4 installed on my Ubuntu 15.10 machine. However I get the old boring Unity like file manager. Here's a picture of my file Manager. See the top bar is like Ubuntu and button are on the left. However, I want this my top bar completely like one below. Where you get to type the path. Also, you get the close, maximize and minimize button on the right and only back-forward buttons on the left.
With some simple command in your terminal: To show the pathbar: gsettings set org.gnome.nautilus.preferences always-use-location-entry false To change the button layout: add the values at the left side of : for buttons on the left side close,minimize,maximize: gsettings set org.gnome.desktop.wm.preferences button-layout "close,minimize,maximize:" add the values at the right side of : for buttons on the right side :minimize,maximize,close gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close" or mix them close:minimize,maximize gsettings set org.gnome.desktop.wm.preferences button-layout "close:minimize,maximize"
customizing file manager's top bar in gnome [duplicate]
1,608,602,343,000
Conky is a system monitor software. I want to display the directory size of /usr and /var. Unfortunately I did not found any conky command so i made my own. /usr $alignr${exec du -sch /usr | head -n1 | awk '{print $1}'} /var $alignr${exec du -sch /var | head -n1 | awk '{print $1}'} It works as expected for my /usr directory. The same command for the /var directory messes up my syslog: #cat /var/log/syslog | tail -n 8 Oct 27 15:17:31 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/systemd-private-3f1797004e2e4fceacc1baad91af9e67-cups.service-LhZ0Wi“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:31 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/pulse-PKdhtXMmr18n“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:32 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/.xrdp/xrdp-sesman-yqTUiU“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:32 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/.xrdp/xrdp-5M2L0E“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:32 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/systemd-private-3f1797004e2e4fceacc1baad91af9e67-colord.service-3EtIBW“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:32 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/systemd-private-3f1797004e2e4fceacc1baad91af9e67-rtkit-daemon.service-TgoTcd“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:32 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/systemd-private-3f1797004e2e4fceacc1baad91af9e67-cups.service-LhZ0Wi“ kann nicht gelesen werden: Keine Berechtigung Oct 27 15:17:32 Hans gnome-session[1155]: du: das Verzeichnis „/tmp/pulse-PKdhtXMmr18n“ kann nicht gelesen werden: Keine Berechtigung The Problem is that I need superuser rights to execude the du command. Is there another way to get the directory size of the /var directory without permission problems for no-root-users? Debian 8.2(jessie) | Linux 3.16.0 | GNOME Shell 3.14.4 | Conky 1.9.0
Yes, you can give your user the right to run sudo du /var with no password, I'll show you how later. However, do you really want this? There are very few files and subdirectories that du needs root access to. The difference is reported size between sudo du /var and du /var is tiny (at least on my system): $ sudo du -s /var/ 1830596 /var/ $ du -s /var/ 1826040 /var/ Those both resolve to exactly the same number of gigabytes: $ sudo du -hs /var 1.8G /var $ du -hs /var 1.8G /var So, is such a small difference really worth it? It seems to me that a far simpler solution would be to just ignore the error messages by sending them to /dev/null: /var $alignr${exec du -sh /var 2>/dev/null | awk '{print $1}'} Note that I removed the head since that was only needed because you were using the -c option to print the total. Since du is quite heavy and I doubt you really need this run every few seconds, you could also tell conky to only run the command once a minute: /var $alignr${execi 60 du -sh /var 2>/dev/null | awk '{print $1}'} If you feel that you really, really need the precise size of /var, run sudo visudo and add this line: schmiddl ALL=NOPASSWD:/usr/bin/du -ch /var Once you save the file, the user schmiddl will have the right to run sudo du -ch /var without a password, so you can add this to your .conokyrc: /var $alignr${execi 60 sudo du -sh /var | awk '{print $1}'}
directory size in conky
1,608,602,343,000
I Downloaded Debian 2 weeks ago I got 7.6. The thing is that it has Gnome 3.4.2, I am aware that it probably won't support Gnome 3.10 and above. I won't put add the Ubuntu repositories, because I don't think that is a safe thing to do, despite the fact that it might work. So is there a way to get Gnome 3.6 or 3.8 for my Debian system?
Newer versions of Gnome 3 are available for Debian Testing. To enable it, you need to alter /etc/apt/sources.list The following lines will backup your /etc/apt/sources.list, update it accordingly and upgrade Debian to testing. # cp /etc/apt/sources.list{,.bak} # sed -i -e 's/ \(stable\|wheezy\)/ testing/ig' /etc/apt/sources.list # apt-get update # apt-get --download-only dist-upgrade # apt-get dist-upgrade
Debian 7.6 Wheezy Gnome upgrade
1,608,602,343,000
Brief background information: I just installed Fedora 18 with Gnome 3.6.3.1 on my computer. It is connected to a Windows share (CIFS) containing music, which I play using Clementine. If I suspend the computer while Clementine is playing a song from the CIFS mount, upon resuming, it (Clementine) hangs. Eventually, if I try to restart/power off, the whole computer hangs. My workaround to this is to stop playback upon suspension. My problem: I've created a script in /usr/lib/systemd/system-sleep to stop playback (using MPRIS). The script successfully runs before suspend if I execute systemctl suspend However, it does not run if I click on Suspend from the User menu in Gnome3. Doing some legwork, I uncovered that Gnome3 relies on UPower, which itself, it seems, simply uses DBus to issue the "Suspend" command. I'm not savvy enough to follow the trail any further, but from what I can see, the script never gets executed. My question: How can I make the Suspend menu item in Gnome3 use systemd to call my script?
After doing some more research, it seems like UPower should indeed use systemd when it is detected. But for some reason, it does not. I am currently looking into this, but as a temporary workaround, I directly edited the relevant lines in userMenu.js and powerMenu.js as follow: Replace (comment out) all the lines that call suspend: this._upClient.suspend_sync(null); By the following line: Util.spawn(['systemctl', 'suspend']); Also add the following line in powerMenu.js near the top: const Util = imports.misc.util;
How to suspend from Gnome3 using systemd
1,608,602,343,000
I have been installing several version of Komodo editor. (The installation consist of extracting a .tar.gz archive and then running an .sh script as root.) Yesterday I installed Gnome 3. Now I see in "Application" section of Gnome Shell both "Komodo Edit 7" and "Komodo Edit 5" despite of only "Komodo Edit 7" is installed. How to remove the old icon?
This is likely because Komodo Edit sticks a .desktop file somewhere that Gnome Shell picks up, and it's not getting removed (probably for lack of an "uninstall" functionality). So, you'll have to dig through your folders a little bit to try to find where it's hiding. Here are some of the common places that I know of: ~/.local/share/applications /usr/share/applications ~/desktop ~/.wine/ (if it's a Wine program, it might be somewhere here) According to Gnome's documentation, 1 and 2 are the most likely places.
Remove old icons in Gnome 3
1,608,602,343,000
This has been bothering me for a long time. I have a fairly default installation of Fedora 16 with Gnome 3. I know that since Fedora 15 (don't know about before) I have never been able to view pictures in order in shotwell. Steps: Open a folder with a bunch of pictures ordered by name Double click on one of the files, it opens in shotwell Go next, it picks a seemingly random picture instead of the next one by name Is there any way to be able to have the next feature in Shotwell go to the next picture by name instead of a random one? In case it matters, this happens on both my ext4 linux partition and on my NTFS windows partition.
As far as I can see, they fixed it in version 0.12.3. I'm using Fedora 16, and had to compile it from source -- http://yorba.org/shotwell/install.html
Have shotwell go through pictures in directory in order?
1,608,602,343,000
I'm running F16 on VMplayer, I don't think the drivers I'm using are for my nvidia card. I'm getting a max resolution of 1280*768. My card is EVGA 9800GTX+ --- I need instructions on how to change my xorg config (I'm assuming that's the problem). In gnome display settings I'm now able to set my resolution to 1920x1080 After forcing vmware driver in xorg.conf My xorg.conf looks like this atm; Section "Device" Identifier "device0" VendorName "VMware SVGA II Adapter" BoardName "VMware SVGA II Adapter" Driver "vmware" Option "SWcursor" EndSection Section "Screen" Identifier "screen0" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1920x1080" EndSubsection Subsection "Display" Depth 15 Modes "1920x1080" EndSubsection Subsection "Display" Depth 16 Modes "1920x1080" EndSubsection Subsection "Display" Depth 24 Modes "1920x1080" EndSubsection EndSection After logging in my resolution changes to 1920x1080 The only setting being picked up by xorg.conf is driver vmware At login screen my resolution is 1024x768
Partially Solved, although vmware tools did not install properly, the xorg drivers for vmware were installed but xorg.conf wasn't pointing to those drivers. I changed the driver from default vesa to vmware.. full list of resolutions is now available under gnome settings. My xorg.conf at the moment; Section "Device" Identifier "Display0" Driver "vmware" EndSection Make sure you have the driver installed; yum install xorg-x11-drv-vmware Hope that helps someone who comes across the same problem. GDM still boots with 640x486, but after login gnome settings take priority and display my resolution of 1920x1080. I gave up on trying to completely fix my problem, and removed F16 and installed Ubuntu Server 11.10. I also tried Ubuntu 11.10 desktop x86, which was trouble free when it came down to installing vmware-tools. Hopefully this will help those having problems with vmware-tools. Also helpful links thanks to seljuq70 http://www.sysprobs.com/fedora-14-vmware-install-vmware-tools-fedora-14 http://www.crazyhawt.com/2010/01/25/quick-guide-installing-vmware-tools-with-fedora-12/ I haven't tried this but the problem with the GDM resolution probably has to do with a setting in grub.conf, I read about it after I had already removed F16 from vmplayer. But for those who have problems with pre-login resolution, may want to look at this. http://pierre.baudu.in/other/grub.vga.modes.html
How to force 1920x1080 resolution - Fedora 16, VMPlayer, 9800GTX
1,608,602,343,000
Under some circumstances I don't want my screen to lock. (Typically: I'm stepping away from the desk, while a computation is running, but I won't leave the room and still have an eye on it why it's active; sometimes, I'll add more tasks to a queue, so that it's not "done when it's done") Is there a mechanism to tell GNOME session or ~ screensaver not to lock? I was expecting there to be a clever DBUS API for that, but GNOME's documentation seems to depend on the private homedir of someone who's since deleted it: https://wiki.gnome.org/Projects/SessionManagement/GnomeSession#D-Bus_API links to the 404 https://www.gnome.org/~mccann/gnome-session/docs/gnome-session.html. Even better: is there a Freedesktop standardized API for this? I mostly work on Cinnamon-session with an awesome WM, but this problem I encounter mostly on machines where I've only got access to a Gnome session; however, if there's a one-size-fits-all solution, I'd greatly prefer that.
At least under X, you can use xdg-screensaver to inhibit a compliant screensaver as long as a given window exists: xdg-screensaver suspend <window-id> There is a Freedesktop D-Bus interface for screensavers, which you would invoke using something like dbus-send --session --dest=org.freedesktop.ScreenSaver --type=method_call --print-reply \ /ScreenSaver org.freedesktop.ScreenSaver.Inhibit \ string:"myapplication" string:"displaying long computations" but that doesn’t work from dbus-send since it’s tied to the caller — calling it from a long-running Python script should do the trick. (--print-reply is included because the return value is important — it’s a cookie used to uninhibit the screensaver.) See also Prevent system from going to sleep/suspend - how Xviewer/VLC do it
How to tell gnome-session(3), or gnome-screensaver, that there's been activity?
1,608,602,343,000
I'm running Ubuntu 20.04 on a Dell XPS 13 with FHD display (1920x1080 resolution). Clearly, this resolution is too much for my eyes with a 13.3" display, so I'm vetting a couple of alternative solutions. Using this resolution (1920x1080) but using the fractional scaling provided by both Wayland and X, and set it at 125%. Using a lower resolution (1600x900) with scaling at 100%. Honestly, at a glance, I could not see any difference, so, which are the pros and the cons of both the options, both in aesthetical terms and performance terms (e.g. higher consumption, known bugs, etc)?
Fractional scaling will consume more power, I believe. It can give performance issues. Using a lower resolution should definitely be noticeably worse. Another option would be to use GNOME Tweaks and scale the font while on native resolution (1920x1080 here) with 100% scaling.
GNOME fractional scaling benefit vs lower resolution
1,608,602,343,000
I use GNOME 3.36 on Arch Linux and even if control panel shows up the right option activated (see the screenshot below); none virtual keyboard is shown when needed i.e. on an input box like the search box on the upper-left corner. How can I have an onscreen-keyboard? Do I need any external package? journalctl does not show any error/warning switching off/on the setting
Thank to @muru, I solved this issue by installing the caribou package
Where is the GNOME virtual keyboard?