date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,608,602,343,000
I am running an up-to-date installation of Arch Linux and GNOME 3.28. For security reasons I don't allow root login in the consoles. I have done this by configuring /etc/securetty. However, it worries me that in the GUI I can still login into the root account from the GNOME GDM login screen. Is there any way to prevent this so that only standard user accounts and administrator accounts can login from the graphical login, but not the root account?
This can be achieved as stated here by adding the following line: auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so To these files (some may not already exist and have to be created): /etc/pam.d/gdm /etc/pam.d/gdm-autologin /etc/pam.d/gdm-fingerprint /etc/pam.d/gdm-password /etc/pam.d/gdm-smartcard The person who pointed me to this link said that he preferred me to write the answer instead of him (because he doesn't have a system to test this on and prefers not to write blind answers). But thanks still goes to him (@Kusalananda).
How to prevent root login from GNOME 3 login screen (Arch Linux)?
1,608,602,343,000
I am trying to fix the power button on gnome 3 not shutting down the system and as don_crissti said in this thread (Gnome 3: how to set power button to shutdown instead of suspend?) that options was removed. He also mentions that you can fix it if you're willing to patch and rebuild gnome-settings-daemon so how would I go about doing that?
Make a directory build and download patch there, saving it as d.patch. Follow this script (I have saved whole session, so you know from which directories you should cast these spells). [user@MACHINE build]$ git clone git://git.gnome.org/gnome-settings-daemon #download GSD source [user@MACHINE build]$ git clone git://git.gnome.org/libgnome-volume-control #download dependency [user@MACHINE build]$ cd gnome-settings-daemon/ [user@MACHINE gnome-settings-daemon]$ git checkout GNOME_SETTINGS_DAEMON_3_18_2 #get the version for which the script was prepared [user@MACHINE gnome-settings-daemon]$ git submodule init #download more dependencies [user@MACHINE gnome-settings-daemon]$ git config --local submodule.panels/media-keys/gvc.url ../libgnome-volume-control [user@MACHINE gnome-settings-daemon]$ git submodule update [user@MACHINE gnome-settings-daemon]$ cd .. [user@MACHINE build]$ wget https://launchpad.net/ubuntu/+archive/primary/+files/gnome-settings-daemon_3.18.2-0ubuntu2.debian.tar.xz #download Ubuntu patches - that's why I asked you about your OS [user@MACHINE build]$ tar -xf gnome-settings-daemon_3.18.2-0ubuntu2.debian.tar.xz [user@MACHINE build]$ cd gnome-settings-daemon/ [user@MACHINE gnome-settings-daemon]$ patch -p1 -i ../debian/patches/64_restore_terminal_keyboard_shortcut_schema.patch #apply Ubuntu patches if you want Ubuntu version of GSD [user@MACHINE gnome-settings-daemon]$ patch -p1 -i ../debian/patches/ubuntu-lid-close-suspend.patch [user@MACHINE gnome-settings-daemon]$ patch -p1 -i ../debian/patches/revert_background_dropping.patch [user@MACHINE gnome-settings-daemon]$ patch -p1 -i ../debian/patches/revert-gsettings-removals.patch [user@MACHINE gnome-settings-daemon]$ cd .. [user@MACHINE build]$ mv gnome-settings-daemon gnome-settings-daemon-3.18.2 [user@MACHINE build]$ patch -p0 <d.patch #patch with downloaded patch [user@MACHINE build]$ cd gnome-settings-daemon-3.18.2/ [user@MACHINE gnome-settings-daemon-3.18.2]$ NOCONFIGURE=1 ./autogen.sh #generate config script - would fail if we wouldn't download those dependencies before [user@MACHINE gnome-settings-daemon-3.18.2]$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/gnome-settings-daemon --disable-static #configure - will check for dependencies - you might need to download some packages [user@MACHINE gnome-settings-daemon-3.18.2]$ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool #see https://bugzilla.gnome.org/show_bug.cgi?id=656231 [user@MACHINE gnome-settings-daemon-3.18.2]$ make [user@MACHINE gnome-settings-daemon-3.18.2]$ make install The script was adapted from here. You can see there roughly the dependencies you need for configuring it. TL;DR The only magic there is getting all the sources together: git submodules, Ubuntu patches from launchpad and libgnome-volume-control. It would work without applying sed. The whole rest is a standard procedure.
How to patch and rebuild gnome-settings-daemon?
1,608,602,343,000
I'm using fedora 25 gnome latest update. My dnf repo list is fedora-cisco-openh264.repo rpmfusion-free-updates.repo fedora.repo rpmfusion-free-updates-testing.repo fedora-spotify.repo rpmfusion-nonfree-rawhide.repo fedora-updates.repo rpmfusion-nonfree.repo google-chrome.repo rpmfusion-nonfree-updates.repo rpmfusion-free.repo rpmfusion-nonfree-updates-testing.repo Yesterday I updated my system using dnf. Today gnome software center notified me that 19 packages need to be updated. I tried to update using dnf because I hate updating using the software center since it requires restart but couldn't find any update using dnf update. So I updated fedora using gnome software center, it installed a buggy gdm version, couldn't log in, had to use tty to login, then startx. I do sudo dnf distro-sync then dnf deletes and downgrades all updates that gnome software center had installed, I reboot and everything works. Gnome software center is a mastery to me, not the fist time I ask about it on this site. Is it trustworthy? Do its repos conflict with dnf?
The GUI on Fedora Workstation uses PackageKit to install OS packages. PackageKit on Fedora uses the exact same repos specified in /etc/yum.repos.d. It's also possible to use PackageKit through pkcon instead. It doesn't necessarily provide much detail in normal operation. There are some tools you could look at though: pkcon get-updates - list updates without installing pkcon refresh force - refresh list of updates / packages pkcon update - installs updates, without rebooting, or stopping any programs running the previous version. pkcon resolve gdm - if there are multiple available gdm packages (including updates), the documentation says it's supposed to list them all. Apparently this is a lie and it doesn't list updates though. https://bugzilla.redhat.com/show_bug.cgi?id=1429488 PackageKit bypasses dnf. They do share a significant amount of code through a number of libraries. However it's glued together and configured differently, for example it uses a completely separate cache. It even handles signature verification differently (AFAIK, dnf mainly delegates this to rpm). FWIW, I haven't seen PackageKit cause any such problem while using Fedora Workstation. The main issues I've had with PackageKit has been it not notifying about updates. My Fedora 25 system reports the following: $ dnf repolist Last metadata expiration check: 0:16:16 ago on Mon Mar 6 12:50:41 2017. repo id repo name status fedora Fedora 25 - x86_64 51,669 local-google-chrome local-google-chrome 3 *rpmfusion-free RPM Fusion for Fedora 25 - Free 541 *rpmfusion-free-updates RPM Fusion for Fedora 25 - Free - Updates 170 updates Fedora 25 - x86_64 - Updates 17,151 $ dnf info gdm | grep -E 'Version|Repo' Version : 3.22.1 Repo : @System Version : 3.22.2 Repo : updates Version : 3.22.2 Repo : updates $ pkcon refresh force ... $ pkcon get-updates | grep gdm Available gdm-1:3.22.2-1.fc25.x86_64 (updates) (and the pkcon resolve bug:) $ pkcon resolve gdm Resolving [=========================] Installed gdm-1:3.22.1-1.fc25.x86_64 (installed:anaconda) The GNOME Display Manager Available gdm-1:3.22.1-1.fc25.i686 (fedora) The GNOME Display Manager
Do dnf updates conflicts with gnome software center updates? [duplicate]
1,608,602,343,000
Updated the Kali Linux and as a result, updated the Gnome to version 3.20.1, but is now appearing in the title bar (and other places in some Gnome applications) squares instead of letters. How do I fix this?
I found an answer over at AskUbuntu. It looks like some fonts are missing and need to be re-installed. Here's the steps from that answer: sudo apt-get install msttcorefonts sudo fc-cache -fv Reboot your machine and it should have the title bars fixed.
Squares on Gnome 3 Title Bar
1,608,602,343,000
I upgraded my Kali Linux version 2 and now when I try to login in my Desktop I got this error message "oh no something has gone wrong". I go to the console mode with Ctrl+Alt+F1 and I launch gnome-shell and it return this: (gnome-shell:4934): Clutter-CRITICAL **: Unable to initialize Clutter: Unable to open display. You have to set the DISPLAY environment variable, or use the --display command line argument (gnome-shell:4934): mutter-ERROR **: Unable to initialize Clutter. I check /var/log/messages and I found: Jan 13 18:48:05 kali kernel: [ 106.005592] traps: gnome-shell[3992] trap int3 ip:7f159197ad30 sp:7ffe8c719c80 error:0 dmesg return the same message. I installed X-window-system and xorg after a apt-get update. I added a user and I try to login with this but it doesn't work. journalctl returns No journal files were found. My CPU is a i5-3210M.
The problem is python. I get a error with a package when I do apt-get upgrade. It's because the usr/bin/python link to python3.4. So I change this for python2.7 and I do again apt-get upgrade and this solve the problem!
gnome login fail after a upgrade: oh no something has gone wrong
1,608,602,343,000
I am using a lenovo thinkpad w520 running fedora 22 and gnome 3. This particular laptop has both an integrated (Intel HD Graphics 3000) and discrete graphics (NVIDIA Quadro 1000M) card. When I'm in Linux, I only ever use the integrated graphics card because support for the NVIDIA card isn't awesome without installing proprietary drivers. For the most part, this works well, except that the screen is always on 100% brightness. Turning down the brightness with either the keyboard controls or in the Gnome pane has no effect. I did some poking and discovered that in the /sys/class/backlight directory there are two entries: intel_backlight and nv_backlight. I tried changing the brightness in the Gnome pane and watched the intel_backlight/brightness and nv_backlight/brightness files. The former does not change but the latter does. If I manually change the former, the true brightness actually does update. So I guess I need to figure out how to tell gnome to use the intel_backlight device rather than the nv_backlight device. How would I go about doing this? OS info: 4.2.8-200.fc22.x86_64 Using grub2.
Create the following config for X11 following Archlinux wiki to force optimus hardware to use intel_backlight instead of nv_backlight: # cat /etc/X11/xorg.conf.d/20-backlight.conf Section "Device" Identifier "Intel Graphics" Driver "intel" Option "Backlight" "intel_backlight" EndSection Note that in my fedora 28 this is the only X11 config snippet, the rest is likely detected automatically.
Change which brightness device gnome uses?
1,608,602,343,000
I built GNOME 3.16 on my LFS system. I have a strange configuration issue where my root and normal user see different items in the applications menu. Here's a screenshot of gedit's menu options as user: This is the screenshot as root: As you can see, root sees 4 more items (preferences, help, about, quit). My question is how do I make these options available to normal users. I tried going through the everything in dconf-editor, but nothing helped. Same issue with Epiphany and other GNOME applications. However, when I stop gdm and open gedit from a xterm, the menu items are complete. So, it's some other GNOME component that is preventing the listing. I tried going through pretty much everything in dconf-editor that seemed it might help, and also changed between 2-3 different themes, but nothing seemed to work. I've been at this for days now and most of what I found on the net was not applicable to my issue. Can someone please tell me where to look for the settings or is this something by design? Let me know if more info is needed.
The way to do this is go to Tweak Tool -> Top Bar -> Show Application Menu = Off. Apparently, the application menu items are in the Top Bar now. But if the Top Bar is running under a different or not available, it shows the preferences with the regular menu items. Hence, the two different views for root and user.
GNOME 3 Different menu options for root and user
1,412,230,853,000
My wallpaper is now white, the icons are displayed, but the app in parameters/background does not launch. In gconf, /desktop/gnome/background/picture_filename is set to a valid image (I can see my wallpaper when I'm under the Activity mode) I'm using debian testing updated today. Any clue? Need other Infos? See the
I had the same problem. Just solved it, in gnome tweak tool under Desktop tab I disabled option "Have file manager handle the desktop".
Lose gnome3 wallpaper
1,412,230,853,000
I am unable to launch Gnome System Log Viewer after setting some filters. This is so, even after rebooting and reinstalling this GUI program. I found the following relevant line in /var/log/messages: kernel - [ 2345.123456] traps: logview[1234] trap int3 ip:32682504e9 sp:7fff9123c150 error:0 It seems to be some exception error with the kernel. How to deal with it and get the viewer to launch again? UPDATE: I tried launching it manually with the following command: gnome-system-log and it gives me a more verbose error: GLib-GIO-ERROR **: g_menu_item_set_detailed_action: Detailed action name 'win.filter_hide info' has invalid format Trace/breakpoint trap It appears that the regex I wrote for win.filter_hide has some invalid format. How can I access this and change it manually without the GUI? UPDATE2: I tried: $ gsettings get org.gnome.gnome-system-log filters @as [] $ gsettings reset org.gnome.gnome-system-log filters It doesn't work. I think I am somewhere close, but not sure how to access win.filter_hide from here. From this image, I don't see how installing dconf-editor would help me access that filter. UPDATE3: I finally manage to take a peep at the values by logging in as root: # gsettings get org.gnome.gnome-system-log filters ['hide info:1:::\\tinfo', 'error:0:#efef29292929::\\terr', 'show all:0:#000000000000::\\d'] # gsettings reset org.gnome.gnome-system-log filters (process:3453): dconf-WARNING **: failed to commit changes to dconf: The connection is closed Not sure where is the problem. But as can be seen, I can't even do a reset when logged on as root. And I can't access those values when logged on as normal user. UPDATE4: Finally it is solved. The reason why connection is closed is because the root is logged in the user environment. This should work: $ su -c "gsettings reset org.gnome.gnome-system-log filters" -
The filter settings are saved as a gsettings scheme: org.gnome.gnome-system-log.filters. You can edit them with dconf-editor (org>gnome>gnome-system-log>filters). Replace the space in the name of the filter with a dash (or some other character), and gnome-system-log will work again.
Unable to launch Gnome System Log Viewer after setting filters
1,412,230,853,000
I have an issue which bugs me for a long time. I'm using the Intel C++ compiler which includes shell scripts to set up environment variables for library paths, include paths and more. Sourcing these scripts in .bashrc works like a charm for the terminal. Unfortunately, I need the environment variables in Mathematica and NetBeans C++ too, which brings me to the question, how to source the Intel scripts so that they are known by the GUI programs I start. I searched the net carefully and I think I have tracked the issue down, although I don't have an explanation. One way of setting environment variables for Gnome seems to be to be to create an *.sh script in /etc/profile.d/ which is then executed by /etc/profile. Although, regarding to this information the /etc/profile is not recommended, please note that I have a shell script which needs to be sourced and not only some export VAR=blub settings. If I do this with the e.g. mklvars.sh script, it seems that not the complete file is sourced. Let me give a snip from the file to show what I mean #! /bin/sh # # Copyright (C) # ...lot of boring stuff CPRO_PATH=/opt/intel/composer_xe_2013_sp1.0.080 export MKLROOT=${CPRO_PATH}/mkl SCRIPT_NAME=$0 MOD_NAME=mod # .... some more code here ... if [ -z "${MKL_TARGET_ARCH}" ] ; then echo echo "ERROR: architecture is not defined. Accepted values: ia32, intel64, mic" mkl_help else if [ -n "${LD_LIBRARY_PATH}" ] ; then OLD_LD_LIBRARY_PATH=":${LD_LIBRARY_PATH}"; fi export LD_LIBRARY_PATH="${CPRO_PATH}/compiler/lib/${MKL_TARGET_ARCH}: #..... When I now logout/login again, the MKLROOT variable is defined but LD_LIBRARY_PATH was not adjusted. It seems anything which is a bit more complex than a simple export VAR is skipped when sourcing the .profile. Question: Is there a convenient way of sourcing the compiler-variable scripts for an X-Session (in my case Gnome)? Does someone know what goes wrong here? The obvious hack around this issue is to use the final variable definitions after sourcing the scripts manually and put them in the global profile. This has the disadvantage that I do this over and over again with every new update of the compiler. Step-by-Step Let me give a step-by-step showcase so that you see that I'm not completely nuts. For this I put the Math Kernel Library Script on pastebin and I start with the following situation: I have not sourced the script in any bashrc, profile or other file. I have logged out and logged in again For the test we look at the $MKLROOT and $LD_LIBRARY_PATH which both should be changed by the script. Currently, they are not set when I check their values by echo $LD_LIBRARY_PATH echo $MKLROOT When I source the file manually, I get: source /opt/intel/composer_xe_2013_sp1.0.080/mkl/bin/mklvars.sh intel64 echo $MKLROOT echo $LD_LIBRARY_PATH # Output: # /opt/intel/composer_xe_2013_sp1.0.080/mkl # opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64:/opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/intel64 When I put the source line into my ~/.bashrc and open a new terminal, both variables are set correctly as shown above. Now, I remove the source line from ~/.bashrc and put it into /etc/profile.d/intelCC.sh, save it and log off/on. After the login, none of the variables are set, but I have an error message in my ~/.xsession-errors saying: /usr/sbin/lightdm-session: 1: /etc/profile.d/intelCC.sh: source: not found Now I replace source by a simple . so that /etc/profile.d/intelCC.sh contains now . /opt/intel/composer_xe_2013_sp1.0.080/mkl/bin/mklvars.sh intel64 Same again: Save, log off and log on. Now there seem to be no errors in .xsession-errors related to this and finally: echo $MKLROOT # /opt/intel/composer_xe_2013_sp1.0.080/mkl echo $LD_LIBRARY_PATH # empty
Confirm MKL_TARGET_ARCH is set When you add this to the /etc/profile.d directory odds are the variable $MKL_TARGET_ARCH isn't set or hasn't been set yet, so the entire if/else block is essentially skipped. You can test this theory by temporarily setting the $MKL_TARGET_ARCH just above the if/else statement and try logging in again to see if it worked. MKL_TARGET_ARCH="..something.." if [ -z "${MKL_TARGET_ARCH}" ] ; then Installing Intel Compilers I do not possess this compiler so I can't give you exact details but I've dealt with installing engineering applications for the better part of 15 years so I'm somewhat uniquely familiar with the domain. In any case, when you install these types of tools you typically either have to create your own environment file or one is provided. I found this post regarding Intel's Fortran compiler but I'd be surprised if the products are that dissimilar. http://wiki.cecalc.ula.ve/index.php/Installing_Intel_Compilers_on_Fedora If you look through this post you'll notice a step after installing (install.sh), where a file is copied to /etc/profile.d. This file contains the environment setup that needs to occur. cp /opt/intel/Compiler/11.1/056/bin/ia32/iccvars_ia32.sh /etc/profile.d/ It would be my suspicion that a step similar to this needs to occur for this product as well. Double check your installation was done using distribution specific steps from this page: http://software.intel.com/en-us/articles/intel-compilers-linux-installation-help Eventual Solution if . works but source doesn't then you might be dealing with Bourne shell and not Bash. Bash supports both whereas Bourne shell (/bin/sh) does not. If you have a look at this document then you see that this seems to be exactly where you problem lies. Ubuntu 12.0x changed the link for /bin/sh from /bin/bash to /bin/dash. Intel installation scripts for 13.0.0.079 reference /bin/sh BUT assume/require this is bourne or bash (sh or bash) but are NOT compatible with dash.
Restrictions of /etc/profile in Gnome
1,412,230,853,000
While using Fedora 14 (Gnome2), Each time if I was doing some privileged task (ex - mounting a new hard drive), I would be prompted for password and then there would appear an icon (like keys) on the taskbar. By clicking on it, I could exit the elevated priviliges mode. I do not see any such feature - to exit priviliged mode - in F15/G3. Is it possible to do so? How?
In Fedora15/Gnome 3 when you execute a command which requires elevated privileges, those privileges will remain until the window that required them is closed or until the privilege timeout is reached. I think this was actually fixed just at the end of Gnome2. Worth testing to see how long you retain privileges for.
Fedora15/Gnome3 - Exit elevated priviliges mode
1,412,230,853,000
I'm using gnome-shell 3.0.2 on Arch Linux and I want to use AWN's notification area plugin. However when I try to activate the plugin it complains that there's already a notification area running. This is expected, of course, except that I can't find a way to disable gnome-shell's notification area. In gnome 2 I'd just right click on the notification area and select "remove from panel" - how do I do the equivalent in gnome-shell, so I can use awn's notification area (or any other third party notification area)?
At this time, you cannot. It is core functionality in the current GNOME shell.
How to use third party notification area with gnome shell
1,412,230,853,000
I just updated to GNOME 3.22.1 on Arch Linux. When I tried to scroll, I noticed that it ignores the setting of natural scrolling. I'm stuck with natural scrolling (you move your fingers down and the page goes up) but I don't want to. I tried both settings in the Mouse & Touchpad settings. The currently installed version of xorg-server is on 1.18.4 and was installed three months ago. My laptop is a Thinkpad T440s.
From don-crissti's comment: (GNOME) 3.22 defaults to a Wayland session. Log out and log back in choosing X session when at GDM login screen and see if it works.
GNOME ignores natural scrolling setting
1,435,264,936,000
In Gnome 3 you can enter dconf-editor and navigate through lots of settings. Amongst others you can navigate to /org/gnome/desktop/wm/keybindings/ to find that Alt+Tab brings up the application switcher. You can change the keybinding for the application switcher or even add new ones in addition to the ones already present. However, once the application switcher is open, and while you're still holding down Alt, you can use the arrows to navigate within it. I'd like to add custom keymappings hjkl in addition to the arrows, but I cannot find the keymappings for this any place in the dconf-editor (yes, I actually looked through the whole thing and didn't find it). Does anyone know where I can find these settings? Thanks.
I figured out a solution to this problem myself that don't even involve modifying the Gnome source code. It is not what I initially looked for but it works perhaps just as well. In dconf-editor in /org/gnome/dekstop/wm/keybindings/ I just changed the following two settings: switch-applications=['<Super>Tab', '<Alt>Tab', '<Alt>l'] switch-applications-backward=['<Shift><Super>Tab', '<Shift><Alt>Tab', '<Alt>h'] The first two keybindings are the Gnome defaults, whereas the last one is added by me. Of course, this has the (initially unintended) side-effect of bringing up the application switcher whenever I hit <Alt>h or <Alt>l, but since they're not previously used for anything, this could perhaps be a justifiable behavior. EDIT: The proposed solution works fairly well! I have tested it a bit and it suits my workflow (where I use hjkl for just about everything, being a Vim user). However, I have "stress tested" it a bit and discovered two minor inconsistencies, which are due to the fact that the switch-applications* events are not actually the same as the ones which are hard-coded to the arrows in the application switcher. First, <Alt>Left and <Alt>Right will not bring up the application-switcher if it's not already there, unlike the recently proposed <Alt>h and <Alt>l. It seems to me a natural extension of the default behavior that they should. This can be fixed as follows: switch-applications=['<Super>Tab', '<Alt>Tab', '<Alt>l', '<Alt>Right'] switch-applications-backward=['<Shift><Super>Tab', '<Shift><Alt>Tab', '<Alt>h','<Alt>Left'] Second, <Super>Tab can be used as an alternative to <Alt>Tab in Gnome (and likewise with the shift-key). Since <Super>l (or h) is not mapped to switch-applications*, using hor lwill not work in this case. It would be an easy thing to add this, but beware that they are by default mapped to minimizing a window and locking the screen so you would have to remove those keybindings. Also, <Super>Left and <Super>Right is mapped to tiling windows to the left/right part of the screen. If you again want to use Vim-style hjkl for these, you have three things <Super>l (and h) might be used for so you'd have to choose (unless you're up for some source code editing of the application switcher). By the way, for those interested in using Vim keybindings in Gnome, I maintain a more complete set of keybindings in my Git repository at https://github.com/sigvaldm/gnome-dconf.
Changing keybindings for arrows in Alt+Tab application switcher in Gnome 3
1,435,264,936,000
Days ago I was playing with Gnome 3 and Cinnamon and I decide after a few test to keep Cinnamon and remove Gnome. The problem is I don't know if it's secure to remove everything marked as installed under the group GNOME Desktop => GNOME since I don't know if those packages are used in any other application or maybe by Cinnamon. What's the best and secure way to remove Gnome 3 completely? What or how would you do that?
The packages are grouped in the groups, that can be installed and removed together. Running dnf group list should tell you the names of available groups and one of them should be something like gnome-desktop-environment. Removing it should do the job: dnf group remove gnome-desktop-environment
What is secure to remove from GNOME Desktop => GNOME
1,435,264,936,000
Using Fedora 17, when I click an extension to install from gnome shell extensions site, it won't install! How to know what the problem is?
What browser are you using? Does it give you an error or warning? I'll take a wild stab in the dark: If you're using Chrome/Chromium, navigate to about:plugins and make sure "Gnome Shell Integration" is enabled. Then navigate back to extensions.gnome.org and when the ribbon appears at the top make sure you "Always Allow for this Site" On Firefox you'll have to do something similar if you've turned extensions off. Browse to about:plugins and make sure libgnome-shell-browser-plugin.so is present / enabled. If it's not, upgrade Gnome Shell, or find it on your filesystem and link to it from to ~/.mozilla/plugins (you shouldn't have to do this though). EDIT: If things are really broken, you could try reinstalling via: yum reinstall gnome-shell-3.4.1-5
extensions.gnome.org is not working on fedora 17
1,435,264,936,000
When I'm logged into my account on my laptop (A Thinkpad t420 running Linux Mint 12 with Gnome 3), the mouse has a noticeably lower frame rate than when I'm at the log in screen, or even in another user account. I've been trying to get to the bottom of the problem for days. The mouse is perfectly responsive, but it skips over most of the pixels in it's path if it's moving quickly. It's perfectly smooth in the other accounts. It does not seem to be caused by the theme or any gnome-shell extensions. I have changed to other themes and changed a test account's themes and extensions to match my normal account. No difference. htop does not show that any process is using too much CPU in either account. In both it was 1-4%. I've played with the mouse settings in System Settings> Mouse and Touchpad but it hasn't changed the problem. I'm pretty stumped. I suppose my next test is to remove the user account and re-create it, but I feel like I'd just mess up the mouse again and still have no idea what happened. Anyone have any ideas on how to fix it?
I got the same problem an your solution pointed me to the actual reason (for me): I had the screen magnifier always on, but with the lowest magnification, 1:1. So that way, I could change magnification fast without setting it on before and in the lowest magnification mode (1:1), the screen just looks like the normal screen. But! In the magnification mode (including 1:1), the mouse movement gets less smooth. (i think it always calculates which part of the screen to show.) So for me, the solution is simply to turn off screen magnification.
Mouse cursor 'frame rate' is slow, but only when logged into my main account
1,435,264,936,000
Is there a way to access, set gnome system-settings from the command-line? I'm specifically interested in a way to set: settings -> energy -> screen off = never settings -> energy -> screen off = (N) minue(s) I would like to access this settings from a bash script, so I could set screen-off to never when the script starts and back to (N) minue(s) before the script exits. I hope my question is clear, since I just translated the menu hierarchy from a German-GUI. I tried to find a setting with gsettings but could not really get my way through.
ok, I found it, this is pretty nice since it's set in seconds you can also set a value shorter then a minute: # Set "turn screen off" to (N)seconds: gsettings set org.gnome.desktop.session idle-delay N # Set "turn screen off" to never: gsettings set org.gnome.desktop.session idle-delay 0 # Set "turn screen off" to 1 minute (60)seconds: gsettings set org.gnome.desktop.session idle-delay 60 In the script I use it as follows: # getting the time of current setting and store to variable 'screenoff' screenoff=$(gsettings get org.gnome.desktop.session idle-delay \ | awk '{print $2}') # set "turn screen off" to never gsettings set org.gnome.desktop.session idle-delay 0 echo "lots of important information being printed..." # set back to the former setting: gsettings set org.gnome.desktop.session idle-delay "$screenoff" the value stored into $screenoff would of course get lost if the script was canceled before completion. A workaround could be to store the value to a temporary file, which gets removed at the very end of the script: #!/bin/bash # check if there is a temporary file from an aborted session # read from this file or get value from gsettings & write temporay file: if [ -f "./.screenoff.tmp" ]; then screenoff=$(cat "./.screenoff.tmp") else screenoff=$(gsettings get org.gnome.desktop.session idle-delay \ | awk '{print $2}') echo "$screenoff" > "./.screenoff.tmp" fi # switch power saving off: gsettings set org.gnome.desktop.session idle-delay 0 echo "lots of important information being printed..." # Set "turn screen off" back to original value: gsettings set org.gnome.desktop.session idle-delay "$screenoff" # remove temporary file rm "./.screenoff.tmp"
Gnome3 - set screen energy settings from command line (script)
1,435,264,936,000
Today I wanted to try gnome 3 as the desktop environment. So I removed openbox completely and installed gnome 3 and run dpkg-reconfigure after. I also had dwm installed, which I left as is. sudo apt-get install gdm3 sudo dpkg-reconfigure gdm3 So when I logged out, I had the gnome login screen. So far so good. The problem is that the session switcher doesn't show gnome shell or gnome session in the items. I see System X11 default Default Xsession WM from xsession script All of these items take me into a dwm session. The third option is coming from user-session.desktop I created [Desktop Entry] Encoding=UTF-8 Name=WM from xsession script Comment=Runs the window manager defined by xsession script Exec=/etc/X11/Xsession Type=Application and the ~/.xsession contains: # xfce4-power-manager stuff #xsetroot stuff exec dwm When I run the update-alternatives, I don't see gnome. $ sudo update-alternatives --config x-window-manager There is only one alternative in link group x-window-manager (providing /usr/bin/x-window-manager): /usr/bin/mutter Nothing to configure. $ sudo update-alternatives --config x-session-manager There is only one alternative in link group x-session-manager (providing /usr/bin/x-session-manager): /usr/bin/lxsession Nothing to configure. How can I make gnome 3 as my default desktop environment and make sure gnome 3 comes up in the session switcher?
You need to install more packages than only gdm3, gdm3 is just the login manager. To have a very minimal Gnome desktop environment, you need to install the following packages (maybe some are already installed in your system): sudo apt-get install -y ca-certificates libgl1-mesa-dri x11-xserver-utils \ fonts-cantarell gdm3 gnome-session gnome-shell gnome-themes-standard \ gvfs-backends gvfs-fuse mousetweaks network-manager-gnome pulseaudio \ sound-theme-freedesktop xdg-user-dirs
Set gnome as default display manager
1,435,264,936,000
I am using Arch linux. However after the recent gnome update, I am not able to copy or paste anything into or from gnome terminal to gui applications like editors or browsers. However I am able to copy and paste within the the terminal like coping and pasting a previous command or output. I am also able to copy paste within GUI applications, for example between an editor and a browser. How ever I am not able to copy paste from the browser to the terminal or from the editor to the terminal and viceversa. I am sure this is not a keyboard shortcuts issue as Ctrl+ C, Ctrl+ V,Ctrl+ Shift +C, Ctrl+ Shift + V as expected when used within the terminal or among the GUI applications. I have tried installing clipit, but there is no difference. I am pretty sure I didnt have the issue before.
Copy/paste between Wayland windows and XWayland windows does not work yet (it has not been implemented). I can't manage to find any official source on this, but here are a couple of links to posts saying exactly this: http://www.phoronix.com/forums/forum/software/desktop-linux/49641-gtk-3-18-plans-for-full-wayland-support-a-scenegraph?p=631866#post631866 https://www.reddit.com/r/linux/comments/35hz3t/wayland_session_on_gnome_316_part_3_of_wayland/cr4ti4n Update This feature has been implemented in mutter 3.17.2 (see the release notes).
Cannot copy-paste from or to the gnome-terminal
1,435,264,936,000
I cannot get OpenVPN to work with GNOME NetworkManager. Authentication-Type is "Certificates (TLS)" I have 3 files: UserCert: user.crt CACert: ca.key PrivateKey: user.key All live in my home-directory. Connection fails with the following message: Feb 25 23:16:49 archpad nm-openvpn[1138]: OpenVPN 2.3.2 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6 Feb 25 23:16:49 archpad nm-openvpn[1138]: WARNING: No server certificate verification method has been enabled. See http://openvpn.n Feb 25 23:16:49 archpad nm-openvpn[1138]: NOTE: the current --script-security setting may allow this configuration to call user-defi Feb 25 23:16:49 archpad nm-openvpn[1138]: WARNING: file '/home/mak/Downloads/user.key' is group or others accessible Feb 25 23:16:49 archpad nm-openvpn[1138]: Cannot load CA certificate file /home/mak/Downloads/ca.key (OpenSSL) Feb 25 23:16:49 archpad nm-openvpn[1138]: Exiting due to fatal error Feb 25 23:16:49 archpad NetworkManager[422]: <warn> VPN plugin failed: 1 Feb 25 23:16:49 archpad NetworkManager[422]: <info> VPN plugin state changed: stopped (6) Feb 25 23:16:49 archpad NetworkManager[422]: <info> VPN plugin state change reason: 0 Feb 25 23:16:49 archpad NetworkManager[422]: <info> Policy set 'tb303' (wlp3s0) as default for IPv4 routing and DNS. Feb 25 23:16:49 archpad NetworkManager[422]: <warn> error disconnecting VPN: Could not process the request because no VPN connection UPDATE Output of openssl x509 -in /home/mak/Downloads/ca.key -noout -text is unable to load certificate 140493069354640:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
This one is the fatal error: Cannot load CA certificate file /home/mak/Downloads/ca.key There are a couple reasons that it may not be able to load the key: Permissions are wrong. Check to make sure the file is readable File doesn't exist. Confirm the path & name is correct. File is in the wrong format, or is not a CA certificate. Try openssl x509 -in /usr/local/share/ca-certificates/MetricsCA.crt -noout -text Make sure it spits out something starting 'Certificate:', that the current date/time is inside the validity, and that it has 'CA:TRUE' as one of the basic constraints.
Gnome Network-Manager OpenVPN
1,435,264,936,000
Somehow the main application window of my empathy application is gone and only shows me the contact list but not the account settings window so that I can no longer add instant messanger accounts or persons to an account. How can I restore that? I use GNOME Shell 3.6.2.
Many Gnome 3.6.x apps have been ported to GMenu and as such the "menu" is only available from the main toolbar (it changes according to the focused app) , e.g. for empathy:
How to restore empathy windows on Gnome 3?
1,435,264,936,000
I would like to remove my Gnome 2 desktop to replace it with Gnome 3, because I do not want to update to Debian Wheezy. How can I do that?
This is in response to this answer: I would NOT install every .deb separately - this is a terrible idea and there are much better ways. Plus the guide is quite outdated, although on the right track. You should look, as said in the link, into apt-pinning. But don't use experimental, testing is already on gnome 3.4 and will save you a lot of hassle.
How to install Gnome 3 on Debian Squeeze (Gnome 2)?
1,435,264,936,000
running RHEL 7.9, with the installation of it as Server with GUI. My [work] operating environment is the server is in a server room and all users connect to it over the network using VNC. Problem I have as an admin is I can connect into their existing VNC session, with the intent to close it out cleanly prior to doing a reboot... when the user is on travel and leaves an empty vnc session active but I don't know until I connect into it. But when I do connect into it I hit the GNOME console screen lock within the VNC session, and I don't know the user's password to unlock it... How in RHEL 7.9 do I globally disable all screen lock and screen savers so that all users will never have a screen saver or screen lock automatically kick in? Preferably I also don't want any user to be able to turn such a thing back on for themself. It is a basic server with gui installation of RHEL 7.9 using the standard GNOME desktop environment / graphical user interface . I am not using KDE or XFCE or anything like that.
Give this a try: Using redhat documentation as reference. Create the user profile in /etc/dconf/profile/user if it does not already exist: user-db:user system-db:local Edit /etc/dconf/db/local.d/00-screensaver If there is already a section with the heading: [org/gnome/desktop/screensaver] then just edit/add: lock-enabled=false underneath that heading. If there is not, then create it: [org/gnome/desktop/screensaver] lock-enabled=false Edit /etc/dconf/db/local.d/locks/screensaver (create it if it doesn't exist): Add the following line to the file: /org/gnome/desktop/screensaver/lock-enabled This will lock the setting so that users cannot change it. Run dconf update to update the system databases. Users may need to restart their gnome session for the change to be picked up.
disable GNOME screensaver screenlock in rhel/centos 7
1,435,264,936,000
I've been trying to install Gnome on my Debian, I used i3wm previously, and I wanted to install Gnome for some demonstration purpose. I tried the command sudo apt-get install gnome And while installing, I was given an error while unpacking LibreOffice. How can I resolve this? I have even tried fixing broken installs using the command sudo apt --fix-broken install But still, it gives the same error as stated above.
The LibreOffice packages in Debian conflict with the OpenOffice packages you currently have installed. If you want to install GNOME 3, you’ll need to remove the OpenOffice packages: sudo apt purge openoffice\* You will then be able to install GNOME: sudo apt install gnome
Can't install Gnome on debian
1,435,264,936,000
in RHEL 7.5, or 7.6 where I am using GNOME classic 3.28, I run a tar command in a terminal window which takes a few seconds, when finished a popup happens saying command completed and other times when I right click and do new terminal, the terminal window shows up almost immediately, but i also get a popup saying terminal window is ready I don't like those popups in gnome telling me what I already know, is there a way to disable that?
I'm using gnome-session 3.28.1-10.0.1.el8 and have a Notifications page in Settings that allows me to turn off all notifications or just those for a particular application. Turning them all off seems to have prevented the annoying completion messages.
gnome 3.28 disable ready/completed pop-up
1,435,264,936,000
I've installed TeamSpeak 3 to $HOME/Applications and I've created a custom desktop file: [Desktop Entry] Name=TeamSpeak 3 Comment=VOIP Client Path=/home/tomas/Applications/TeamSpeak3-Client-linux_amd64 Exec=bash ts3client_runscript.sh Icon=/home/tomas/Pictures/icons/teamspeak-3-icon.png Terminal=false Type=Application This shows up perfectly in Gnome 3 and I can pin the application to my sidebar: However, when I click the icon to launch TeamSpeak, the launched application spawns a new icon rather than being bound to the icon I pressed: Why does this happen? What mechanism does Gnome 3 use to decide which running applications are bound to which sidebar icons? Is there anything I can do to make this work? My first guess was that it's because the actual application isn't launched directly, but through a bash script. I tried adding exec to the runscript to make the application be the direct child of the launcher, but it didn't make a difference.
I was able to fix it by adding this to my .desktop file: StartupWMClass=<GnomeShellTooltipOfTheSecondIcon> xprop can also be used to know the WM_CLASS. Source: https://askubuntu.com/a/635839
How do I make custom .desktop files behave correctly in the Gnome 3 sidebar?
1,435,264,936,000
I pride myself on keeping my system up and running a long time between restarts. I have a long running RHEL7 workstation. Occasionally (usually if it has been running continuously for a month) the window manager crashes. By crashes I mean the windows are 'visible' but have no title bars, menus etc. The mouse pointer can be moved but the focus cannot be changed. I can however switch to a terminal session using Alt-F1 etc. On previous systems I was able to restart the window manager using something like: metacity --replace or compiz --replace This would restore my session without me even having to logout. However, I am not clear which window manager is even running. How can I find out? Note that I know you can restart the display manager using: systemctl restart display-manager but that starts a new session and requires you to log in again. I would like to be able to restart just the crashed wm process without doing this. I think under the hood this is still gnome3 using wayland, mutter or some such. Is there actually a separate window manager I can restart at all any more? and if not why not?
Yes. There is still a window manager and you can restart it. You can confirm you are running gnome-classic as below: >set | grep DESK DESKTOP_SESSION=gnome-classic GNOME_DESKTOP_SESSION_ID=this-is-deprecated IMSETTINGS_INTEGRATE_DESKTOP=yes XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME XDG_SESSION_DESKTOP=gnome-classic You can identify the version (mine was 3.22.2) by typing "about" in activities as suggested here: https://help.gnome.org/users/gnome-help/stable/gnome-version.html.en You can use wmctrl to identify the window manager used. This is missing from the standard redhat repos at present (https://bugzilla.redhat.com/show_bug.cgi?id=1326876) but available from the nux-dextop repo (https://li.nux.ro/repos.html) >wmctrl -m Name: GNOME Shell Class: N/A PID: N/A then: >ps aux | grep -i shell shows gnome-shell is runnning. >man gnome-shell shows that gnome-shell supports the --replace argument and so can be used to restart the window manager as before. gnome-shell --replace &
Identify and restart (gnome-classic) window manager on RHEL7
1,435,264,936,000
I really love the extension "auto-move windows", but it is rather limited: the "Add Rule" Button shows a list which only contains certain applications -- those that installed through apt, I suppose. (But then, why whould System Monitor be missing then?) What I want is to add any application I made a .desktop file for to that list. Is this possible somehow?
The gtk application chooser used by the extension's settings used to exclude applications that do not support opening files, i.e. have no URI/file parameter in the Exec key of their .desktop file. This issue got fixed and the fix is included in gtk+ 3.22.25 and newer.
Gnome "auto-move windows"-extension does not show all applications
1,435,264,936,000
When my system boots up, and I click my username, and enter my password, the login attempt fails. However, when I try the exact same password again, I can successfully log in. What could have caused this? I am using the latest arch Linux on the latest gnome3/gdm.
I just realized that for some reason, the first key I press on my USB keyboard does not get registered.
GNOME3/GDM first login fails but second login succeeds
1,435,264,936,000
I am using xterm. I want to open two separate instances in arch linux. However when I click on the icon it does do any activity. I have used Ubuntu before. It was normal to open multiple terminal in Ubuntu. Is it possible in Arch Linux? I am using gnome-desktop.
Since you stated you were using GNOME, I assume you're trying to open xterm from the screen that pops up on which your desktop applications are listed, right? (I think the scientific name for that screen is "Activities Overview". Anyway...) Try holding down the Ctrl key while left-clicking on the xterm icon, that should open another instance.
how to open multiple windows of terminal in gnome-shell?
1,435,264,936,000
I just installed ubuntu GNOME 16.04. So far, so good. When I run "GNOME terminal", I can do the all the things. But when asked to press "Enter", and I press the button labeled "Enter" on my kepboard near the keypad, it just does an error squirt-beep. If I press the button above right shift (labeled <-|), it works. How can I get the Keypad's "Enter" button to work in gnome terminal? Thanks! Update this fixed itself (rather I have no idea what fixed it). It was a new install: zsh, oh-my-zsh, custom profiles, software, 20 reboots, etc.
The two Enter keys are different. The one above the right-shift key sends a carriage-return character (which the terminal driver translates to line-feed as newline), while the other may send an escape sequence when the keypad application mode is enabled. Your instructions meant the former (unless the application uses curses, for example). If you are trying to use a curses (or ncurses) application, you still are not guaranteed that you can use the two interchangeably. Some developers are confused by the difference, and ignore KEY_ENTER when they notice that the Enter key on the keyboard sends just a carriage return. Along with that, some terminal descriptions have been written (no surprise) which equate kent (the terminfo name for KEY_ENTER) with carriage return or line feed. A lot of those are for obscure terminals which you probably do not use (and they represent a minority of the terminal descriptions). For xterm, kent is assigned to the escape sequence. It's been there a while (predating gnome-terminal): # 9.11.3 (Thu Nov 9 12:14:40 EST 1995): # * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. # * Added kent=\EOM to xterm entry.
Gnome Terminal - keypad enter just beeps
1,435,264,936,000
I want to display my desktop notifications (I'm using Gnome 3) on some other device. So I want to write a software that gets the notification on my computer and sends it over the internet. Unfortunately, I didn't find any good point to start on how my code can get the notifications and do something with them. Is there some API for it?
Well, Gnome notifications use D-BUS to pass the messages around. The gnome specification describes how to use the org.freedesktop.Notifications.* classes and has a good deal of formatting tips. In general it is a HTML-ish format. Yet, you absolutely cannot talk to the D-BUS on another machine remotely. Let's not even start on how many security holes that would open. Still, you can always have a program on the target machine that will receive the communication and talk to D-BUS locally already in there. There are two options that are wrappers around org.freedesktop.Notifications.* and make writing programs much easier: libnotify: which is almost a de-facto standard for making notifications, supports not only gnome but several others. notify-sharp-3: as strange as it may sound it is an open-source C# based functionality around several notification specs. At some point it even had its own language called boo, but it is kind of dying out in favour of libnotify. OK, libnotify we go. libnotify comes with a binary that knows how to talk with the notification daemon (yes, those notifications are displayed by a background daemon). The command is notify-send, and it is rather trivial to use. notify-send 'Meeting in 5 minutes' 'John from the <b>QA Team</b> just found a bug that should never had happened. Seriously, we are doing something wrong' And that will display the notification. Yet, making it remote is a little more complex. Assuming that you know that bob is the user currently running Xorg at machine krakatoa and that krakatoa has libnotify installed and is running gnome notify daemon you can do: ssh bob@krakatoa \ notify-send 'Meeting in 5 minutes' \ 'John from the <b>QA Team</b> just found a bug that should never had happened. Seriously, we are doing something wrong' But finding each user on each machine may be tricky. You may try to create a script that will perform ps -afe | grep gnome, find the user and run su -u <user> DISPLAY=:0 notify-send .... But then again, you probably should not send ssh requests as root in the first place. The Arch wiki has a list of interfaces to libnotify in several languages. From there you can create your own daemon, with your own communication protocol for the notification messages. For example, since you are specifically after gnome, python Gobject may just fit the bill. In summary: Notifications happen on D-BUS; You cannot directly access D-BUS remotely; You can use libnotify to access D-BUS from a program under your control on the target machine. References: Gnome notifications specification Arch wiki on desktop notifications, with examples using several languages
How do I get the desktop notifications?
1,435,264,936,000
I'm trying to use this to make the US international with dead keys layout function correctly -- the combination ' + c should give a ç instead of a ć, and more importantly, unsupported combinations should just give both characters in sequence, for example ' + t should output simply 't. The above works in most applications, even in tty, but for a few, such as Opera and LibreOffice the custom compose table is completely ignored. I've noticed that the variable GTK_IM_MODULE is never set, for some reason, but since GTK applications work fine it doesn't seem to be the issue. Is there a way to force these applications to use the correct compose table?
Of course, right after posting the question I managed to fix the problem. gsettings set org.gnome.desktop.input-sources show-all-sources true did the trick.
Dead key functionality with US-Intl layout in Fedora 23
1,410,543,031,000
After upgrading Debian Wheezy to Jessie, I experience some random unhiding behaviour of the bottom panel. It does not appear - as before - by moving the mouse into lower right corner. It seems it is showing up, when you move the mouse in the middle of the bottom... but only in 1 out of 15 cases... How is the right way to unhide (is ticking enough or does keeping the mouse there for a few seconds help ... and where)? Are there ways to change the behaviour? Current Gnome version is 3.12
Moving mouse to bottom of the screen is usually enough to show bottom panel. Just move the mouse to bottom and a little bit more down ;) I know, sometimes it doesn't work for the first time. Second way is to use keyboard shortcut – windows key (left to the left alt) + m. Panel is not supposed to hide automatically, so clicking away from it's area or another wk+m will hide it.
GNOME 3 - bottom panel is hiding - how to unhide it or change behaviour
1,410,543,031,000
I'm currently in the process of trialling Gnomebuntu 13.10 in a virtual machine for web development work with a view to potentially ditching Windows 8.1 for development work in the near future. One of the issues I currently have with Gnome 3.8 is that there are no minimise or maximise buttons by default which screws with my productivity. Is there a way of adding these in? I've already tried the gnome-tweak-tool and there is no clear option to enable this functionality. Any help would be greatly appreciated.
You were close: From the gnome-tweak-tool, select Shell and look for the option Arrangement of buttons on the titlebar. By default, it's set to Close only, you want to set it to All. If the effects are not immediately apparent, press F2 and enter r into the command box that appears followed by Enter to restart the Gnome Shell for the new settings to take effect.
Add maximise and minimise buttons to Gnome 3.8
1,410,543,031,000
I just did an update in Arch Linux, and now the Videos app (Totem) is using the same icon for every control: The controls still work; you just can't tell them apart without hovering over the control until the tooltip shows up. This worked fine before the upgrade. I've reinstalled totem, gnome-icon-theme, gnome-icon-theme-extras, gnome-icon-theme-symbolic, and hicolor-icon-theme, but that made no difference. Arch is currently on Gnome 3.6. I'm using x86_64. How do I get the controls labelled with the right icons? Update: When I start totem on the command line, I see the following lines added to ~/.cache/gdm/session.log: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x280000b (Videos) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. and the following lines on the terminal: (totem:3232): Grilo-WARNING **: [registry] grl-registry.c:434: Could not open plugins' info directory '/usr/lib/grilo-0.2': Error opening directory '/usr/lib/grilo-0.2': No such file or directory (totem:3232): Totem-WARNING **: Failed to load grilo plugins: All configured plugin paths are invalid. Failed to load plugins. The grilo warnings I've seen before this problem started; I don't have it installed.
This sort of behavior is usually caused by icon & pixbuf loaders problems. Re-installing librsvg and running (as root): gtk-update-icon-cache -f /usr/share/icons/gnome gdk-pixbuf-query-loaders --update-cache should, in most cases, fix it.
Missing control icons in Totem (Gnome Videos)
1,410,543,031,000
I have a laptop running Fedora 15, Gnome 3.0.1, and Mobile Intel® GM45 Express Chipset. I have a VGA monitor connected to it, as well as a DisplayPort to DVI adapter to connect a second monitor. Both monitors are detected by the system and I can use them individually, but not both at the same time. Both monitors are the same. When I try to activate the second monitor using System Settings -> Display I've seen different behaviors. Either the images (from the 3 screens) get overlapped on the first 2 screens, jumbled up. Or one of the screens (laptop or monitor) stays active but becomes invisible. Meaning the screen is dark, but the mouse travels over there and there are windows over there. As well as this: xrandr --output VGA1 --mode 1680x1050 --rate 60 xrandr: cannot find crtc for output VGA1 Error which occurs with either of the inactive monitor. Here's the output of xrand: xrandr Screen 0: minimum 320 x 200, current 3120 x 1050, maximum 8192 x 8192 LVDS1 connected 1440x900+1680+0 (normal left inverted right x axis y axis) 303mm x 190mm 1440x900 60.0*+ 40.0 1024x768 60.0 800x600 60.3 56.2 640x480 59.9 VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm 1680x1050 60.0*+ 1280x1024 75.0 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 HDMI1 disconnected (normal left inverted right x axis y axis) DP1 connected (normal left inverted right x axis y axis) 1680x1050 60.0 + 1280x1024 75.0 60.0 1280x960 60.0 1152x864 75.0 1024x768 75.1 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 720x400 70.1 HDMI2 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis) What else should I try to have all 3 displays active at the same time? Is it possible?
If you look at the chipset datasheet, there are only two display planes and display pipes (see pp. 78–79). You can also take a look at the tables on pp. 86–87. So, you've hit a hardware limitation. You may be able to get it working if two of the displays are displaying the same thing, with the exact same settings (same image, resolution, refresh rate, bit depth, etc.).
Connecting 2 monitors to a laptop
1,410,543,031,000
Upon going to the user themes extension webpage, I get the following message: This extension is incompatible with your version of GNOME. This extension supports the GNOME unstable release, 3.3.2 I have Gnome Version 3.2.1 according to System Info. So how would I go about installing the lastest unstable Gnome releases? EDIT: I am running Fedora 16 EDIT 2: I would like to know if there is a repository to be installed so that I can simply yum update to the latest Gnome development version (downloading and installing gnome-shell-3.3.3 from here or here gives me an error with a list of dependencies yet to be satisfied) EDIT 3: I remember successfully installing gnome-shell-extension-user-theme via yum a few months ago that worked just fine with Gnome, anybody know how to install an older version of the extension that is compatible with Gnome 3.2?
You can build the latest GNOME Shell (sandboxed) using JHBuild pretty easily, as explained here. Note that this doesn't care about which distribution you're using, so there might be another way, i.e., some Fedora analogue of using experimental packages on Debian, that I don't know of. (I found this 3.3.3-1 GNOME-Shell package as an indication that there is something like a devel package, but I don't know how to make use of it.)
How do I install user theme extension in Gnome in Fedora 16?
1,410,543,031,000
On my System (Debian Wheezy x64, Gnome 3) I don't have any system sounds. Other audio is working well. When I go to settings > Audio > Sounds (hope it is called like this in english) as normal user, all sounds are greyed out. However, when i go to this panel as root, I can play all these sounds. Is it a problem with privileges? How can it be solved? I will need notifications in Empathy.
I found the solution to this issue here. What you need to to is fire up *d*conf-editor Go to org/gnome/desktop/sound and there activate event_sounds after a restart empathy notification sounds should be working !
gnome 3 system sounds not working
1,410,543,031,000
In gnome3, when I hit Windows button a new view with windows/applications appear. I can also do some search there and can choose from two options: wiki and google. Is there any way to add some other choices there, together with code that would make proper search? For example I would like to add some torrent search there through btjunkie, so I would need to make a post to btjunkie and open the result page in a browser. I am happy to code such stuff, but I have no idea where to start looking.
I have managed to do it myself. Here is how I have done it: If you are using Gnome3, then you are probably using integrated searches for Googling or finding something on Wikipedia. Only those two choices are available, but fortunately it’s easy to add new or even exchange them for some other kind. Here is how you can have btjunkie.org integrated search. You need to enter /usr/share/gnome-shell/search_providers and create btjunkie.xml file with following contents: <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>BTJunkie</ShortName> <Description>BTJunkie Search</Description> <InputEncoding>UTF-8</InputEncoding> <Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAEAgQAhIOEAMjHyABIR0gA6ejpAGlqaQCpqKkAKCgoAPz9%2FAAZGBkAmJiYANjZ2ABXWFcAent6ALm6uQA8OjwAiIiIiIiIiIiIiI4oiL6IiIiIgzuIV4iIiIhndo53KIiIiB%2FWvXoYiIiIfEZfWBSIiIEGi%2FfoqoiIgzuL84i9iIjpGIoMiEHoiMkos3FojmiLlUipYliEWIF%2BiDe0GoRa7D6GPbjcu1yIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</Image> <Url type="text/html" method="GET" template="http://btjunkie.org/search?q={searchTerms}"/> </OpenSearchDescription> Now restart Gnome Shell (for example by logging out and logging in) and voila, you should have BTJunkie search nicely integrated.
Gnome3: How to add more search options
1,410,543,031,000
in RHEL/CentOS 7.9 anyway, when running gnome-disks which is under the Applications-Utilities-Disks menu, for a recognized SSD it offers the enabling of write-cache. I would like to know what technically is happening when turning this on, that wasn't already happening. I was under the impression, whether it was an SSD or a conventional spinning hard disk, that linux inherently does disk caching. This impression mainly comes from reading that www.linuxatemyram.com page years ago.
This controls the cache setting on the disk so it's not related to Linux or RAM, this controls how the disk itself caches the data in its internal memory before writing them to the disk permanent storage. GNOME Disks (or UDisks to be correct) just sends an ATA command to the disk telling it to enable/disable the feature called volatile write cache. (Btw. in CLI hdparm -W <0/1> does the same thing.) It's similar to any other write cache -- if you enable this, the disk will tell the OS the data have been written after saving it to the cache and the disk will write them to disk later (that's where the warning about data loss comes from).
gnome-disks write caching
1,410,543,031,000
At the login screen and also in the system settings I see a user that I don't really want to see in any interactive context. After all I am not being shown the nobody user (UID 65534) Here's how that looks (I have no idea how to make a screenshot from the user list on the login screen, though): The details for that user account and the group of the same name can be gleaned from the output of the following sequence of commands ($ -> as user, # -> as root): $ getent passwd libvirt-qemu libvirt-qemu:x:64055:128:Libvirt Qemu,,,:/var/lib/libvirt:/usr/sbin/nologin $ id libvirt-qemu uid=64055(libvirt-qemu) gid=128(kvm) groups=128(kvm),64055(libvirt-qemu) $ getent group libvirt-qemu libvirt-qemu:x:64055:libvirt-qemu # getent shadow libvirt-qemu libvirt-qemu:!:18204:0:99999:7::: # getent gshadow libvirt-qemu libvirt-qemu:!::libvirt-qemu Other than two users with UID 1000 and 1001 respectively, these are the only non-system users: # getent passwd |awk -F : '$3 ~ /^[1-9][0-9][0-9][0-9][0-9]+/ {print $3 " " $1}'|sort -n 64055 libvirt-qemu 65534 nobody I crafted the regex intentionally to leave out the two four-digit entries for privacy reasons. Question: so how can I get rid of that user being listed in interactive contexts when that user clearly is not meant to be used interactively?
Change the value for the SystemAccount key (in section [User]) in /var/lib/AccountsService/users/libvirt-qemu (or whatever the equivalent on your distro is) to true and restart AccountsService using sudo systemctl restart accounts-daemon.service. If there is no such line or file for that user, you can copy it from another user. The contents of said file should look at least like this: [User] SystemAccount=true
Get rid of unwanted user listing in GNOME3 (lock screen, login screen and settings)
1,410,543,031,000
I have a brand new Purism laptop (Librem 15 version 3) with PureOS I started up for the first time today. While setting it up to my liking, I opened Gnome Tweaks to change the Caps Lock button to be a Control key. Immediately upon changing the setting (without any other action on my part), the system locked the screen and any further efforts to log in result in the screen going blank momentarily and the lock screen being displayed. Unsurprisingly, this makes the laptop unusable. There's no bug report regarding this. I was unable to usefully identify the laptop based on the information at wiki.puri.sm/hw. I consulted my order information instead. It doesn't appear to boot grub, but I'm not sure I'd know. I can reach the BIOS settings, but nothing there seems to do anything useful. As to rebooting, I did try that immediately. No change. I can log in using Ctrl+Alt+F3, as suggest, but there's no server running a display at that point. I'll be awaiting a response from Purism before I wipe my user configuration.
With help from Purism support and commenter @icarus above, I was able to remove the offending configuration at ~/.config/dconf/user and rebooting. Moreover, I was able to achieve my intended result by modifying /etc/defaults/keyboard as seen here.
Gnome Tweaks change of caps lock to control caused lock out of the system
1,410,543,031,000
When I press Shift for 8 seconds (as the upcoming dialog says, I rather feel these are 10 seconds) GNOME enables "slow keys", how they call it. Fortunately a dialog pops up before it is finally enabled. However that cannot be quickly dismissed by navigation with the keyboard (you can only click on "Cancel", moving with the keyboard's arrow keys does not work) or by pressing ESC. I found out, however, that you can close it by holding ESC for several seconds, too. (I would add a screenshot of that prompt here, but unfortunately this is not possible to screenshot it.) My use case is just gaming on Linux or stuff like this, where it is perfectly fine when you hold the shift key for a longer time. As such, I do not want this dialog to pop up and dismissing it in the middle of a game is also very annoying. As such my question is: How can I disable this prompt for enabling the keystroke delay? The help file already linked above does state there is a setting for it: Under Enable by Keyboard, select Turn on accessibility features from the keyboard to turn slow keys on and off from the keyboard. When this option is selected, you can press and hold Shift for eight seconds to enable or disable slow keys. However, the mentioned setting is already disabled in my case: GNOME 3.28.2, Fedora 28 This question has been cross-posted on ask.fedoraproject.org.
Just to close this question as answered: In the question you can see how to do it, it is actually possible in the visible settings application. There only was a bug that prevented this from working correctly in GNOME 3.28 at least, and has been fixed (to be released in v3.32, I guess.).
How to disable GNOME's 8 sec. shift hotkey for activating slow keys/keystroke delay?
1,410,543,031,000
this is archlinux speaking, fresh install with Gnome 3.30.1. After having installed xbindkeys and setup a ~/.xbindkeysrc file with: # corresponds to ctrl+Y on my machine, according to `xbindkeys -k` "paplay /usr/share/sounds/gnome/default/alerts/sonar.ogg" m:0x14 + c:52 I can hit ctrl+Y and hear a sonar sound. But only if the current window is: firefox vlc zotero .. but not if the current window is: gnome-terminal nautilus gnome "web" application gnome "system-monitor" ... What is wrong? Is gnome somehow capturing the events before xbindkeys? Why? How to prevent it from doing so, so I get consistent behaviour accross all windows?
Okay, I get it. The bug only occurs if you log on Gnome wayland session, which happens to be the default one now. Should you log with Gnome Xorg instead, the bindings do work with every window then. My guess is that xbindkeys is a X-related utility, that every new Gnome app do not rely on X anymore but on wayland, and that firefox, vlc, etc. still rely on X, therefore the bindings only working with them. Is that correct?
xbindkeys not working when native Gnome 3.30.1 windows are focused
1,410,543,031,000
I use workspaces heavily, and I have another visual indicator in the top bar to tell me what workspace I am in. By default Gnome has a number like in the screenshot below to show current workspace The 2 is the element I want to remove I do not need the default workspace indicator, however there does not seem to be a setting in Gnome Tweak Tool to disable it. This question pointed me towards an extension to disable the overlay effect, which was pretty annoying. However I haven't found an extension that disables the workspace number, or settings anywhere.
The workspace indicator is not a built-in feature of the Gnome desktop. It is provided by the "Workspace Indicator" Gnome extension, which is pre-installed on some Linux distributions. You can edit its settings or disable it entirely from the Gnome Tweak Tool's extensions section.
Gnome 3: Remove Workspace Number from Top Bar
1,410,543,031,000
I had the problem with libreoffice --writer crashing on my system without any message. libreoffice --calc was working without any problem. (I did not check on the others like draw or impress). I have been able to just start libreoffice without any option, but experienced the same crash when selecting new writer document from the GUI. Operating System: Debian GNU/Linux buster/sid Kernel: Linux 4.13.0-1-686-pae Architecture: x86 LibreOffice: 1:5.4.2-3 I did not have this problem with the same versions on a 64bit system. I now worked around this issue by removing the libreoffice gtk3 package. apt remove libreoffice-gtk3 I can live with this though it does not look very nice, but is there any better workaround, that does not involve a downgrade?
This seems to be fixed since version: 1:5.4.3-4+b1 Libre Office did not run anymore, with or without: libreoffice-gtk3 It just quit without any message when started from the terminal, with or without option (--calc --writer...) Happily this time it could be fixed as @StephenKitt recommended earlier by moving the old configuration files out of the way. mv ~/.config/libreoffice{,.old} since then it also runs with: libreoffice-gtk3 On the first start I got the error message: $ libreoffice error xsltParseStylesheetFile : cannot parse I/O warning : failed to load external entity "" error xsltParseStylesheetFile : cannot parse though only on the first start. Now it seems to run quite stable and lots faster then before.
LibreOffice Writer crashing on Debian "buster" with Gnome desktop
1,410,543,031,000
When I tried to logged-in on gnome shell, it will just goes black then after a few seconds it will just comeback to GDM. I am using fedora 26. Any advice how I can fix this? thanks. Edit:(requested on the first comment) I don't know if it caused by the update, but I did an update before it was happened. This morning I run an update then a moment later shutdown the computer, when I came home tried to login and this was happened. Also I don't know what to look at the logs. and I cant find any xsessions-erros file on my home directory. Actually I am logged in the same machine but using the my test Awesome WM user. Edit: BTW I can logged-in on gnome on Xorg.
The cause why Wayland kicking me back to GDM, is because of the La Capitaine cursor theme. When I tried to change the cursor to Adwaita(default) when I am still in Xorg, then logged-out and logged-in back to Wayland I can logged in back successfully. But as soon I change the cursor theme to La Capitaine Wayland kick me out to GDM. BTW the La Capitaine Icon theme is still working without a glitch.
Logged in loop on gnome shell on fedora 26
1,410,543,031,000
I have many figures of widthxheight (550-570)x(465-486) at the southwest logically set there by Matlab's movegui() function. I would like to open all those southwest windows of the size range in an external display or in Workspace 2. Meuh's command shows those figure dimensions width x height, their hex codes and titles where I would like to move windows of size 560 x 475 for width x height, respectively, to Workspace 2 masi@masi:~$ wmctrl -l -G 0x01c0000b 0 0 0 3840 1080 masi Desktop 0x01e00002 0 0 54 1920 1023 masi Edit - Unix & Linux Stack Exchange - Google Chrome 0x02200006 0 2088 333 1608 501 masi masi@masi: ~ 0x0280003d 0 1920 78 1920 1041 masi MATLAB R2016a - academic use 0x02800ac6 0 11 113 568 465 masi Figure 1: data gray all 4 0x02800af2 0 687 113 560 475 masi Figure 2: data gray top half (1/2) 0x02800aff 0 1364 113 560 475 masi Figure 3: data gray top #1 (1/4) 0x02800b16 0 1364 621 560 475 masi Figure 4: Time domain 0x02800b2a 0 11 631 568 465 masi Figure 5: Memory/... Monitoring 0x02800b31 0 683 631 568 465 masi Figure 6: data Size(I) monitoring 0x02800b3b 0 11 621 560 475 masi Figure 7: Histograms 0x02800b85 0 774 594 386 28 masi Press SPACEBAR to continue Doing meuh's command gives the correct number of wmctrl commands but individual commands do not have any effect (beware different hex-codes here than above because different iteration) masi@masi:~$ wmctrl -l -G | > awk '$0~/^0x/{ winid=$1; width=$5; height=$6; > if(width>=550 && width<=570 && height>=465 && height<=485) > printf "wmctrl -i -r %s -t 2\n",winid > }' | sh -x + wmctrl -i -r 0x03200120 -t 2 + wmctrl -i -r 0x03200149 -t 2 + wmctrl -i -r 0x0320015f -t 2 + wmctrl -i -r 0x03200173 -t 2 + wmctrl -i -r 0x03200188 -t 2 + wmctrl -i -r 0x0320019f -t 2 + wmctrl -i -r 0x032001b2 -t 2 Why the commond + wmctrl -i -r 0x03200120 -t 2 putting the window to Workspace 2? What is the symbol + there? I do wmctrl -r 1 -t 2 but nothing, TODO specify somehow dimensions here. How can you move windows of size 560x475 to Workspace 2? How can move windows of size (550-570)x(465-485) to Workspace 2? OS: Debian 8.5 64 bit Linux kernel: 4.6 of backports Matlab: 2016a Window manager: Gnome 3.14 Hardware: Asus Zenbook UX303UA, Asus PC Other sources: Commandlinefu search wmctrl does not bring anything relevant
There is no supported working solution for Gnome 3.14 in Debian 8.5. Let's hope the next release of Gnome at Q1-Q2 2017 will help the case.
How to move windows of dimension range to Workspace 2?
1,410,543,031,000
I installed Debian (Wheezy 7.9) as a VM in VirtualBox. But looks like I have a Desktop environment problem: When I right-click on the Desktop, I get nothing (I'm supposed to get a menu). No computer or home icons (even-though they are enabled in Advanced Settings). BTW, when I enable 3D acceleration for this image on the VBox, the image crashes when logging. PS: Win7 is the OS on which I have VBox installed GNOME3 is my Desktop environment
I found the solution. It's really simple. Yes as according to @AhmedWas, one should enable 3D acceleration before installing the image. (This will only prevent image crashing) Applications -> System tools -> Preferences ->Advanced Settings -> Desktop -> and turn on "Have the file manager handle the desktop".
Blank desktop with Gnome in a virtual machine
1,410,543,031,000
I'd like to add a trash icon to the Gnome 3 favorites vertical bar on the left of the desktop.
Just make your own launcher e.g. trashcan.desktop: [Desktop Entry] Version=1.0 Type=Application Name=Trash Can Viewer Comment=Because I Can! Exec=gvfs-open trash:/// Icon=user-trash Terminal=false Categories=GNOME; place it1 in $XDG_DATA_HOME/applications (usually ~/.local/share/applications) if you intent it to be user-specific or in$XDG_DATA_DIR/applications (usually /usr/share/applications) if you want it to be available to all users; then, while in overview mode, click on the Show Applications button on the dash (or use Super+A), find the trash icon and just drag it to dash (favourites). 1: Note that on some setups the desktop file has to be "marked as trusted" (either double click it and Mark As Trusted or make it executable and add #!/usr/bin/env xdg-open at the top of the file).
How to add a trash icon to the Gnome 3 favorites?
1,410,543,031,000
I'm testing GNOME 3.16.3 wayland (1.8) session on ArchLinux 64bit. Everything seems to work fine so far except for VirtualBox 5.0.2. If I run windows 8.1 as guest, after entering the password on the login screen, VirtualBox just freezes (that not happens while running on X11). Also, I have the following env set: GDK_BACKEND=wayland CLUTTER_BACKEND=wayland Anyone had similar issues? Is there any workaround?
Ok, I found out that by disabling hardware acceleration (both 3D and 2D video) on my virtual machine settings does the trick. Perhaps not the best solution but I can live with that for now...
Win 8.1 guest on VirtualBox 5 running on Wayland 1.8 freezes after login
1,410,543,031,000
I would like to enable the Control + Alt + Backspace sequence to kill the X server, plus other sequences, without editing any files, if possible (or at least, no system files).
You can re-enable Ctrl+Alt+Bksp on a per-user basis by adding the option terminate:ctrl_alt_bksp to gnome xkb-options via gsettings or dconf-editor. The easiest way is with dconf-editor - go to org > gnome > desktop > input-sources and add terminate:ctrl_alt_bksp to the xkb-options, e.g With gsettings it's a bit more complicated. You'll have to get the existing options (if any) with: gsettings get org.gnome.desktop.input-sources xkb-options If the output is @as [] that means there's no option set so you can simply run: gsettings set org.gnome.desktop.input-sources xkb-options "['terminate:ctrl_alt_bksp']" otherwise you'll have to rewrite the whole array of values + the new value, e.g.: gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps', 'terminate:ctrl_alt_bksp']" As I said in my other post, values are delimited by comma+space.
Gnome 3: enable Ctrl+Alt+Bksp on a per-user basis without editing any files?
1,410,543,031,000
I am using debian testing with gnome 3.14. despite trying googling around why that happened, I didn't find a solution. My question is: Why is my terminal and sublime text not consistent with the gtk theme?
I solved my own problem ! Here is the solution, move the themes from home/.themes to /usr/share/themes. The problem was that apparently meta-city themes were not recognized there. Once I moved them to the folder everything got resolved. Hope that helps someone like me !
Why is Gnome 3.14 window decoration inconsistent
1,410,543,031,000
I have freshly installed arch linux according to the steps listed in arch linux wiki page, installed xorg and gnome. In my ~/.xinitrc file I have added the line exec gnome-session. Now, when I boot my system and login to tty1, as a normal user( not root) and type startx at the prompt the gnome session doesn't start and instead complains that the connection to the xserver is lost. But when I log in as root or use su to issue command startx it starts without a problem. Can anyody help me with removing this problem ?
Ensure you have the .xinitrc file in the user home directory. It seems you have the .xinitrc in the root directory and not the users home directory. to verify this run ls -la in the user home directory. If you see a .xinitrc file inspect it using a text editor to see if it has the required content.
Unable to start gnome-session without root ?
1,410,543,031,000
I have a 700MB CD on which I'm putting the LXDE version of Fedora 18, and I wanted to know what happened when I remove LXDE and install GNOME 3, as the GNOME 3 version is too big for my CD.
You can use yum groupinstall GNOME, and after everything is in place, remove the LXDE group.
Removing LXDE and installing GNOME 3
1,410,543,031,000
In previous versions of gnome-shell in Gnome 3, it was possible to use an icon in place of the "Activities" text in the left upper corner. These tutorials tell how to achieve this, the second one even providing an extension. It does not work with gnome-shell version greater than 3.2, though. Can the icon be brought to the current version, too?
The Activities Configurator extension allows to modify, or even hide, icon and text.
Give an icon to the Gnome Shell 3.6 activities button
1,351,217,489,000
The idea is to turn my Desktop into a place where I can put a image reference of what I am learning at the moment. This would be an example This means: puttig an image of the reference of what I'm learning as a background of the Desktop (already possible) having the icons of files, folders or even removable USB pens available (one click away) but without blocking te view to that background Any Ideas? Or alternative solutions?
This is not an answer to my question but, until now, it IS the best solution I could find. I wrote a script called cs with the following code #!/bin/sh eog --fullscreen [path to the image I want to see] and placed it in ~/bin since this is in my $PATH. Then I run: chmod +x ~/bin/cs Finally, to get access to it, I just press Alt-F2 and then cs (as in cheatsheet) followed by Enter. This if far from ideal since I: can't click on it don't have a single keyboard command defined for it have to remember it is there instead of having it by default So, if you have a better solution, please state it.
I would like to put one single icon in the Desktop that actually opens the Desktop. Any ideas?
1,351,217,489,000
I normally switch between Geany, vim and Emacs (depending on my mood. LOL) when editing on a linux platform. Recently, I have begun exploring the Mallard Project, but have been unable to find the right tool for editing files to be processed by Mallard. Does such a tool exist? UPDATE Shortly after posting my question, I went to the Mallard mailing list to search for an answer... and posted my question there. I share, here, the answer which I received from that list: On Thu, Jan 5, 2012 at 8:44 PM, The Geeko wrote: Is there a tool available which properly handles Mallard documents? I normally use Geany, Emacs and Vim... (depending on my mood and the task at hand), but none of these identify Mallard files; therefore, there is no coloring and other assistance. gedit recognizes Mallard documents, and even has some handy Mallard code snippets. It does not do code completion like some advanced IDEs, but it does code coloring. Jim I appreciated the answer.
In addition to using Gedit (per Mallard mailing list answer posted in the update to my question), another answer was posted (which does not require me to adopt another tool): On Thu, 2012-01-05 at 21:44 -0500, The Geeko wrote: Is there a tool available which properly handles Mallard documents? I normally use Geany, Emacs and Vim... (depending on my mood and the task at hand), but none of these identify Mallard files; therefore, there is no coloring and other assistance. I use nxml-mode in emacs, which does syntax highlighting for any XML file, as well as some other niceties (e.g. C-c C-f closes the current tag). nxml-mode can validate on the fly using RNG schemas. Jim wrote a tutorial on setting this up here: http://j1m.net/2010/08/29/duck-duck-gnu-mallard-and-docbook-5-support-in-emacs/ The RNC file you want is here: http://projectmallard.org/1.0/mallard-1.0.rnc -- Shaun In the interest of helping others, I share this post as the answer to my original question.
What editor can be used to provide highlighting for Mallard project files?
1,351,217,489,000
Using Gnome 3 on Fedora 15, where should I put a script that needs to execute once when the user logs in graphically?
When a user logs into the graphical mode, the predefined desktop environment starts (Gnome 3 in your case). This is the software package that should be used for setting up and configuring anything that is to be started when the user logs in graphically. First create the script, place it in some private place like ~/scripts/ or ~/bin/ and make executable (chmod +x script_path_and_name.sh). Then, from Gnome System menu select Preferences->Startup Programs. Click Add on the right of the list, type any name you want and point Command to the script you just created. I was translating all the menu entries back to English from Polish, so please correct me if I made a mistake there. (My girlfriend's computer is the only one around that has Gnome installed :) )
Where should I put a script that needs to execute once when the user logs in graphically?
1,351,217,489,000
I'm using Debian 10.3 + GNOME 3. When i start my computer i get opened window of MEGAsync program in desktop. I can close this window by ESCape key. But this will have to do every time the operating system starts. It is not comfortable. How to configure automatic removal of this window from the desktop, for example, to tray? Maybe there is some kind of extension for GNOME 3? Addition: I need this program to work in the background every time after operating system starts. This program syncronize files with cloud storage. I need that this program does not appears every time after booting operating system as an open window on the desktop.
I found a solution! The extension SimpleTray for GNOME 3 solved my problem: extensions.gnome.org/extension/1483/simpletray/
How to hide a window from desktop after booting in GNOME 3?
1,351,217,489,000
I am preparing a PC that will be used by a lot of people in the company I work for to access information on our local network through a specific software. The PC will have a Debian 9.3 with Gnome 3 installed. I am trying to shrink as possible the number of software installed, so people do not try to tinker with the system. I understand that a desktop environment is comprised by a lot of individual components devoted to specific tasks, like explained here. I would like to better understand what are the components that are loaded when the graphical environment is built, so I can remove what is not really necessary, and I thought that analysing the script responsible for bringing it up could help me. What is in Debian 9.3 the script I am looking for?
As mentioned earlier apt, apt-get, aptitude, and even dpkg can be used to manage installations of software packages on Debian systems. You will most likely use apt or apt-get to install GNOME. Here is a guide on a minimal install of GNOME on Debian. They happen to show a list of all packages associated with and needed to get a functional GNOME desktop running. Are you using a netinstall image of Debian? Starting there can help make your Debian instance have as few packages as possible. Alternatively you can prune any packages you find unnecessary as long as you pay attention to the output of apt or apt-get and are not removing any of the core components of GNOME. I suggest to start with a with a netinstall, then run aptitude install –without-recommends gdm3 some people report that it is all that is needed to get a working GNOME desktop.
What is the script responsible to bring up Gnome graphic environment in Debian 9.3?
1,511,282,226,000
To be able to access the Minimize and Maximize buttons in Debian, I have to change every users settings from gnome-tweak-tool, individually. Is there a way for me to change every users tweak-tool setting's so that they are all the same, without doing it individually?
Created a user called "tmpuser" Logged in as that user in GUI mode and apply the following tweaks: Enabled Desktop icons (done by launching Tweak tool, and setting “Icons on Desktop” in “Desktop” tab) Enabled maximize and minimize buttons on window title bars (done by launching Tweak tool, and setting “Maximize” and “Minimize” in “Windows” tab) Enabled a Gnome extension to modify Alt+Tab behavior and not group windows by application (done by launching Tweak tool, and setting “Alternatetab” in “Extensions” tab) Created a keyboard shortcut Ctrl+Alt+T to launch a terminal window Set the default applications under All Settings > Details > Default Added the following launchers on the favorites bar: Tweak tool Firefox LibreOffice Writer / Calc VLC File manager Terminal Help Simple scan Applications as follows: Web -> Firefox Mail -> Icedove Calendar -> Icedove Music -> VLC Video -> VLC Photos -> Image viewer Logged out of the newly created user, and then: rm -rf /etc/skel/* cp -ra /home/tmpuser/ /etc/skel chown -R root:root /etc/skel # Double checked that all permissions of /etc/skel and its contents are as prior to replacing the folder (755 root:root for folders, 644 root:root for files) rmdir /etc/skel/Documents/ rmdir /etc/skel/Downloads/ rmdir /etc/skel/Templates/ rmdir /etc/skel/Videos/ rmdir /etc/skel/Desktop/ rmdir /etc/skel/Music/ rmdir /etc/skel/Pictures/ rmdir /etc/skel/Public/ rm /etc/skel/.Xauthority rm /etc/skel/.xsession-errors rm -rf /etc/skel/.ssh/ rm -rf /etc/skel/.cache/ Removed the tmpuser Re-created some of the deleted folders, as otherwise Gnome failed to create them automatically (even though they were originally not there in /etc/skel, but presumably due to the presence of the new config, Gnome thinks that they are already there) mkdir /etc/skel/Documents/ /etc/skel/Downloads/ /etc/skel/Templates/ /etc/skel/Videos/ /etc/skel/Music/ /etc/skel/Pictures/ /etc/skel/Public/ And, applied the same tweaks to the existing users: for i in `ls /home`; do su $i -c "echo $i"; if [ $? -eq 0 ]; then echo ok; cp -r /etc/skel /home/$i/; cp -r /home/$i/skel/.* /home/$i/; rm -r /home/$i/skel; fi; done
Change all tweak-tool config files for all users
1,511,282,226,000
There are many solutions to link things in one figure in applications. However, I would like to link windows in Gebian Gnome open one window etc from Gnome Overview/... the second window opens at the same time I am thinking if such procedure is technically is possible in Debian and Gnome. I would like to create such a procedure etc in MATLAB. Currently, I am just programmatically organising windows to different locations initially when created. OS: Debian 8.5 64 bit Window manager: Gnome 3.14 Linux kernel: 4.6 backports Hardware: Asus Zenbook UX303UA Client app where wanted to apply: MATLAB 2016b
I think this can be a future feature in the coming release, but it cannot be reached itself in Gnome 3.14 now. Next Gnome release is coming at about Q1 of 2017. I think it can help the situation.
How to link windows in Debian Gnome?
1,511,282,226,000
I would like to create a devilspie (the one with Lisp-like syntax, however, a solution for devilspie2 would be just as good) rule that matches windows of the Spotify music streaming app. Specifically, I would like to set its _GTK_THEME_VARIANT property to dark so that the color of its title bar matches the rest of its theme. Currently, I am using (is (window_class) "Spotify") as condition, which seems to work fine if I start devilspie when Spotify already has its window open. However, if I start Spotify when devispie is already running, my rule does not match. It seems Spotify only sets its window_class after its window was already created, therefore the match fails on the creation event. The same thing happens if I use (application_name) instead of (window_class). I can match other windows upon their creation with (window_class) just fine. Is there any way to make a rule that can match Spotify windows when the app starts up?
I have recently noticed that (is (application_name) "Untitled window") matches Spotify as it starts. I did not notice this query matching other windows. Remarkably, it does not even match other Electron apps such as the Slack desktop client. Devilspie running on the console prints the window_name, application_name and window_class of windows as they are detected, thus information about a window can be obtained as it opens. It seems Spotify sets its application_name and windows_class to Spotify later, hence the values obtained by using xprop on the already opened window do not match the values detected by devilspie right as the window is opened.
How to make devilspie match Spotify windows?
1,511,282,226,000
I am writing a script that will systematically install Numix theme using gnome-tweak-tool. I want to make sure that I don't reinstall items if they are already installed, so I used which [name of item] > /dev/null. Here is my current script: function installNumix() { echo "Checking if Numix is installed ..." if ! which gnome-tweak-tool > /dev/null; then if ! which numix-gtk-theme > /dev/null; then if ! which numix-icon-theme-circle > /dev/null; then echo "Installing Numix ..." sudo add-apt-repository ppa:numix/ppa sudo apt-get update sudo apt-get install numix-gtk-theme numix-icon-theme-circle -y sudo apt-get install gnome-tweak-tool -y echo "Configuring Numix:" echo "====================================================================" echo "Please use the 'tweak-tool' to change your theme to 'Numix'." echo "[GTK+]: Numix." echo "[icons]: Numix-Circle." echo "====================================================================" gnome-tweak-tool echo "Numix has been manually configured." source ~/.profile changeBackground backgrounds/background.png changeProfilePicture $(whoami) profile_pictures/profile_picture.png echo "The Numix has been installed." sleep 5 fi fi else echo "Numix has already been installed." sleep 5 fi } My .profile file: #Change desktop background f(x) #Ex. changeBackground /path/to/image.png function changeBackground() { FILE="file://$(readlink -f "$1")" fileName="${FILE##*/}" # baseName + fileExtension echo "Changing desktop background to: '$fileName' ..." dconf write "/org/gnome/desktop/background/picture-uri" "'$FILE'" echo "Desktop background has been changed." sleep 5 } #Change profile picture f(x) #Ex. changeProfilePicture username /path/to/image.png function changeProfilePicture() { FILE="$(readlink -f "$2")" fileName="${FILE##*/}" # baseName + fileExtension echo "Checking if 'imagemagick' is installed ..." if ! command brew ls --versions imagemagick >/dev/null 2>&1; then echo "Installing 'imagemagick' ..." brew install imagemagick -y echo "'Imagemagick' has been installed." sleep 5 else echo "'Imagemagick' has already been installed." sleep 5 fi echo "Changing profile picture to: '$fileName' ..." sudo mkdir -p '/var/lib/AccountsService/icons/'"$1" sudo convert "$2" -set filename:f '/var/lib/AccountsService/icons/'"$1/%t" -resize 96x96 '%[filename:f].png' echo "Profile picture has been changed." sleep 5 }
Instead of getting the user to manually use gnome-tweak-tool, you can set the gtk and window-manager themes and the icon-theme in your script with gsettings. e.g. gsettings set org.gnome.desktop.interface gtk-theme Numix gsettings set org.gnome.desktop.wm.preferences theme Numix gsettings set org.gnome.desktop.interface icon-theme Numix-Circle BTW, unless numix-gtk-theme and numix-icon-theme-circle are executables somewhere in the PATH directories, running which on them will not do what you want. Check for the existence of a specific file or directory, instead. e.g. if [ ! -d /usr/share/themes/Numix ] ; then ... fi I don't have the Numix theme installed, so I don't know if that's the right directory - use dpkg -L numix-gtk-theme and dpkg -L numix-icon-theme-circle to find out the correct directories to search for. Alternatively, don't bother checking to see if the packages are already installed. Just run: apt-get -y install numix-gtk-theme numix-icon-theme-circle gnome-tweak-tool (optionally redirect stdout and stderr to /dev/null) If the latest version of those packages is already installed, apt-get will do nothing. Otherwise, it will install or upgrade them. Finally, use sudo add-apt-repository -y ppa:numix/ppa so that it doesn't prompt the user. If the repository has already been added, no harm done - it will comment out previous entries in the /etc/sources.list.d/numix-ubuntu-ppa-yakkety.list file and add the ppa to the start of the file.
How would I make this script more efficient? [closed]
1,511,282,226,000
I'm using fedora 23 64 bits here, i suppose i have all dev deps installed, however this last one i don't know how to solve: [sombriks@sephiroth planner]$ sh autogen.sh /usr/bin/gnome-autogen.sh ***Warning*** USE_COMMON_DOC_BUILD is deprecated, you may remove it from autogen.sh ***Warning*** USE_GNOME2_MACROS is deprecated, you may remove it from autogen.sh ***Warning*** PKG_NAME is deprecated, you may remove it from autogen.sh checking for automake >= 1.9... testing automake... found 1.15 checking for autoreconf >= 2.53... testing autoreconf... found 2.69 checking for intltool >= 0.25... testing intltoolize... found 0.51.0 checking for pkg-config >= 0.14.0... testing pkg-config... found 0.28 checking for gtk-doc >= 1.0... testing gtkdocize... found 1.24 Checking for required M4 macros... **Warning**: I am going to run `configure' with no arguments. If you wish to pass any to it, please specify them on the `autogen.sh' command line. Processing ./configure.ac Running gtkdocize... Running intltoolize... Running autoreconf... autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force --warnings=no-portability autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:6: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:10: installing './compile' configure.ac:6: installing './missing' automake: error: cannot open < xmldocs.make: No such file or directory autoreconf: automake failed with exit status: 1 [sombriks@sephiroth planner]$ Any help is welcome.
While hitting the same problem I found out that the below helped: touch xmldocs.make
unable to compile GNOME planner from source
1,511,282,226,000
OS: Archlinux Emacs: 24.5 Theme: Solarized-light It is ok before upgrading to gnome-unstable(3.20)
The bug seems to be in the gnome-unstable gtk3 package. As a temporary workaround you could disable the gnome-unstable repository in your pacman.conf and downgrade your local gnome packages to the stable versions with sudo pacman -Syyuu In my case this fixed the blue screen bug in emacs.
Emacs got blue background after upgrading to 3.20
1,511,282,226,000
I need to change the trisquel 7.0 look to become like that i knew that trisquel uses GNOME 3.4.2 but it looks strange, so is there a way that can i follow to replace the trisquel look with the one in the picture ?
1 - install gnome-shell from synaptic package manager 2- restart pc 3 - select gnome3 from the gdm login screen
how can i make trisquel look like gnome 3?
1,511,282,226,000
After I logout I can't login back. I type the password but just got a blink, then the login screen is back again without error messages. I have to reboot to login again. Besides, even the Nautilus that's shipped with Fedora, keeps crashing over and over. I suspect it's something related do desktop manager. I'm using Cinnamon now, but even with Gnome 3 the error happens. Some tips about how to fix it?
I am having this same problem, and only since upgrading to Fedora 23: I log out and when I try to log back in, I get sent back to the login screen. I have been looking for a relevant bug report but can't find one (and since I do have a Fedora account, I might just start one). There is a Fedora bug report for this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1266587 My workaround is: After logging out, go to a virtual console with ctrl-alt-F2 Log in at the console. Then log out. Go back to GDM with ctrl-alt-F1 Log in as normal. It will now work.
Fedora 23 - can't re-login after logout
1,511,282,226,000
I want to start gui-java application on startup. So I tried to use /etc/xdg/autostart/ with my .desktop debian@debian:~$ cat /etc/xdg/autostart/alclient.desktop [Desktop Entry] Name=ALClient GenericName=ALClientt Comment=ALClient Exec=/home/debian/my/app/2.4.93/client/bin/client.sh Terminal=false Type=Application X-GNOME-Autostart-enabled=true and cat of client.sh: #!/bin/sh OPTIONS= if [ -f client.l4j.ini ] ; then OPTIONS=$(grep -v '^#' client.l4j.ini | tr -d "\r" | tr "\n" " ") fi java $OPTIONS -jar client.jar But when I restart my computer the application does not start. I determnate two problems: When I try to start app from ~/ debian@debian:~$ sh /home/debian/my/app/2.4.93/client/bin/client.sh Error: Unable to access jarfile client.jar But when I start from its own directory then all is ok. debian@debian:~/my/app/2.4.93/client/bin$ sh /home/debian/my/app/2.4.93/client/bin/client.sh Dec 20, 2015 9:25:12 PM checkJVMVersion WARNING: Run only with jre 1.8 ... My app set some default directory for its own. Home Directory = /home/debian/my/app/2.4.93/client Data Directory = /home/debian/my/app/2.4.93/client/data Logs Directory = /home/debian/my/app/2.4.93/client/logs Config Directory = /home/debian/my/app/2.4.93/client/conf Locale Directory = /home/debian/my/app/2.4.93/client/locale I'm afraid that app will use other directory rather than define if start from /etc/xdg/autostart/ How I should correct setup autostart after login?
Keeping your existing setup as described in your question, modify client.sh like so: #!/bin/sh OPTIONS= this_dir="$(dirname "$(realpath "$0")")" if [ -f "$this_dir/client.l4j.ini" ] ; then OPTIONS=$(grep -v '^#' "$this_dir/client.l4j.ini" | tr -d "\r" | tr "\n" " ") fi java $OPTIONS -jar "$this_dir/client.jar" Save, then, restart your computer, see if it now starts up. Explanation /etc/xdg/autostart desktop file looks fine, so more likely the script it runs, client.sh, is the source of the problem the script client.sh that you posted had an extra backslash: \#!/bin/sh, but normally it is just #!/bin/bash to specify bash, or in your case #!/bin/sh is fine and let your system decides what sh should run, bash or otherwise. you said client.sh fails to work when run elsewhere but works when called from same directory containing client.sh, plus I see client.sh makes references to file names directly with no other code clarifying paths, which all suggests path problems referencing file names directly like that works only when current working directory contains those files, so to deal with uses when you are not running client.sh in the containing directory, we need to add extra code to help the script determine the full path this_dir="$(dirname "$(realpath "$0")")" is based on Bash - refer to a file under the same directory where $0 is the full path to client.sh, realpath resolves in case there are sym link issues, and dirname just then obtains the path except for client.sh, thus obtaining the containing directory, saving it $this_dir $this_dir/client.l4j.ini: containing directory +file, so script can properly find client.l4j.ini $this_dir/client.jar: containing directory +file, so script can properly find client.jar So, now that the script can properly find all the files necessary to run, and as long as you you restart to make it effective, it should now run.
Autostart application on login
1,511,282,226,000
I installed the gnome-manual-duplex package from the AUR. In Ubuntu this used to add a virtual printer that you could print to. No printer was added when I installed this package on Arch linux. The application was installed and can be run standalone but it's mostly useful when used as a printer. How do I go about manually adding this printer to the list of available printers? It is not shown in the CUPS admin page. The official site says: Using the Gnome 3 Shell GUI: 1) $ gnome-session-properties Startup Programs -> GnomeManualDuplex -> Enable [logout][login] 2) Print -> GnomeManualDuplex (Virtual Printer) -> Print But there's no package called gnome-session-properties. There's one in AUR but it is outdated.
I solved the problem. The issue is that the /etc/xdg/autostart/gmd-applet-3.py.desktop runs a python2 script whereas the default python on Arch is python 3. I modified the EXEC line in the .desktop file from: Exec=/usr/share/gnome-manual-duplex/gmd-applet-3.py run-in-tray to Exec=python2 /usr/share/gnome-manual-duplex/gmd-applet-3.py run-in-tray and it worked perfectly.
Gnome-manual-duplex in Gnome 3 on Arch linux
1,511,282,226,000
I have this extension, which I created as a spin off of this one and is basically the same, it just removes the adding of buttons to the panel (I did this to make it easier to use on a computer with a small screen). I have created a few updates for it, but I cannot work out how to upload them. Is there a place I can find documentation to do this (here)
(that was easy) Updating the version number properly and then uploading the zip file here worked.
How can I update my Gnome Extension?
1,411,611,334,000
I recently bought a laptop and wrote a script that sets up a reverse ssh tunnel if a certain user logs in through GDM. I did this because I've had a laptop stolen in the past and would like to be prepared in case it happens again. I put the script in the directory below which GDM runs as root whenever a user logins. /etc/gdm/PostLogin/Default Here is the script itself: if [[ "$(users)" = "user user" ]]; then while (( "$(netstat -an | grep -E "\:22[ \t]+" | grep ESTABLISHED | \ wc -l)" < "1" )) do ssh -fvN -p 22 -R tunnelport:localhost:sshdport [email protected] sleep 20 done fi The script runs if I'm already logged in, but if I login through GDM the first if statement fails. If I remove the if statement then it hangs on the ssh command. Any ideas on what I can do?
I would enable this script so that it's verbose and writes its output to a file so that you can more easily ascertain what's tripping it up. For increased verbosity add this before the first if statement. set -x To get the script logging everything to a file you can use this method that's described in this SO Q&A titled: How can i fully log all bash scripts actions?. The following is most excerpted from that post: #!/bin/bash exec 3>&1 4>&2 trap 'exec 2>&4 1>&3' 0 1 2 3 exec 1>log.out 2>&1 # Everything below will go to the file 'log.out': Explanation: exec 3>&1 4>&2 Saves file descriptors so they can be restored to whatever they were before redirection or used themselves to output to whatever they were before the following redirect. trap 'exec 2>&4 1>&3' 0 1 2 3 Restore file descriptors for particular signals. Not generally necessary since they should be restored when the sub-shell exits. exec 1>log.out 2>&1 Redirect stdout to file log.out then redirect stderr to stdout. Note that the order is important when you want them going to the same file. stdout must be redirected before stderr is redirected to stdout.
Run script after GDM login into GNOME?
1,411,611,334,000
Since I discovered gnome3-shell I really appreciated the different Dekstop-type to work with, and I'm still using it. But, I'm battery-addict (using a laptop) and I'm feeling poor performances and less support with Gnome3, consuming too resources, such as long loadings of little programs and some laggy animations, the Arandr that resets to default everytime the layout for the dual-monitor, and the plug-ins that are no more developed. So my question is: is there a Gnome3-like DE solution? or what would you suggest for me? I am using the Gnome-shell because I like the multiple and dynamic multi-desktop creation and easy managing of multiple monitors without any configuration-writing. Also, I tried KDE once, but it is pretty hard to understand the usage, and I had some graphic glithces.
There are many alternatives for a graphical desktop. These involve Desktop environments (DEs) like GNOME or KDE. They offer a complete graphical interface, pre-loaded with the necessary apps like a file manager, web browser, etc. They are usually very resource consuming, and this can reduce the battery lifetime due to the higher CPU usage. If GNOME3 is performing poor on you machine, and you still want a complete DE, there are lighter alternatives as well: LXDE or XFCE are the most common ones. If you want something even lighter, then a window manager (WM) is the way to go. They only handle window management (resizing, maximizing, drawing a border, etc.), which means that you have to build the environment from scratch - you have to download each application, configure the theme, etc. There are several WMs available, I think Openbox is a good one to start, but there are more advanced ones as well, see the Wikipedia comparison and this guide for some ideas. I would recommend going for a lighter DE, I personally prefer XFCE, but it's just a matter of personal taste. If you're still not satisfied with the results (resource usage, battery life), then you can't avoid using a window manager, which is fun if you enjoy configuring and tweaking your desktop. They offers very flexible configuration through config files.
Gnome3-like alternatives [closed]
1,411,611,334,000
I recently installed Arch Linux on my Mini-ITX machine using the recommended xf86-video-ati driver for the AMD Llano-APU. XFCE works -- with compositing -- perfectly fine, but Gnome 3 shows a lot of glitches, like you can see in the pictures below. Any ideas how to fix this, without using the proprietary Catalyst driver? Update XFCE also has some (subtle) glitches. output of lspci: 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7540D] 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller 00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03) 00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03) 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40) 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11) 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11) 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11) 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11) 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 14) 00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11) 00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40) 00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11) 00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
Fixed with xf86-video-ati version 1:7.2.0-2.
Graphic glitches with Llano APU in gnome 3 (Arch)
1,411,611,334,000
I am trying to load Compiz on my Fedora 15 desktop. When I finished installing the compiz packages, I restarted. However, it started in text terminal mode and the gui didn't load automatically. I executed following commands externally to load my gui (in root mode): cd /etc/dconf/db exec gdm Though that is working perfectly, I want to load the GUI automatically.
Fedora 15 uses systemd. First make sure you're running the 'graphical' target by making sure that /etc/systemd/system/default.target is a symlink to /lib/systemd/system/graphical.target, which is the equivalent of runlevel 5 (and not multi-user.target, which is the equivalent of runlevel 3). Next, make sure that the 'prefdm' service is running. Check the output of systemctl status prefdm.service. it should show that it's loaded and active. If you weren't at the graphical target, it probably won't be. Now, if you already had it in the graphical target, it's possible that X isn't starting due to some error. Check the log files in /var/log/gdm, look at the files with the timestamp of the last time you booted, to see if maybe something was broken.
How can I autostart GDM on Fedora 15?
1,411,611,334,000
Nautilus, for some reason, becomes very ugly when using custom GTK+ themes. I can't figure out why. There are only a few ones GTK+ themes work properly with Nautilus. How do I fix this? Is this a Nautilus issue? Here's a list of data that I think might be relevant: I'm using GNOME 3 on ArchLinux Icon themes aren't working under any account but root for Nautilus (works for other applications) Window themes are being ignored by Nautilus, Gnome Tweak Tool and System Monitor System restart, GNOME restart or Nautilus restart does not fix anything Some themes work (Zukitwo and Numix)
Themes that make Nautilus look ugly are not updated to support that new header bar widget that came with GTK 3.10 some examples of themes that don't work and some that do work:
Nautilus ugly with custom GTK themes
1,411,611,334,000
I am currently using Arch with the GNOME desktop environment. I do not know where to specify the programs I want to run automatically when the computer boots. If there are multiple methods (GUI or non-GUI) to achieve this, I would like to know both.
You can add the applications you want to automatically start when booting the system by adding them to Startup Applications in the tweak-tool - open the Tweak Tool from Activities launcher : Alternatively copy a .desktop file from /usr/share/applications/ to ~/.config/autostart/.
How do I specify the programs that I want to run when the computer boots ? [Arch]
1,411,611,334,000
I'm running ArchLinux and gnome shell 3.16.1. GTK+ theme: Evopop-gtk-theme Icons: Adwaita Global dark theme. Running applications like nautilus, gnome-tweak-tool, dconf, system-monitor, gnome-terminal I get the style I have configured. The problem is when I run other applications like Filezilla, Thunderbird, Caja, Terminator, Eclipse, Wireshark ... Then I get an old style looking and I don't know what is happening. If I run other window manager like awesome-wm or i3 I get a default adwaita style in all applications. Let me show you an example: And here is some basic config: /home/n/.config/gtk-3.0 settings.ini [Settings] gtk-application-prefer-dark-theme=1 gtk.css .header-bar.default-decoration { padding-top: 3px; padding-bottom: 3px; } .header-bar.default-decoration .button.titlebutton { padding-top: 2px; padding-bottom: 2px; } /home/n/.config/gtk-2.0 empty
As far as I know Adwaita GTK theme is for both GTK3 and GTK2, but the theme you installed (Evopop-gtk-theme) seems to work only for GTK3. So that's why GTK2 applications look ugly. The way to fix it is to install lxappearance (or any other GTK2 config tool, but this one is lightweight and has no dependencies) and set GTK2 theme to something similar to your current GTK3 theme.
GTK applications looking bad
1,411,611,334,000
I want to get rid of the automatically installed solitaire "games" in my brand new Fedora 18. I tried the gnome way, but nothing gets listed when I search for "silitaire". I tried the command line way: $ su -c 'yum remove *solitaire' Password: Loaded plugins: langpacks, presto, refresh-packagekit No Match for argument: *solitaire No Packages marked for removal
The program you are looking for is /usr/bin/sol, part of package aisleriot. In any case, you should be able to: yum erase /usr/bin/sol (yum understands package names, file names and features provided; and also handles groups of packages).
How do I remove a simple piece of software?
1,411,611,334,000
I am using Debian 12. Gnome 43. zsh is my default shell (sudo chsh --shell /usr/bin/zsh ismail). In my .zshrc, I have set the path variable like: export PATH="$HOME/.dotfiles/.cargo/bin:$PATH" The alacritty binary is located in: % which alacritty /home/ismail/.dotfiles/.cargo/bin/alacritty The following desktop file works: [Desktop Entry] Type=Application Exec="/home/ismail/.dotfiles/.cargo/bin/alacritty" Icon=Alacritty Terminal=false Categories=System;TerminalEmulator; The following desktop file does not work: [Desktop Entry] Type=Application Exec=alacritty Icon=Alacritty Terminal=false Categories=System;TerminalEmulator; I have no idea why this is not working. I want to point out one thing. $ which foliate /usr/bin/foliate If I set Exec=foliate, then it works. So, I guess it has something to do with the path. The system that runs .desktop files is not probably seeing the path variable set in .zshrc. What can I do at this point. Update 1: If I use the following desktop file: [Desktop Entry] Type=Application Exec=gnome-terminal -e "zsh -c 'echo $PATH;$SHELL'" Icon=Alacritty Terminal=false Categories=System;TerminalEmulator; Name=Alacritty GenericName=Terminal Comment=A fast, cross-platform, OpenGL terminal emulator StartupWMClass=Alacritty Actions=New; Then the path variables are: /home/ismail/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin % echo $SHELL /usr/bin/zsh % echo $PATH /home/ismail/.dotfiles/.cargo/bin:/home/ismail/.local/bin:/home/ismail/bin:/home/ismail/.dotfiles/.resources/git-scripts:/home/ismail/.dotfiles/.resources/zsh-scripts:/home/ismail/.dotfiles/.resources/python-scripts:/home/ismail/.dotfiles/.resources/bash-scripts:/home/ismail/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin So the desktop file is not seeing the first part or the path variable which i set later in .zshrc (/home/ismail/.dotfiles/.cargo/bin:/home/ismail/.local/bin:/home/ismail/bin:/home/ismail/.dotfiles/.resources/git-scripts:/home/ismail/.dotfiles/.resources/zsh-scripts:/home/ismail/.dotfiles/.resources/python-scripts:/home/ismail/.dotfiles/.resources/bash-scripts:). Where do I need to set the $PATH variable so that .desktop file can see when i am using zsh as my default shell.
The following solved my problem: When bash is the default shell, have to use .profile to set environment variables. When zsh is the default shell, have to use .zshenv to set environment variables. we must logout then login to get the path variables.
Where do I need to set the $PATH variable so that .desktop file can see when i am using zsh as my default shell
1,411,611,334,000
On my personal laptop I'm using Fedora 29 and have two user accounts for myself; let's call them "personal_admin" and "personal_user". My personal_admin account is strictly for administrative tasks (installing software and updates mostly), which my personal_user account is for day-to-day use. Is this overkill? How secure is switching between users using virtual terminals (CTRL+Alt+F#) versus the GNOME "Switch User" command? Does the situation change if I switch virtual terminals and then launch a GUI? Suppose that my personal_user account is completely compromised and malware is running as a daemon with personal_user's privileges. I know that I shouldn't su personal_admin while signed into personal_user since the malicious daemon could easily record my personal_admin credentials. Does using virtual terminals or the GNOME "Switch User" command mitigate against this, or is the only safe option to sign out of personal_user (or maybe even reboot)?
From a security perspective, switching VTs directly and using GNOME’s “switch user” are equivalent. The “switch user” feature is more about making it user-friendly, than it is about security: it means you don’t need to know which VT you’re logged in on, or even whether you’re logged in yet. If your two accounts are completely separate (in particular, neither can write anywhere the other account will read important information from), this will mitigate user-level compromise from one account to the other. Determining what constitutes a “safe” option for you really requires determining what risks you want to prevent, or minimise, and how far you’re willing to go to do so.
How secure is switching TTY sessions vs GNOME "Switch User"?
1,411,611,334,000
I prefer getting things done using the keyboard instead of the mouse. In Gnome to shutdown the PC, I have to click several times to shutdown my PC. I prefer to press Alt+F2 and type poweroff. My question is: Do these two different methods perform the same actions and if not, what is the difference?
When I do ls -l /sbin/poweroff I can see that /sbin/poweroff is only a symbolic link to /bin/systemctl. So there should be no difference (at least on my system). TIP: I would do it with Ctrl+Alt+Delete and then Enter as I find it easier.
Different ways of powering off
1,411,611,334,000
Is there a way in Gnome3 on CentOS7 to list the actual keyboard shortcuts for things like the activities view? I can find lots of web pages that tell me what they should be, but I'd like to know for sure. For instance, a "Gnome Help" site says that the shortcut for the activities view is "Alt-F1", but that just brings up the Application menu. I want a shorter sequence to bring this up. That same page also refers to a "Super" key, but I don't have that key on this HP "Z Book". After I get a list of these shortcuts, how can I change them?
You can see all shortcuts under "Keyboard" in the "Settings" and add custom ones. And you can change the key for the applications menu in the Gnome Tweak Tool.
How to determine or set keyboard shortcut for activities view in gnome3 on centos7?
1,411,611,334,000
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 now what is the easiest way to run this one bash line of code at startup??? I am running Gnome 3.14.
You can use gnome-session-properties in terminal or using Alt+F2. That opens up Startup Applications Preferences in my Linux Mint (could be different for your distro). Give a name for your command (optional) Write the bash code in Command option Add any comment (optional) Alternatively, you could give a command to execute a bash file (which contains your code) in the commands option. UPDATE: As notified by don_crissti you have to use gnome-tweak-tool instead. I'm guessing it still has similar options.
I need to run a one line startup script under gnome and systemd
1,411,611,334,000
I need to open a couple of terminal windows and watch the output of a couple of programs. Currently I open them in ~/.profile, then once in Gnome I click them to bring them to the front, then resize them, then select "Always on top", then move them to a specific spot on my screen. Can this all be done automatically? Similar question, but I am not very familiar with X, and maybe Gnome offers an easier solution.
Gnome is a EWMH/NetWM compatible X Window Manager. You should use wmctrl to interact with the windows that works very well. wmctrl -r part-of-title-string -e 0,100,200,300,400 sets a window with "part-of-title-string" in the title to width 300, height 400 at position 100,200 (the 0 is for default gravity). wmctrl -r part-of-title-string -b add,above makes sure that window is always on top.
Gnome 3: open and resize application at startup
1,411,611,334,000
I am using Debian Testing (Sid) and i want to install Gnome 3.10. How can i do it? Is there a repository I can add in order to upgrade? I have searched a lot and the only thing I have found is the Ubuntu repositories but I don't think that's safe. sudo add-apt-repository ppa:gnome3-team/gnome3-next sudo add-apt-repository ppa:gnome3-team/gnome3-staging sudo apt-get update sudo apt-get dist-upgrade
No, it is not safe, Ubuntu repositories are not compatible with Debian. While they might work, it is really not a good idea to mix them. At the moment, the newest version of gnome available in the Debian repos is 3.8. If you really want to try the new Gnome out, you will either have to wait until a .deb is released (keep your eye on the experimental and unstable repositories) or, if you just can't wait, you will need to compile and install it from source. The easiest way to do that would be to use JHBuild and build the package yourself. See here for instructions.
How to install Gnome 3.10 on Debian
1,411,611,334,000
Sometimes (rather rarely) when I boot up my laptop, my Gnome3 desktop stops loading. I can move the mouse, but there's nothing else on the screen (except my wallpaper). And it seems that no matter how long I wait, the gnome menubar (the thingie with the Activities and shutdown buttons at the top of the screen) just refuses to load. Also my processor-usage starts to converge to 100% on all four cores, when this happens. This problem can be easily solved by restarting gdm3, but it's still annoying and I have no clue why this might happen. My system uses the standard gnome metapackage from the wheezy repo. (It might or might not be relevant.) I have no clue what causes this so any ideas are welcome.
This appears to be issues with gnome-shell at various times across multiple distros (Red Hat for example). Your best bet would be to browse and file a bug in Debian BTS, including relevant output from strace, top, etc. Note that Debian 6 is still the Stable release and Debian 7 is Testing. Your help reporting and tracking the issue in BTS will help make the release more stable.
Debian 7: Gnome3 sometimes stops when loading
1,411,611,334,000
I have recently installed Arch Linux and GNOME 3 on my new laptop and have a problem whereby nm-applet is not showing in gnome-panel, unless I manually restart the NetworkManager daemon.
I found the answer with help of the Arch Linux Forums: I tried to start the networkmanager daemon before the dbus daemon, which does not work. Changing the order solved the problem.
nm-applet not showing until NetworkManager restart in GNOME 3
1,411,611,334,000
I was surprised to see that Gnome 3 extensions are updated automatically by Debian. Hence, I am wondering: Which community procedures or practices make it difficult to inject harmful code in this way?
Which community procedures or practices make it difficult to inject harmful code in this way? There's a human review process, https://gjs.guide/extensions/review-guidelines/review-guidelines.html#basics
Safety of automatically updated Gnome extensions
1,411,611,334,000
Essentially what I want is to run vscode without giving it permission to read my home directory. So I created a new user vscode and downloaded the .tar.gz file from https://code.visualstudio.com/#alt-downloads Now I'm trying to run code as vscode while logged in as me, like this: ~$ su - vscode -c "/home/vscode/code-stable-x64-1638855856/VSCode-linux-x64/bin/code --verbose" Password: [8347:1214/125108.021461:ERROR:browser_main_loop.cc(1402)] Unable to open X display. The futex facility returned an unexpected error code. /dev/fd/3: No such file or directory Server response: I also tried using ssh -Y vscode@localhost and then starting code from within, which worked, but I'd like to avoid using ssh if possible.
you need to Set the $DISPLAY variable correctly, give access to the ~/.Xauthority file share the socket within the /tmp/.X11-unix directory Note that once you share your X server with a different client, it's basically the same as running the program as your own user, security-wise: the client can observe the keyboard, take screen shots, synthesize key presses, and I wouldn't be surprised if some lesser-used functionality in the X11 protocol (loading textures? Fonts?) could be abused as remote file reader. Not an expert in the X11 protocol, though. Since the isolation is super weak, anyway, you could also be less complicated in how you restrict access to your home directory: Containers. Linux has namespaces, and technologies like docker, kubernetes, snaps and so on depend on that. What you can do is start a process, as a normal user, and give that process a complete own view of the user and file system landscape – one without your home directory. Podman is one of these technologies, and it's available on debian, IIRC. Installing it should be as straightforward as possible: sudo apt install -y podman Then, you should just be able to run containers: podman run -it --rm debian:sid # | | | | # +--------------- Run subcommand: run a container # | | | # +----------- interactive, i.e., assign a virtual terminal, # | | so you can see and type into an interactive session # | | # +------- Remove the container after you're done - no data survives, # | if it's only in the container. Of course, things on # | volumes specified using the -v source_path:destination # | persist, since they are "outside". # | # +-- name:tag is the way to specify what # container you want to fetch in which version To run something graphical, you need to allow the things mentioned above, and tell SELinux you're up to things you promise are OK: podman run -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix:Z \ -v ~/.Xauthority:/root/.Xauthority:Z \ --security-opt label=type:container_runtime_t \ -it --rm fedora:35 # |||| # +---- -e INSIDE=OUTSIDE set an env variable INSIDE inside the # ||| container to the value OUTSIDE # ||| # +--- -v SOURCE:DEST[:permissions] # || SOURCE directory or file appears under DEST within # || container; :Z means that the podman-running users' # || permissions are translated to root permissions inside. # || Here, mount the host's X11 socket directory at the same place # || # +-- -v SOURCE:DEST[:permissions] again # | Here, mount the podman-running user's ~/.Xauthority # | as /root/.Xauthority owned by root. # | # +- --rm -it: see above [root@4da385540218 /]# see how you're suddenly root inside a container that you've started yourself – as non-root! We can now install vscode into this container, sharing your folder ~/sourcecode as /sourcecode in the container, and using that as user data directory for vscode: podman run -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix:Z \ -v ~/.Xauthority:/root/.Xauthority:Z \ --security-opt label=type:container_runtime_t \ -v ~/sourcecode:/sourcecode:Z \ -it --rm fedora:35 [root@4da385540218 /]# rpm --import https://packages.microsoft.com/keys/microsoft.asc [root@4da385540218 /]# echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo [root@4da385540218 /]# dnf --refresh update -y [root@4da385540218 /]# dnf install -y code [root@4da385540218 /]# code --user-data-dir /sourcecode/ --no-sandbox
How to run an X app (vscode) as another user
1,411,611,334,000
I have been trying to find the source code for GNOME desktop versions 3.14 and 3.26, but it seems like there is nowhere to look anymore. Are there any FTP's or mirrors with those? Thanks in advance.
Gnome's sources are hosted by gnome.org. More specifically: https://download.gnome.org/sources/gnome-shell As I'm on Debian-based system, I would probably just get a copy of the sources using apt source gnome-shell. That would contain all of the distro-specific building rules and patches. If you want the upstream releases and are search-engine averse, inspect the /usr/share/doc/gnome-shell/copyright. All Debian-based source code will have a copyright file there. On Debian-based systems, gnome is a metapackage which includes a ton of software (gnome-maps, gnome-music, gnome-calendar, gnome-shell). I've assumed you're talking about gnome-shell, but you can browse sources of their other projects too. In case you are looking for their scm repositories you can find them at: https://gitlab.gnome.org
Where can I find a mirror for full GNOME 3.14 & 3.26?
1,411,611,334,000
I use Gnome 3.36.3 (Ubuntu 20.04.1) with GnuPG 2.2.19 as SSH agent. I tell OpenSSH where to find the GnuPG SSH agent socket in my ~/.profile file: export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) This works fine in terminal windows. Whenever I connect to a remote SSH server, I get prompted for my PIN. But when I try to connect to a remote SFTP server with Nautilus, I get errors, either an message like "not authorized!" or I am asked for username and password (which of course won't work as I use keys only). As a manual workaround I found out, that after a pkill gvfsd and a complaining beep from Nautilus, SFTP connections will work as expected. So apparently gvfs is not aware of my GnuPG SSH agent after login. but will be later, when killed and restarted. What do I have to do, to make gvfs aware of my GnuPG SSH agent, wwithout killing manually first?
TLDR: sudo chmod +x /lib/systemd/user-environment-generators/90gpg-agent && reboot The Longread: When opening remote locations with Nautilus, the gvfs-daemon takes care of connecting to the remote system and mounting its file-system in the background. gvfs is managed by systemd. And systemd seems to manage its own environment independently of what you put in ~/.profile or ~/.bashrc. Somehow later in the session, i.e. when a bash terminal window was opened, the environment setup ~/.profile and ~/.bashrc might be available to newly started processes, but not right from the beginning. I am not really sure how this part works, but the resulting facts are easily observable: If you look at the environment of the gvfs-daemon.service right after login you see the following: # Get the PID of the running gvfsd $ FIXME=$(systemctl --user show --property="MainPID" gvfs-daemon.service | grep -o '[0-9]*') # Show the environment of the running gvfsd $ tr "\0" "\n" < "/proc/${FIXME}/environ" You will see that the environment is a lot smaller compared to your bash session with the env command: More importantly, there is no SSH_AUTH_SOCK variable in the gvfsd process environment. If you restart the the gvfs service now from your bash terminal and look at the environment again: $ systemctl --user restart gvfs-daemon.service $ FIXME=$(systemctl --user show --property="MainPID" gvfs-daemon.service | grep -o '[0-9]*') $ tr "\0" "\n" < "/proc/${FIXME}/environ" Now the SSH_AUTH_SOCK variable is present, the SFTP client invoked by the gvfs-daemon will use the gpg-agent-socket as SSH agent, and remote folders in Nautilus will work as expected. The Debian GnuPG package maintainers where aware of this problem and made a systemd user environment generator script available at /lib/systemd/user-environment-generators/90gpg-agent. However that script has its executable bit not set, and therefore is probably never started. After making it executable and rebooting the system, SFTP connections open as expected right from the beginning. $ sudo chmod +x /lib/systemd/user-environment-generators/90gpg-agent $ reboot Note: While researching this I was mislead several times, because the environment keeps changing while working on the system. To be sure, always do a full system reboot. Just logging out and log back in of your Gnome session, apparently doesn't reset everything to the same state as right after a system start.
How to start GnuPG SSH Agent for gvfs?
1,411,611,334,000
In Ubuntu 18.04 Bionic Beaver with GNOME 3 we can use dconf to set a lot o keybindings. What is the syntax to associate AltGr (that is right Alt) to a keyboard shortcut?
The AltGr key is used as a modifier to other keys on many layouts, so I guess that's why it can't be used. On my layout, Norwegian, AltGr+2 makes @, for instance.
How to set a dconf keybinding to use <AltGraph> key?
1,411,611,334,000
I would to know how to delete the gnome web browser from the browser. I'm not finding it's name. I can see a lot of the gnome apps by typing gnome- and pressing tab, but the web browser is not located there.
The traditional name of the gnome web browser is Epiphany. You can remove it with the command sudo apt remove epiphany-browser
How to delete gnome web from the terminal?
1,411,611,334,000
Seems like i today updated my system. After system reboot i can see Login screen. But after login with my user, booth screens turn in black and after ~30-45 seconds i get kicked back to login screen. By pressing CTRL+ALT+F2 from Login screen i can get into terminal mode and can log in. I tried to run startx with no luck. After some loading got bunch of output. (See linked img's) Then i tried sudo startx and got logged into GUI but as root user (not what i want). Then i removed current Nvidia driver 410.XX and installed new 4.15.XX from Nvidia website. Still the same issue. I tried to remove RHGB and to update EFI grub config. Still nothing. What i am doing wrong?
I will post answer on my own. 1) Check /home permissions by entering ls -la /home in your terminal. If you see that owner of /home/user directory are not your user but for example root then you should change it to be your user. 2) Change ownership of /home/user directory by entering chown -R user:user /home/user in your terminal. This will recursively change ownership for all files and sub-directories of /home/user directory for your regular user. Check ownership again by entering command above. 3) Run startx and you should be back to live. :) 4) Probably can do full system reboot.
Black screen after Login Fedora 29
1,411,611,334,000
Nautilus 3.26 does not show icons normally, but before I upgraded to nautilus 3.26, in nautilus 3.24 icons are shown normally without any problem. Nautilus 3.26 shows icons like the following picture. How can I fix it ? https://i.sstatic.net/1lUn5.png
Downgrade pango library used for text rendering. This solved my problem. sudo dnf downgrade pango-1.40.12-1.fc27.x86_64 pango-1.40.12-1.fc27.i686
Fedora Nautilus 3.26 Icon Alignment Problem or Bug: Icons are misaligned
1,411,611,334,000
I am trying to have some stability in image orientations but they differ in Debian image viewer/LaTeX and with image viewers. I do but it does not have an effect on the orientation of wrongly positioned images; manually adjusting it with -Orientation=[1234] does not help exiftool -Orientation=1 -n *.jpg Fig. 1 Output where the same image is opened in image viewer (Shotwell, ...) and Debian Space review (same output in LaTeX) I thought first that the image orientation was the mistake but it is not because doing convert masi.jpg -rotate 90 masi-rotated.jpg keeps also the relative difference the same. Exif info Wrongly positioned image, having the 90 degree or its multiples in orientation $ exiftool 28.jpg ExifTool Version Number : 9.74 File Name : 28.jpg Directory : . File Size : 69 kB File Modification Date/Time : 2016:11:29 11:59:08+02:00 File Access Date/Time : 2016:11:29 12:07:17+02:00 File Inode Change Date/Time : 2016:11:29 12:06:29+02:00 File Permissions : rw-r--r-- File Type : JPEG MIME Type : image/jpeg JFIF Version : 1.01 Resolution Unit : None X Resolution : 1 Y Resolution : 1 Exif Byte Order : Little-endian (Intel, II) Orientation : Rotate 270 CW Software : Shotwell 0.20.1 Color Space : sRGB Exif Image Width : 425 Exif Image Height : 707 XMP Toolkit : XMP Core 4.4.0-Exiv2 Image Width : 425 Image Height : 707 Encoding Process : Baseline DCT, Huffman coding Bits Per Sample : 8 Color Components : 3 Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2) Image Size : 425x707 Correctly (as expected) positioned image in both views $ exiftool 27.jpg ExifTool Version Number : 9.74 File Name : 27.jpg Directory : . File Size : 66 kB File Modification Date/Time : 2016:11:29 11:58:53+02:00 File Access Date/Time : 2016:11:29 12:13:36+02:00 File Inode Change Date/Time : 2016:11:29 12:07:46+02:00 File Permissions : rw-r--r-- File Type : JPEG MIME Type : image/jpeg JFIF Version : 1.01 Resolution Unit : None X Resolution : 1 Y Resolution : 1 Exif Byte Order : Little-endian (Intel, II) Orientation : Horizontal (normal) Software : Shotwell 0.20.1 Color Space : sRGB Exif Image Width : 842 Exif Image Height : 504 XMP Toolkit : XMP Core 4.4.0-Exiv2 Image Width : 842 Image Height : 504 Encoding Process : Baseline DCT, Huffman coding Bits Per Sample : 8 Color Components : 3 Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2) Image Size : 842x504 Debian: 8.5 Gnome: 3.14
I did not manage to solve the problem by ridgy's answer. I managed to solve it in the end by LaTeX in the thread How to rotate image 90 if height overful? The case where both picture dimensions are bigger than page size is unsolved in the thread. exiftool is about one file. To have pictures relationally nice on the page, you need LaTeX. The tools discussed here are not sufficient but the handling of the page orientation of all pictures is needed. So the question is flawed itself, I think, and cannot be handled only by exif data.
Why exif Orientation does not force image horizontal? [duplicate]