New answers tagged

0

A work around I successfully used in debian, ubuntu and rhel7 is creating a short python script that's started automatically when you log into the gnome session. Note that in rhel7 the key combination to lock is super + l. Create /etc/xdg/autostart/gscreenlock.py like this: #!/usr/bin/python import dbus import dbus.service import dbus.glib import gobject ...


1

In the end I managed to get it working thanks to the support of one of the iio-sensor-proxy and kernel developers. In my case I had to pull iio-sensor-proxy from git and apply this patch: diff --git a/src/drv-iio-poll-light.c b/src/drv-iio-poll-light.c index c2c5821..b568e78 100644 --- a/src/drv-iio-poll-light.c +++ b/src/drv-iio-poll-light.c @@ -37,7 ...


0

I ended up fixing this just now. I tried temporarily renaming my ~/.config directory so that it wasn't found. And that seemed to fix it. I then handpicked some of the config subdirectories I wanted to keep, copied those over to the newly created .config directory, and made sure everything was still working properly I lost some useful configs, but at least ...


1

To reduce the titlebar size just create a css file in this location: ~/.config/gtk-3.0/gtk.css and copy paste the code below; this will resize the titlebar: .header-bar.default-decoration { padding-top: 0px; padding-bottom: 0px; } .header-bar.default-decoration .button.titlebutton { padding-top: 0px; padding-bottom: 0px; } you ...


0

Without any info on your environment, perhaps this will help: http://worldofgnome.org/how-to-set-focus-follows-mouse-in-gnome-3-windows/ Essentially, use the method for your distro to edit this dconf: org-> gnome-> desktop-> wm-> preferences -> focus-mode It sounds like when you are moving your mouse, it changes focus away from the window that you want ...


2

If talking about gnome-shell, gsettings reset org.gnome.desktop.wm.preferences button-layout also you can use the utility dconf-editor. The default value for the layout of the applications menu is 'appmenu:close' so with only the close button.


2

Thanks to @gollum, after some retries, we have figured out that the problem is with gdm, so the solution was to install lightdm (apt-get install lightdm), and it fixed the problem.


0

Looks like no one reads wiki, so I had to dare and find the solution myself First make sure you have installed pulseaudio-bluetooth Add these lines to /etc/pulse/system.pa: load-module module-bluez5-device load-module module-bluez5-discover Make sure you have these lines in /etc/pulse/default.pa (they should be already, btw) load-module ...


0

It is not debian that supports Gnome2. Upstream version is maintained by debian. When Gnome2 is not supported by upstream, it means its no longer available on debian. Looks like Gnome developers has chosen to support Gnome3 ditching Gnome2. Considering the popularity of Gnome2 and reluctance to switch to completely remodeled Gnome3, Mate desktop ...


0

Try the -e python instead of && python to get gnome-terminal to run python instead of bash, see its man page


0

Are you able to mount it via GUI? I believe you are looking for the gvfs-mount command. I'm assuming that you already authenticated successfully. When running gvfs-mount --list, you should get something like this: Drive(0): ST1000DM003-1ER162 Type: GProxyDrive (GProxyVolumeMonitorUDisks2) Volume(0): OS Type: GProxyVolume (GProxyVolumeMonitorUDisks2) ...


0

Used xprop to get the class of my window and xdotool like bellow: xdotool search --onlyvisible --classname gnome-terminal-server behave %@ focus exec xinput disable bcm5974 & xdotool search --classname gnome-terminal-server behave %@ blur exec xinput enable bcm5974 & The previous is unstable so the following script based on @SHW's answer is ...


0

This following command will give you the name of focused application xdotool getwindowfocus getwindowname Using this, You can write a wrapper-script to achieve your goal. e.g. while [ true ] do FocusApp=`xdotool getwindowfocus getwindowname` if [ "xTerminal" -eq "x$FocusApp" ]; then xinput disable bcm5974 else xinput enable ...


0

What I've found out is that Gnome Boxes & Libvirt save mac-address for machines in config located here: /home/$USER/.config/libvirt/qemu So, to fix the issue, both machines must have different Mac-addresses, which can be fixed only by editing those files. Didn't find any relevant option in Gnome Boxes GUI.


1

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 ...


3

From the chown(2) man page: Only a privileged process (Linux: one with the CAP_CHOWN capability) may change the owner of a file. The owner of a file may change the group of the file to any group of which that owner is a member. A privileged process (Linux: with CAP_CHOWN) may change the group arbitrarily. Your process is neither ...



Top 50 recent answers are included