Using Kazam NCC-80102 1.4.5 on 18.04 I get the following stripes
Sound works nicely. How can I avoid the stripes?
sudo lshw -c video | grep configuration
reports:
configuration: driver=i915 latency=0
How may I troubleshoot and solve this?
I have a legacy program (since 1992) on a dedicated remote machine as an X-client that while starting up tries to fix all kinds of oddities using xmodmap
and the like. Starting with 18.04 I note that many of these fixes no longer work.
How can (or should) the X-client detect that unity is running on the X-server? Or, to put it differently: What information does unity offer to X-clients beyond xdpyinfo and the like?
The connecting X-servers are more than 50 of various configurations (XQuartz, Ubuntu, Cygwin, and many Linuxes I never heard of before). They connect indirectly to the X-client otherwise known as a server.
When I ssh to another host hosta
and then connect yet to a further host hostb
, everything works fine. Both hosts currently expect a passwd.
However, when I try to shortcut this intermediate host and put the next ssh as a parameter, I get the often mentioned error:
$ ssh -X hosta ssh1 -X -1 login@hostb
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied, please try again.
ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
Permission denied.
All this seems to be related to the environment variables that are passed further on.
What is ssh here expecting? How can I fix this?
And, I have already added hostb to the known hosts on hosta.
Playing via Bluetooth is quite simple most of the time. Go to the "Bluetooth settings" and select the device to send the music to.
However, currently I am in the following situation (also after reboot):
I am connected to the speakers which I test successfully in "Settings, Sound" (Front left and right). But when I play some music via the Firefox browser, the sound is still on my laptop and not the external device.
How can I use the external device for audio?
In previous versions of Ubuntu, like 14.04, it was possible to set the title of each terminal tab via the menu: Terminal -> Set Title ...
In 18.04, there is still the entry Terminal with options like Set Character Encoding, but Set Title is missing.
So how can I set the title in newer versions?
After switching between multiple screens, I am now locked in the following situation:
Is there a way how I can get my Terminal-tabs back to normal, visible windows?
In a document like this I have underlined and strike through text. Originally, the document was created by Microsoft word. Currently this text is also colored - either blue or some yellow, depending on how I call Libreoffice.
When printed to a PDF, the blue color remains.
How can I change the document such that the color is removed? Not only for one printing, but generally in the document such that this document can be printed without colors by anyone.
Help suggested to select "Print black", but I cannot find this. (I am using 3.5.7.2 - which is the latest on 12.04.5 LTS)
I have some remote X programs that all worked nice with 12.04. But in 14.04 there is now the following change.
One program (emacs) calls another (gs) with a certain geometry specification. The idea is to make this other window visible atop of emacs.
The geometry-information is no longer taken directly (as in 12.04). Instead, the shading border around the window is now added to the placement. Is there a way to tell Unity that a specifc app should be handled in the "olde" fashion?
When opening that (gs) window, it is placed below the current window. So it remains invisible. Ideally, I would like it to be placed on top - that is above emacs, and even to stay on top. Or almost. In 12.04 it worked reasonably enough. Is there a way to tell Unity that this window should stay on top? Maybe this has something to do with a maybe changed focus policy.
So far, with wmctrl -r ghostscript -b add,above
, I can make a currently existing window "on top". However, I would like to apply this also for future windows. Similar to the "Staysontop" property of traditional window managers.
So far, I have apt-get install compiz-plugins
to get Window Rules. And there I have added title=ghostscript
as matches under Above. (I got the title from the + grab option). But still ...
In older versions of Firefox there was an option to switch off loading of graphics. Now, in 28.0 I can no longer find it. It used to be in
[Edit] -> [Preferences] -> ...
Is there a simple way to avoid loading graphics in current versions of Firefox?
Before switching off the screen, the screen saver dims the screen a bit. For me, the time of having the screen dimmed is not long enough, so I often have to retype my password. I'd like to have a longer dim-time. How can I get this?
(I am not asking for How do you change the amount of time before the screen dims?)
I have a Terminal window with a dozen named tabs open.
I would like to save the current configuration and have it restored with names and directories.
Is there a way to do this?
In older versions of Ubuntu, like 9.10, ls(1)
produced ISO 8601 format by default, in the way
ls -l --time-style=long-iso
does it. With 12.04, we're back at the older Unix style. Thus replacing the year by minutes and seconds for recent dates.
How can I - in the least intrusive manner change this back to long-iso
? Is there maybe some general configuration option?
When I change the screen resolution of my laptop from 1366x768 to 1024x768 via [Displays ...], the entire screen is still filled, stretching the picture uglyly. How can I have a pixel wise 1-to-1 mapping such that the original proportions are preserved?
This I need particularly when I want to mirror the screen together with a beamer.
(In 9.10 it somewhat depended on the displays available at startup. If a lower resolution screen was added later on, proportions were retained)
xrandr
output:
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 256mm x 144mm
1366x768 60.0*+ 50.0
1360x768 60.0 50.0
1280x768 60.0 50.0
1280x720 60.0 50.0
1024x768 60.0 50.0
1024x600 60.0 50.0
800x600 60.0 50.0
800x480 60.0 50.0
640x480 60.0 50.0
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 disconnected (normal left inverted right x axis y axis)
This is a lenovo X121e and:
$ sudo lshw -C display
[sudo] password for ulrich:
*-display
description: VGA compatible controller
product: Wrestler [Radeon HD 6320]
vendor: Hynix Semiconductor (Hyundai Electronics)
physical id: 1
bus info: pci@0000:00:01.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=fglrx_pci latency=0
resources: irq:45 memory:e0000000-efffffff ioport:4000(size=256) memory:f0300000-f033ffff
(What I found odd when running above is that it took so long)
In older Ubuntu versions and older X11s in general, there used to be the fonts
-b&h-lucidatypewriter-* ...
I have installed xfonts-base
, xfonts-75dpi
, xfonts-100dpi
but still I cannot find any matching font with xfontsel
or xlsfonts
. To be sure: I want the bitmap fonts.
I would like to use the Print key for my own purpose. By default, it is bound to various screenshot functions.
I tried the following, which did not work: [System settings] [keyboard] [shortcuts] [screenshots]. There I disabled all Print variations with Backspace. Closing the app and reentering shows me that all these functions are disabled. What strikes me as odd is that the regular Print function is listed twice:
However, the key Print (also according to xev
it's that key) still produces a screenshot.
Edit: And here is what xev
says:
~/Pictures$ xev|grep keycode
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
state 0x0, keycode 107 (keysym 0xff61, Print), same_screen YES,
When typing Esc within an Emacs window under Unity (Emacs 23 standard package), the sound is turned on/off, but Emacs does not receive the key.
How can I change (probably) unity such that the Esc and also the other function keys are interpreted by Emacs?
A very crude workaround that always works in (GNU) Emacs is to use C+[ in place of Esc.
The question Why is the meta key is not working when using Emacs? does not apply because this was about using Emacs within a gnome-terminal, but I use Emacs directly under X.
Another option is to type Fn+Esc which produces Esc within Emacs and also works for the function keys; but I want the keys directly.
Edit: For some reasons that I cannot reproduce, Esc now works. It might be related to doing some xmodmap
s.
$ head -1 /etc/issue && emacs --version | head -1
Ubuntu 12.04.1 LTS \n \l
GNU Emacs 23.3.1
From time to time I get undefined messages in the echo area (that do not show up in buffer *Messages*
) about XF86WakeUp. In fact, I C-h led to see that there are 22 such <XF86WakeUp>
keys in a row.
Reading How do I prevent the Sleep button from locking the screen
I figured out that the blue Fn-key left to Ctrl does this.
On the other hand, that very same key is needed to enable the Soundoff meaning of Esc, and similar for F1-F12. Just to make this clear: Emacs gets Esc directly. Thus, Esc does not mean Soundoff within Emacs. But Fn-Esc does.
So what is the clean way to fix this without affecting the other Fn keycombinations within Emacs?
Left-down-clicking in xterms starts the selection of something to be copy-pasted.
Double-left clicking selects a word.
Triple-left clicking selects a line.
All this works under unity in 11.04. However, there is no way to copy-paste that selection to another place: The right-click menu shows paste disabled, and middle-clicking to copy-paste does not work.
So how can I copy a selection from an xterm into another place? I am happy with any method to perform this.
(I am using the default-installation no special configuration so far)
Edit: Same problem with xedit
By default, the time in AM/PM style is shown, I would like to have the same that ls
gives:
2013-01-09 01:12
That is 24 hours and ISO 8601. How can I do this?
I am aware of the following question. Maybe that question was too general to be answered: How do I change to ISO 8601 date format?
I tried the following:
I click on the actual clock-display and I get a calendar. In that calendar I read "Time & Date Settings.." - so I click on it: No effect. No nothing.
I right-click on the clock-display but I get the same calendar like when left-clicking on it.
I am using Firefox via ssh on the following machine:
g1> head -1 /etc/motd
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-26-generic x86_64)
g1> firefox -version
Mozilla Firefox 17.0.1
When called from an xterm, the following message appears repeatedly. It seems to be printed only when I perform some action, like writing this question. Clicking on something. Otherwise, no message is printed.
(firefox:4162): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
//bin/dbus-launch terminated abnormally without any error message
While writing this question I received about a dozen such messages.
Is there some way to avoid this (apart from 2> /dev/null
)?
Probably, the following is irrelevant, but who knows:
g1> uname -a
Linux g1 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux