All Questions
Tagged with command-line gnome
446
questions
-1
votes
0
answers
16
views
Can´t execute on Ubuntu 22.04 Gnome version 42.9 sh files
I have created a file named Notebook.sh, but when I go to Preferences, I don't have the option Preferences -> Behavior -> Ask what to do, so I cannot directly open Jupyter Notebook by clicking ...
-1
votes
0
answers
53
views
Ubuntu 24.04 unable to enable dark theme
I can not enable dark theme on my newly installed ubuntu 24.04. I have tried bunch of techniques but nothing changes. Can I get some help?
3
votes
1
answer
283
views
How to manually set system wide proxy used by gnome-control-center in Ubuntu 22
How do I manually from terminal set the value of proxy server read by gnome-control-center? It doesn't use the http_proxy environmental variable and I notice apps such as Browsers uses value in the ...
0
votes
0
answers
56
views
How to install gnome extensions? [duplicate]
I was trying to install gnome extensions but when i was trying to install chrome gnome extensions a error was coming. Please help.
anshul@Anshul:~$ sudo apt-get update
[sudo] password for anshul:
Hit:...
1
vote
1
answer
1k
views
Bash terminal has become extremely slow. 22.04 [duplicate]
My bash terminal has become extremely slow, I until 22.04. I don't have any extensions installed but I think it might be related to some form of auto complete/search.
Additionally gnome-shell has high ...
1
vote
0
answers
94
views
Can't open nautilus in home path
I'm unable to open Nautilus or Nemo in my home directory.
Behavior:
They crash immediately upon opening (when the default home path is opened).
However, I can use other paths. For example, nautilus ~/...
0
votes
1
answer
346
views
Not able to update or upgrade after upgrading from Python 3.10.12 to Python 3.11 [duplicate]
I have a complete backup for starters. Second, I was testing an application that required me to upgrade from Python 3.10.12 to Python 3.11, and now Gnome Terminal is not working, and I am unable to ...
4
votes
0
answers
185
views
Writing a script for automatic input method switching
I use Ubuntu 22.04 LTS and want to write a bash script for Vim (it's just: output 1 if the current language is English and 2 if Russian, that simple). I don't ask you to write it for me, I just need ...
1
vote
1
answer
338
views
Kubuntu - KDE No option for Open Terminal Here in Desktop
I don't mean in Dolphin; I mean on the desktop, like in GNOME or Cinnamon Is there a method to integrate it or create a custom solution, such as linking to a personal option that would execute a shell ...
0
votes
0
answers
106
views
How can I completely reset my terminal theme?
I had been using pywal for a while time and decided that I just wanted a complete reboot on all the themes I have used for it. So before uninstall pywal I had cleared its cache, and performed Wal -R, ...
1
vote
0
answers
498
views
Flowing errors Snap-Store 23.10
$ snap-store
Gtk-Message: 08:16:56.979: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
** (snap-store:5155): WARNING **: 08:16:...
0
votes
1
answer
90
views
How to fix cursed machine with broken recovery mode and broken GNOME
Recovery mode shows a screen that apparently can't find dpkg/apt/any coreutil executables: here, GNOME crashes after login attempt with correct password, systemctl status gdm shows:
Nov 02 16:38:19 (...
2
votes
0
answers
309
views
Attempting to change desktop image in 23.10 using gsettings picture-uri-dark
I am attempting to write a simple cron script that updates my desktop image every 15 minutes using gsettings. However, despite many different iterations, I cannot reliably change the desktop in the ...
1
vote
1
answer
377
views
How to disable dynamic workspaces and switch to fixed number via the shell?
I can use this command to set the number of workspaces via shell:
gsettings set org.gnome.desktop.wm.preferences num-workspaces 9
But I can't find the key to change it from Dynamic workspaces to ...
0
votes
1
answer
512
views
How can I change the wallpaper from command line when using dark mode?
Can anyone please tell me how can I change the wallpaper for the dark mode from the command line?
I was trying to change my wallpaper from command line and I came across these commands,
dconf write /...
0
votes
0
answers
387
views
How to record screen in Ubuntu 22.04/23.04 through the command line
I use Ubuntu's built-in screen recorder. Here is a screenshot of the application:
screenshot
Now, I would like to know how to achieve the same screen recording action using the command line. I'm ...
1
vote
1
answer
146
views
Terminator: disable middle click closing the tabs
I want to stop Terminator (Ubuntu-22.04) to close the current tab if i middle click on the tab title. I often close the tabs accidentally when there is a process running in the current tab.
I am using ...
0
votes
1
answer
234
views
gnome-terminal won't open after ppa install
I'm new to Linux (I just recently started dual-booting Ubuntu 22.04 alongside Windows 11). I wanted to select all from the terminal (I found that enabling the legacy shortcut would only select a ...
1
vote
0
answers
94
views
Enable close window warning for gnome-terminal
When I run a command in gnome-terminal to install a critical software using sudo priviliges, for example sudo apt install blender and I accidentally close the window by pressing the close button, I ...
0
votes
2
answers
267
views
What is the safest and most efficient way to remove multiple applications installed by 'sudo apt install gnome-*'?
I Accidentally ran sudo apt install gnome-* in terminal and a lot of applications were installed in my system. I would like to know if there is a way to get rid of all those apps that were installed ...
0
votes
2
answers
322
views
Centering the gnome terminal or console window on start-up
Using Ubuntu 22.04, I want either my gnome terminal or console to start centered on the screen. Bard AI told me to use this command:
gsettings set org.gnome.desktop.wm.preferences center-new-...
0
votes
2
answers
705
views
Ubuntu Gnome Terminal Fullscreen
This has been asked before, but I am not sure that the solution provided (it was a 7 years old post) works.
Basically, I want that every time I open the terminal, it does on fullscreen. I tried ...
1
vote
0
answers
390
views
Files/Folder are shown in GUI but not in Terminal
Fairly new to Linux and I'm already having problems. When I open my drive from GUI, I see some files and folders there but when I try to ls on the terminal; it only shows two folders. ls /media/user/...
0
votes
2
answers
1k
views
Can't launch Gnome desktop from Ubuntu terminal running under WSL2
I've gone through the process of installing WSL2 on a Windows 11 laptop and can successfully run, for example, GUI-type LibreOffice apps from the Terminal command line.
So far, so good.
Now I would ...
1
vote
0
answers
312
views
60 Sec shutdown delay in ubuntu 20.04
I want to remove 60 sec delay when i press power button. I used "gsettings set org.gnome.SessionManager logout-prompt false". After i entered that line in terminal it works except lock on ...
0
votes
1
answer
1k
views
Ubuntu 22.04 chose themes for the terminal that automatically switch between clear and dark
I have Ubuntu 22.04 with Gnome. When I switch between light and dark themes every app switches fine and so it does the terminal, which is nice. However I really dislike the dark violet theme that ...
0
votes
1
answer
1k
views
Keyboard shortcut to launch dmenu
I've got a snippets file in my home directory with two simple commands
ls
whoami
Running the following terminal command utilizes dmenu to allow me to select a line in my snippets file and pipe the ...
1
vote
1
answer
768
views
How do I move/maximize/activate desktop windows using `dbus` in terminal?
Problem
I'm on a default Ubuntu 22.04 desktop. I repeatedly have to move windows around on my desktop and I would like to do that using a script.
wmctrl
This seems like it was a solution in the past ...
2
votes
0
answers
45
views
How can I set Region & Language format from command line? [duplicate]
I tried sudo update-locale LANG=en_US.UTF-8, but it does not change the Format.
What I do manually to fix it:
Open settings
Go to Region & Language
From Formats, select the current format
From ...
0
votes
1
answer
412
views
Trying to install WhiteSur
I was trying to install WhiteSur theme on my Ubuntu 18.04
I did ./install.sh in terminal after downloading theme pack
it shows the following error:
what's wrong here?
0
votes
0
answers
28
views
Any way to redirect a console app to the desktop?
Basically, like conky and other similar utilities do: they draw straight to the desktop, over the wallpaper.
Can I do it with any console app or does the app need to be coded specifically for this?
1
vote
0
answers
891
views
How to make the external display as the primary screen while using the ubuntu live IS from USB drive?
The story: My laptop screen is broken, only showing white screen, accidently the laptop fall down from the table while changing the OS from windows to ubuntu, by deleting all the files in windows
...
0
votes
0
answers
990
views
Ubuntu Desktop user login only terminal
Is there any way to produce the following Ubuntu experience for two users of the same machine?
Turn the Ubuntu Desktop 22.04 VM on.
Presented with the gnome lock screen.
Sign in as user-2.
Command ...
1
vote
1
answer
1k
views
Open multiple tabs in ubuntu file explorer from command line
I'd like to open multiple tabs in Ubuntu's File Explorer (20.04 or 22.04) from terminal.
Optimally, I'd like to use some built-in utility like gio or nautilus.
I am aware of this issue, but it seems ...
0
votes
1
answer
653
views
Map "CTRL+ENTER" to another key inside gnome-terminal
Intro
Is there any way of mapping CTRL+ENTER to an F-key? (Inside the terminal ofcourse only) I've looked everywhere, I've tried so many things that I can't even recall. I had no luck and so I decide ...
3
votes
1
answer
3k
views
Update Background via the commandline Ubuntu 22.04
I have a script that I have been running for years on my computer that updates the background image to a new image every minute and functions as a clock. I was wondering how to update the desktop ...
0
votes
1
answer
1k
views
show hidden files doesn't work on nautilus, ubuntu 22.04
when I enter sudo nautilus on the terminal, enter any of my partitions and select show hidden files from the drop menu on the top right it doesn't select it and doesn't work.
1
vote
1
answer
951
views
Which gsettings keys are modified when changing the color from the Appearance menu? [duplicate]
I'm working on a shell script that simultaneously changes the theme and color palette of the system and some applications like guake. The script uses gsettings for the system theme and should be able ...
2
votes
1
answer
2k
views
How do I edit the theme for my Gnome Terminal? (I want to change the window title bar background to black from grey
xI've tried editing the following files with no success:
/usr/share/themes/Adwaita/gtk3.0/gtk.css
~/.themes/adwaita-tweaks/gnome-shell/gnome-shell.css
With now luck : (
What do I have to edit to get ...
0
votes
1
answer
1k
views
I Accidentally Deleted some GUI files! [UBUNTU 20.04]
I am using Ubuntu 20.04.4. I accidentally deleted some files (not many) which had cairo in their names, which may be related to the GUI.
After that, when I restarted my PC, there were some errors and ...
1
vote
1
answer
446
views
Cannot Set Default Geometry in Gnome Shell Terminal With .desktop File in Ubuntu 20.04
I want to configure the terminal so that new windows launch on the bottom left corner of the screen. Based on this issue I tried copying /usr/share/applications/org.gnome.Shell.desktop to ~/.local/...
4
votes
3
answers
2k
views
GNOME Terminal Titlebar Always Black
In GNOME, my Terminal's titlebar is always black, even when I use a light shell theme. Everything in GNOME has a white titlebar except for Terminal. I also tried using another theme, and it does this ...
2
votes
1
answer
470
views
Ubuntu 21.10 Nautilus Preference menu not complete
My nautilus HAS a preference button but it does not show all the possible options. For example, I was trying to set executable-text-activation to launch but I can NOT find the option in my preference ...
1
vote
0
answers
27
views
Changing a user's wallpaper in gnome from under another user via the console [duplicate]
There was a need to change the wallpaper centrally, I do it through ansible, respectively, throwing a command from under the right user (manager-1117):
gsettings set org.gnome.desktop.background ...
1
vote
2
answers
2k
views
GNU tar - update tar file, overwriting the original file in command line(which is possible by drag-and-drop in Archive Manager)
I want to update a tar file with part of the content modified, by overwriting the original file, in a script.
I tried tar -u, -A and -r, but none does what I want. I also tried with --overwrite.
An ...
0
votes
0
answers
849
views
TTY 1 opens everytime I want to login on ubuntu 21.10 with Gnome 40
Recently a weird thing is happening, every time I try to login into my user account, ubuntu opens something similar to a TTY, but it is not exactly a TTY.
So what exactly happens is, I boot up my ...
0
votes
1
answer
550
views
Keep gnome-terminal from closing when opened from bash script
I wrote a little bash script that opens a new gnome-terminal window. In that window, I need it to run an app which receives some input from the keyboard and produces some output that I want to observe....
0
votes
1
answer
2k
views
How to enable desktop icons in Ubuntu 20.04
After following these commands, my desktop icons are disabled. How can I enable them again? actually, I'm a new Ubuntu user please help me.
1
vote
1
answer
1k
views
Change gnome-tweaks scaling factor in the terminal?
I change the scaling factor often when I switch between laptop (1.4 to be able to see everything better) and laptop with second screen (back to 1.0)
The fastest way I've managed to do this now with as ...
2
votes
2
answers
5k
views
How to speed up neofetch? Alternatives or neofetch caching
I've configured my terminal in a such a way that it runs neofetch when opened.
However, there is now, a 200ms (approx.) delay before i can start typing.
Are there any faster alternatives to neofetch ...