On my laptop (Ubuntu 22.04), I needed to share my internet connection (from my phone's hotspot) with another box (a router) connected to my laptop connect through ethernet. The router is the laptops client (through router's WAN port). I used Network manager, where under IPv4 (see screenshot), I selected "Shared to other computers". How can I learn the IP address given to the router? One used to be able to read /var/lib/misc/dnsmasq.leases
but that no longer exists. I tried looking for it via journalctl
but to no avail.
sup's questions
So, thanks to this bug: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053 I would rather not use Snap packages. The only one that I really use is Calculator but I would like to replace all of them with a deb version. How would I go about it?
Shift+Ctrl+E are invoking the Emoji picker in Ubuntu Bionic (18.04). I use that shortcut in another application. How can I change the shortcut?
What would be the proper way to make Ubuntu reboot using kexec by default (especially when the reboot is initiated from the GUI)?
I found this kexec reboot script, that when downloaded and run with sudo kexec-reboot -l -r
reboots the kernel with kexec (does not go through EFI).
How can I make it so that choosing reboot from a GUI results in a kexec reboot? I am using Unity 7. It used to work just by installing the package and configuring it with dpkg
, but that says it is System-V only and now we are using systemd.
As simple as that. Can I remove the menu item?
(I actually want it because it is broken when one launches a custom edit in gnome-terminal so I compiled the old extension from pre-16.04 days that used to work, but now I have two "open in terminal" menu items).
I bought a new SSD so I installed Vivid on it today (the killer feature for me was systemd
which cuts the shutdown process from 15 seconds to two) despite being on Trusty until yesterday. To my dismay, only two (for My weather indicator and Google Drive command line client) of about 12 PPAs I rely on worked.
- Do I need to nag the maintainers of the other PPA's to make a new build for Vivid? Or is that automatic?
Could I use repositories meant for Utopic or Trusty? i.e.:
deb http://ppa.launchpad.net/cz.nic-labs/datove-schranky/ubuntu trusty main
instead of:
deb http://ppa.launchpad.net/cz.nic-labs/datove-schranky/ubuntu vivid main
In CCSM, under General Options, Key Bindings, there is a "Show Desktop" action. I use it quite often but the animation is too slow for me. Is there a way to speed it up (or turn it off)?
I have an USB harddrive with NTFS (for compatibility with windows and support of large files, so FAT is not an option). I would like to use that harddrive as LiveUSB. Ubuntu help says that it is possible, but Startup Disk Creator refuses:
I have set the flags on the NTFS partition to boot. Is there a mistake in the documentation, or am I missing something?
I have a web camera on my T500 Thinkpad. I would like to know its supported resolutions. Is there a way to find it out by means of software (and without having to consult the documentation)?
I would like the HUD to return at least ten entries. Can I do that somehow?
(use case: in Texmaker, I can have ten different user tags - I do not remember their names, so I would like to display all (after typing user tag), but HUD now shows only five)
As per this bug comment, shortcuts for the keyboard shortcuts overlay get pulled dynamically from user's settings.
Is it possible to change which shortcuts are included (i.e. show more of them - Alt+F9 minimizes window on my computer but it is not included)?
I installed the recoller lense ( http://www.webupd8.org/2012/03/recoll-lens-full-text-search-unity-lens.html ) and now finally have fulltext search in dash.
File lense is opened with super+F, music with super+M and so on. Can (and how can ) I assing such a shortuct to this new lense?
I recently noticed my ubuntu one files stopped to be synched. I guess it has something to do with me buying a new disk, copying things over there and leaving them on ubuntu one meanwhile, because I think it stopped syncing just after me buying the new disk.
However, I tried "File Sync error." with Ubuntu One in order to reset my ubuntu one connection, but now I created folder with two (empty) files in it. The folder gets uploaded to Ubuntu one but the files do not (subfolders do not get uploaded either). Now u1sdtool -s gives this:
drew@steve:~$ u1sdtool -s
State: QUEUE_MANAGER
connection: With User With Network
description: processing the commands pool
is_connected: True
is_error: False
is_online: True
queues: IDLE
Ubuntu control center says synchronization is complete, but it is not. Any ideas? This used to work fine.
(byt the way - on two folders that stopped to be synced, the emblem green check is still displayed)
Simple Rhythmbox plugins do not work in 11.10. Does anybody know why? I heard that ubuntuone plugin for Rhythmbox stopped working because some changes to Rhythmbox - might this be the same case?
More information: I followed this guide, i.e. I copied the plugin to ~/.gnome2/rhythmbox/plugins, but they do not show up in Edit>plugins. I suspect it might be due to the plugins not being ported to GTK3?
I still prefer upgrading through a cleen install and preserving my /home directory. However, I always have to pair my bluetooth devices after a fresh install. Where is the configuration stored so that I can just copy some files after a fresh install? I use the bluetooth indicator, but it does not seem to store the information on my devices in /home.
First, this is not a duplicate of How can I always show the close, minimise & maximise buttons into their own windows? - I would like to preserve global menus.
Is there a way to only always show the close, minimise and maximise buttons on every application?
The use case is as follows: I have a maximized application in the background, over it is a not-maximized application that has got focus. I want to close the maximized application. I move the pointer to upper left corner. The buttons do not show, since the background application does not have focus. I have to go back, click on it and then go back to the corner to close it. I do that several times a day :-( .
I have Opera set as my default browser but it is the same for Firefox. When opening a link in Liferea, the link opens in an external browser and the browser gets focus. I would like to open the links in background (so that the browser does not get focus).
The only solution is to set Focus prevention level to Normal in the Focus & Raise Behaviour tab of General options in CCSM. But this messes things for other things. DO you have any other idea how to prevent new windows to have focus?
I am using Unity on 11.10.
I have directories like ~Work ~School ~Movies. Is it possible to search for files in only one of those directories with tracker-search-tool (or with tracker in general)?
There is an option to specify a key to be used to access 5th level on the keyboard in gnome-keyboard-properties
("Keyboard" under Hardware in System settings):
But if I set the 5th level to AltGr and the third level to Right Ctrl and if I set key 54 as follows:
xmodmap -e "keycode 54 = 1 2 3 4 5 6 7 8"
I get following results from pressing different variations:
keycode 54 = 1
keycode 54 + right ctrl = 5
keycode 54 + right ctrl + shift = 6
keycode 54 + shift = 2
keycode 54 + AltGr = 1
keycode 54 + AltGr + shift = 2
So what does the 5th level modifier do?
How do I set it up so that I can get 5 or six different characters out of a single key (modified by Shift, Alt Gr and Right Ctrl for example)?
There are at least two ways to configure GDM I know of:
- is the
/etc/gdm/custom.conf
file that can be either hand edited or edited throu GUI gdmsetup. Autologin and timed login are configured here. - are the gconf schemas under /apps/gdm/ Those can be edite with gconf-editor running either as root or as a normal user. I guess editing it as a casual user does not have any impact since GDM runs as root. Sound among other things can be turned off here.
Are there any other ways? GDM refuses to let me autologin (on a fresh Natty install) (it does not ask for password, it merely wants that I select myself as a user at the login screen even though I am the only user on this computer).
Other interesting thing is that even if I purge GDM, its settings (including the custom.conf) do not change. Therefore there seems no way to reset GDM's settings.
BTW: my custom.conf is as follows (drew is my user):
[daemon]
TimedLoginEnable=false
AutomaticLoginEnable=true
TimedLogin=drew
AutomaticLogin=drew
TimedLoginDelay=1
DefaultSession=gnome
Edit: Ha, maybe it is not a configuration issue after all but a bug: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707