EzDevInfo.com

gnome3 interview questions

Top gnome3 frequently asked interview questions

Periodically changing wallpaper under GNOME 3?

I use Fedora 15 with GNOME 3 and I'd like my wallpaper to periodically change like it's possible with Windows 7. It would be the best if it could use RSS/Atom or a specified directory.

I haven't found any tools in the repository. I guess you can change it with a script and cron, but I'm looking for something more elegant.


Source: (StackOverflow)

Move / disable legacy icon bar from bottom left in GNOME 3.16

Fedora 22 (GNOME 3.16) introduced this expandable legacy icon bar in the bottom-left corner of the screen:

enter image description here

enter image description here

As you can see, even when closed it takes up a few valuable pixels in the corner (where I am usually looking, when using a terminal). It also annoyingly expands whenever my mouse cursor ends up on top of it.

How do we move or disable this thing?


Source: (StackOverflow)

Advertisements

gvim redraw failure

I have a problem with gvim where the screen redraw partially fails. It's hard to explain but when I open a text file and page down or up the entire text file is not redraw properly. I have to move the cursor first before it redraws. I've got a screencapture here of it since it demonstrates the problem: http://www.box.net/shared/l4m1vrffl0dhigi80huz

It seems as if the issue is limited to gvim because every other application I run is fine and redraws properly. It's quite easy for me to reproduce in gvim. The console vim is fine. It makes me think the issue is limited to gvim.

OS is Arch linux 3.0 running the nvidia drivers running Gnome3 (no compiz).

Output from uname

Linux cyclops 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

lsmod

lsmod | grep nvidia
nvidia              10225284  40 
agpgart                22096  1 nvidia
i2c_core               16625  2 nvidia,i2c_nforce2

gvim --version

gvim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 30 2011 05:51:10) Included patches: 1-322 Compiled by ArchLinux Big version with GTK2 GUI. Features included (+) or not (-): +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap -lua +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm

-mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg +path_extra +perl +persistent_undo +postscript +printer -profile +python/dyn +python3/dyn +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "/etc/gvimrc" user gvimrc file: "$HOME/.gvimrc" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/local/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=1 Linking: gcc -L. -Wl,--hash-style=gnu -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/local/lib -Wl,--as-needed -o vim -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lelf -lnsl -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -fstack-protector -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lruby -lpthread -lrt -ldl -lcrypt -lm -L/usr/lib


Source: (StackOverflow)

How do I turn of the blanking of the screen in GNOME 3?

I want to use my Fedora 15 in a kiosk mode displaying the screen on a TV.

My problem is that the screen goes blank after a little while. The system is running GNOME 3 as window manager.

In the configuration settings for the screen there is only possible to change the time before the screen goes blank. I can not configure it to 'never'.


Source: (StackOverflow)

How do I change the lockscreen background in Gnome 3 (Fedora 17)?

While seeking a solution to my login background question I realized that the lockscreen has to be configured seperately. But how? On a quick google search I only found the suggestion to replace the images in the Adwaita theme. Is there a better way?


Source: (StackOverflow)

Keyboard Navigation in GNOME 3 "Overview" Mode

In Gnome3, when I've switched to overview mode (by pressing the "super" button), how do I navigate between thumbnail images of windows with my keyboard? How do I then select a window? Thx.


Source: (StackOverflow)

How can I show the date in the gnome 3 menubar?

Gnome 3 has a menu bar that includes the day of the week and the time. The date and time settings allow the time to be shown in 24 hour or AM/PM style.

There do not appear, however, to be any options for displaying the date. Instead of "Thu 1:59 PM", I'd like it to read (for example) "1:59 PM, Thursday, March 28, 2013".

How can I configure the format of the date in the menu bar?


Source: (StackOverflow)

How to make GNOME 3 use suspend-hybrid?

How can I make GNOME 3 use pm-suspend-hybrid instead of pm-suspend when closing the lid or using suspend from the menu?


Source: (StackOverflow)

Why is /usr/share/gnome-shell/js missing?

I'm trying to debug a gnome-shell extension, but I don't seem the have the folder /usr/share/gnome-shell/js. I'm on fedora 20 with gnome 3.12. I couldn't find it when I had gnome 3.10 either. Were the files moved? Is there a package that I'm missing?


Source: (StackOverflow)

Multiple Graphics Cards on Fedora 15 (Gnome 3)

I have the (delightful) misfortune of having 3 graphics cards. They are XFX Radeon 5750s. Each drives 2 monitors via dvi. I am having a really hard time getting these running on fedora 15 (gnome 3). So my setup is 3 columns of 2 monitors (the upper monitor is mounted upside down in each column to reduce the bezel between monitors).

When the (graphical) login screen comes up all 6 have the blue stripey background that must be the default, but then when I login, things get interesting.

In the xorg.conf below, you will see only 2 of the screens in the serverlayout while the other 4 are commented out. Logging in with only 2 of the screens active works well (and it even remembers that the top one is upside down, and should be considered above the lower, i am not sure where it stores this info, but i set it using the graphical "Displays" settings)

However, as soon as I uncomment a third screen, or more, it gives me an error message when I login. It's one of those friendly, less helpful messages (Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again).

If i do not use an xorg.conf, then the "Displays" prefs pane shows only the two monitors on one of my graphics cards

Thanks to anyone who can help me get going! (xorg.conf and then lspci below, and xorg log)

xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen        "Screen0" 0 0
    Screen        "Screen1" Below "Screen0"
#    Screen        "Screen2" RightOf "Screen0"
#    Screen        "Screen3" RightOf "Screen1"
#    Screen        "Screen4" RightOf "Screen3"
#    Screen        "Screen5" RightOf "Screen4"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "catalogue:/etc/X11/fontpath.d"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "record"
    Load  "dri"
    Load  "dbe"
    Load  "extmod"
    Load  "dri2"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor2"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor3"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor4"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor5"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection


Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    BusID       "PCI:4:0:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "radeon"
    BusID       "PCI:5:0:0"
EndSection

Section "Device"
    Identifier  "Card2"
    Driver      "radeon"
    BusID       "PCI:6:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card0"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen2"
    Device     "Card1"
    Monitor    "Monitor2"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen3"
    Device     "Card1"
    Monitor    "Monitor3"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen4"
    Device     "Card2"
    Monitor    "Monitor4"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen5"
    Device     "Card2"
    Monitor    "Monitor5"
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

lspci output follows

[tgm@tgm ~]$ lspci
00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
02:00.0 PCI bridge: nVidia Corporation NF200 PCIe 2.0 switch for mainboards (rev a3)
03:00.0 PCI bridge: nVidia Corporation NF200 PCIe 2.0 switch for mainboards (rev a3)
03:02.0 PCI bridge: nVidia Corporation NF200 PCIe 2.0 switch for mainboards (rev a3)
04:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5750 Series]
04:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
05:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5750 Series]
05:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
06:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5750 Series]
06:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

xorg log (posted to fpaste due to how long it is. thanks to marcusw for the request)

http://www.fpaste.org/r5ww/

xorg log with all 6 monitors enabled in xorg.conf (they all turn on and have blue, but then one gets the aforementioned user-friendly error message). http://www.fpaste.org/X63H/


Source: (StackOverflow)

How to prevent Gnome apps from removing title bar when maximized?

As of Gnome 3.6, Files (previously known as Nautilus) removes its title bar when maximized. Several other Gnome apps that I generally don't use also do this, e.g. Epiphany.

Is there a way I can stop them from doing this, so that when I maximize an app, it would still have a title bar?


Source: (StackOverflow)

How to hide all windows except the one that I'm using?

I have set a shortcut to hide all the windows with Ctrl + Alt + D.

But now I would like to set one that hides all except the currently active window. Is that possible?


Source: (StackOverflow)

How can I prevent my screen from going black when watching movies in VLC with GNOME3?

In the GNOME 3 options, I set the screen to go black after one hour. I want more – 2 hours, or even "never". Is this possible?

Alternatively, how could I set VLC Player so that the screen does not shut down due to inactivity while watching a movie?


Source: (StackOverflow)

Gnome3 Classic and Window Snap

Is there any way to enable Windows Snap in Gnome3 Classic? I've been using KDE4 and there it's out of the box. Right now I'm testing Kali Llinux and I'm trying to get it work.

I want a lightweight environment and I need only snapping. Any ideas, besides building own Kali with KDE or using compiz?


Source: (StackOverflow)

How to install GNOME 3.8 on my ubuntu 12.04?

I just saw UI of GNome 3.8 and it is awesome. I want to have it, but I don't want to disturb my current setup of ubuntu 12.04. Please tell me if I can install GNOME 3.8 UI on my ubuntu 12.04 without disturbing my current OS and how?


Source: (StackOverflow)