Downscaling with xrandr does not work properly on reboot.

The_Forgotten_King

I used the command
xrandr –output LVDS1 –panning 1536×900 –scale 1.5×1.5 to downscale from 1024×600 to 1536×900. I created a script saying
#!/bin/bash
xrandr–output LVDS1 –panning 1536×900 –scale 1.5×1.5 to do this every time the system starts. I made it an executable. I then added it to the list of autostart programs, but on reboot, the screen looks like this:
http://i.xomf.com/bdzrx.jpg
The desktop is downscaled but does not use the full screen. Upon re-running the command, it works properly. Any ideas on how to fix?
——

Mouse pointer freezes when playing Youtube videos and on other sites

Hankbonk

Having worked with Lubuntu 14.04 LTS for 2 years now, I started to get troubles. When I start some (not all) youtube clips, My Mouse pointer gets frozen on my screen, it does’nt move anymore !

But also on other sites I get the same problem : When I load a external PDF file in Google Chrome . (when I open a local PDF file by using the file manager, I do not get that problem)

My PC is a HP Compaq DC 7700 SFF Dual core D 945 3400 Mhz/ HDD 80Gb S-ATA / 2536 Mb DDR2 RAM .
——
Hankbonk

Now I come to the conclusion that in Firefox I DO NOT HAVE THAT PROBLEM !!!

so Google Chrome is to blame, in combination with Lubuntu 14.04 (I guess) …
I will leave this thread open, because normally one should NOT get that problem in Google Chrome, and Chrome is my favourite browser …

liam.gutierrez

That’s weird, I have the same problem but ONLY with Firefox. Whenever I land on Youtube, Firefox gets unresponsive for a long time. I wonder what the cause is.

Ubuntu 14.04
Kernel Linux 3.16.0-46-generic
MATE 1.8.2
Firefox 45.0

AMD Athlon II X2 220

[i3wm] Theme

Tichun

Greetings.
As I’ve changed from Unity to i3wm[1] I noticed that things like scrollbars and new tab sign etc. have changed and so
I’m willing to change them to something that steals less attention but would like to do so from system config or firefox configs and not from Firefox userstyles or external programs.
This is mainly about FF and LibreOffice as scrollbars in Nautilus and Terminal are same as they were.

[1] – (200 MiB vs 20 MiB vram at idle and my gc has 256MiB)
——
vasa1

What version of Firefox are you using? Fx 45? Fx 46 (beta)?

Tichun

I’m on 45.0.1

vasa1

A screenshot might help …

Tichun

268152268153268154268155

i3wm uses those and I want to change them.

oldos2er

Did you install lxappearance as suggested in your link? It will pull in gtk2-engines so you should be able to do what you want.

Tichun

I’ve tried it but thought of something more precise.
Now I’m using just stylish addon for firefox to change those as anyway using additional software to change it misses the point same way or even lil’ bit more as it messes system and used method could mess ff only.
I thought that if those things were defined somewhere that I could redefine them and customize it a lot.

vasa1

Seems like the Raleigh theme.

What is the output of ls -d /usr/share/themes/*/ and ls -d /usr/share/themes/*/*/?

Tichun

~$ ls -d /usr/share/themes/*/
/usr/share/themes/Adwaita/ /usr/share/themes/Default/ /usr/share/themes/Radiance/
/usr/share/themes/AgingGorilla/ /usr/share/themes/Emacs/ /usr/share/themes/Raleigh/
/usr/share/themes/Ambiance/ /usr/share/themes/Esco/ /usr/share/themes/Redmond/
/usr/share/themes/Atlanta/ /usr/share/themes/HighContrast/ /usr/share/themes/Simple/
/usr/share/themes/Bright/ /usr/share/themes/Industrial/ /usr/share/themes/ThinIce/
/usr/share/themes/Clearlooks/ /usr/share/themes/Metabox/
/usr/share/themes/Crux/ /usr/share/themes/Mist/

~$ ls -d /usr/share/themes/*/*/
/usr/share/themes/Adwaita/metacity-1/ /usr/share/themes/Esco/metacity-1/
/usr/share/themes/AgingGorilla/metacity-1/ /usr/share/themes/HighContrast/gtk-2.0/
/usr/share/themes/Ambiance/gtk-2.0/ /usr/share/themes/HighContrast/gtk-3.0/
/usr/share/themes/Ambiance/gtk-3.0/ /usr/share/themes/HighContrast/metacity-1/
/usr/share/themes/Ambiance/metacity-1/ /usr/share/themes/Industrial/gtk-2.0/
/usr/share/themes/Ambiance/unity/ /usr/share/themes/Metabox/metacity-1/
/usr/share/themes/Atlanta/metacity-1/ /usr/share/themes/Mist/gtk-2.0/
/usr/share/themes/Bright/metacity-1/ /usr/share/themes/Radiance/gtk-2.0/
/usr/share/themes/Clearlooks/gtk-2.0/ /usr/share/themes/Radiance/gtk-3.0/
/usr/share/themes/Crux/gtk-2.0/ /usr/share/themes/Radiance/metacity-1/
/usr/share/themes/Crux/metacity-1/ /usr/share/themes/Radiance/unity/
/usr/share/themes/Default/gtk-2.0-key/ /usr/share/themes/Raleigh/gtk-2.0/
/usr/share/themes/Default/gtk-3.0/ /usr/share/themes/Redmond/gtk-2.0/
/usr/share/themes/Emacs/gtk-2.0-key/ /usr/share/themes/Simple/metacity-1/
/usr/share/themes/Emacs/gtk-3.0/ /usr/share/themes/ThinIce/gtk-2.0/

vasa1

Greetings.
As I’ve changed from Unity to i3wm[1] I noticed that things like scrollbars and new tab sign have changed and so
I’m willing to change them to something that steals less attention but would like to do so from system/firefox configs and not from Firefox userstyles.
This is mainly about FF as scrollbars in Nautilus and Terminal are same as they were.

That is the only similar post that I’ve found – https://www.reddit.com/r/unixporn/comments/1vl1g2/archi3_how_do_i_change_the_look_of_my_scrollbars/ – but I don’t know how to follow as those GTK folders are empty in my 16.04 and my skill would allow me to edit them only by changing values and I’m not sure what would it even affect, probably not FF?

You are on 16.04.
You installed a window manager called i3wm
You have Firefox 45.x.
You say that “those GTK folders are empty”. That confuses me. Please be specific here without referring us to other threads elsewhere. You don’t mention which theme you’re using. Your images remind me of the Raleigh theme which is used whenever something is broken. You don’t mention whether you have some sort of theme changer. IIUC, Unity requires specialized tools to change themes.
You say that Nautilus and Terminal are the same as they were. AFAIK, changing a window manager should not affect scrollbars.
I’ve fiddled a lot with scrollbars.
If you’re on vanilla Firefox 45, the gtkrc folder of the active theme controls what your scrollbars look like.
If you’re on vanilla Firefox 46 beta, which currently is in gtk3 mode, your scrollbars are probably controlled by gtk-widgets.css.
If you’ve installed a variety of styles and extensions, you need to detail those

oldos2er

I believe lxappearance is the theme changer, perhaps OP could clarify.

Tichun

Fixed it by creating ~/.gtkrc-2.0 with gtk-theme-name = “themeName” inside.

Ubuntu 16.04 Beta to Ubuntu 16.04 Full

ricardo-gcclinux

So here is a question, if I download the daily 16.04 LTS Beta as it is today and install it on my Desktop/Laptop will it stay up to date once the full version is released and automatically become full version with a few patches or will I need to re-install the whole system with the latest Full version once released?

Many Thanks
——
PaulW2U

So here is a question, if I download the daily 16.04 LTS Beta as it is today and install it on my Desktop/Laptop will it stay up to date once the full version is released and automatically become full version with a few patches or will I need to re-install the whole system with the latest Full version once released?
Ubuntu, unlike the flavours, hasn’t released a beta yet. You can find the latest daily build at http://cdimage.ubuntu.com/daily-live/current/.

An alpha or beta release is just a snapshot of development so far. As soon as it’s released then subsequent updates make it out of date.

If you continue to use and update any pre-release installation then in theory you will end up with the same as the final release. There may be some “crud” leftover from changes that have been reverted but a full re-installation should not be necessary. Of course you would be installing something that has not yet been fully tested. You may well encounter problems before the release date of April 21st and find that another re-installation is required.

The Ubuntu Release Schedule (https://wiki.ubuntu.com/XenialXerus/ReleaseSchedule) gives the relevant dates.

ricardo-gcclinux

Thanks for the update, I have run a $sudo apt-get upgrade today and loads new packages got updated, I have noticed a coule of issues like with the gnome calendar for example it crashed, not a problem I am only playing with it. Anyway 16.04 so far seem to be the nices realease so far. I did install a couple of additional packaged to drop the unity menu to the bottom os the screen and that made it even perfect, I currently run ubuntu 14.04 with cinamon dekstop at the moment as I don’t like the left hand side menu, but now with the possibility of putting at the bottom of the screen I will be keeping unity 🙂

grahammechanical

Once Ubuntu 16.04 has been released you might want to run

sudo apt-get update
sudo apt-get upgrade

You may see a list of packages that are installed and no longer needed. This will remove them

sudo apt autoremove

Regards.

oldfred

There also are a lot of logs and old packages. Perhaps old kernels.
So best to do a full houseclean.
I usually just reinstall which is then a full houseclean but have exported list of apps and /home backup so easy to restore.

RecoverLostDiskSpace
https://help.ubuntu.com/community/RecoverLostDiskSpace
HOWTO: Recover Lost Disk Space – drs305
http://ubuntuforums.org/showthread.php?t=1122670
http://ubuntuforums.org/showthread.php?t=898573
HOWTO: Cleaning up all those unnecessary junk files…
http://ubuntuforums.org/showthread.php?t=140920

Caution deborphan will delete anything you manually installed. See comment:
Better to use Synaptic to select the ones you no longer want. Also you get notified about dependencies to be removed and can reconsider, if need be.
http://lifehacker.com/5817282/what-kind-of-maintenance-do-i-need-to-do-on-my-linux-pc

xubuntu wallpaper changed independently

asgard2

Hi,

my wallpaper changed over the day to my old wallpaper (from several month ago).

The xfce wallpaper manager still shows my new wallpaper and I can reassign wallpapers.

But how could this be even possible?

Some old xfce temporary files?
Should I clear a xfce cache folder to prevent other errors at the xfce desktop?

Using: Xubuntu 16.04

Thanks
——
Bucky Ball

With your new wallpaper set, when you reboot the machine, does the old wallpaper reappear?

On what partition is the pic you are using for your wallpaper? Is that partition being mounted when you boot the machine?

asgard2

The current wallpaper is at /usr/share/… and the old one that reappeared is at a home directory.

A reboot does not change the wallaper, it happened over the day after booting and logging in, this is curious.

I don’t know how to reproduce this.

Dennis N

The wallpaper may be set to automatically change. Check Settings > Desktop > “Change the Background” (at bottom)

asgard2

@Dennis N

I know this option, but I never used it and it is deactivated. Besides these pictures are in different locations.

Dennis N

Best to put all the images you want to use as Desktop backgrounds in the same folder as the default backgrounds – somewhere in /usr/share/ – the exact location can vary across distros. Also, the login screen background is independent of the Desktop background, and has to be set in a different dialog.

Failure to create xorg.conf

nmw01223

Running 14.04.4 LTS with 1600×1200 Eizo monitor connected by VGA input (all it has). ATI Radeon HD5450 graphics card, Nouveau driver.

I am trying to create a base xorg.conf that I can then modify, I switched mode with alt-ctrl-F1 and logged in, then stopped lightdm with

sudo service lightdm stop
All good so far.

However when I try to create an xorg.conf with

sudo X -configure
it says nothing to configure, exiting with error (2).

Don’t see what is wrong?
——
ajgreeny

The nouveau driver is for nvidia graphics not AMD, so it is difficult to know what you really do have as driver for that card, though I suspect it may be the radeon driver.

Show us the VGA section of the output of
lspci -vin terminal.

nmw01223

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 04b3
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at df7e0000 (64-bit, non-prefetchable) [size=128K]
I/O ports at d000 [size=256]
Expansion ROM at df7c0000 [disabled] [size=128K]
Capabilities:
Kernel driver in use: radeon

I thought that was the Nouveau driver doing all these cards, but maybe not. Either way, still not getting an xorg.conf.

ajgreeny

As you will see in that final line, you are using the radeon driver, ie the one that comes with Ubuntu at installation and is open source.

If you go to the Additional Drivers utility in the dash you should find there is a recommended proprietary driver for your card; give it a try.

nmw01223

Thanks, yes, I know. I just made the mistake of assuming that all those open source drivers came under the overall label of Nouveau, which, as you pointed out, they don’t.

However, that doesn’t solve my problem, which is not quite what it might seem. Yes, there is a proprietary driver for this card, but this is merely an experiment before transferring to another (older) system with onboard ATI Radeon graphics for which there is no ATI driver for its current kernel. Hence the need to use the open source driver.

I need to do some things I think I may possibly be able do with xorg.conf (using viewportin, viewportout), but it would help to have a ‘get you going’ xorg.conf for the system to start with, which is what I was after. These things work fine with nVidia based graphics, but I’m not sure if they will with ATI.

So, it is partly to solve a problem, partly a learning process.

ajgreeny

See if https://www.google.com/url?q=http://askubuntu.com/questions/688388/14-04-gets-black-screen-unless-radeon-modeset-0&sa=U&ved=0ahUKEwiY2IqBpuTLAhVGsxQKHR6pAA4QFggTMAU&client=internal-uds-cse&usg=AFQjCNHp7zh9VOTaTRck7g2wqKDjOIY9zw helps you with a boot option for that card.

I’ve never needed to do anything like that with my Intel graphics, so have no experience to go on but it must be worth a try.

him610

It is probably not a failure to create xorg.conf, but a design feature.

None of the several machines that I use with Nvida, AMD, and Intel graphics have xorg.conf. All machines are running 14.04 or later. I remember a few years ago editing xorg.conf, but I have not done it for awhile now. Admittedly, I do have run-of-the-mill systems and only place modest demands on my graphics chips/cards.

Could it be possible that xorg.conf has been removed as unnecessary, or replaced by something not so easily screwed up?;)

him610

For what it is worth, I have listed the contents of my 10-amdgpu.conf …

~$ cat /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Section “OutputClass”
Identifier “AMDgpu”
MatchDriver “amdgpu”
Driver “amdgpu”

Help! Cannot change X11 resolution!

the kaz

Hi out there,
my Lubuntu 14.04 installation (fluxbox) is driving me mad. I need to change the resolution details for 1024×768, but no matter what I do, the system just ignores me. 🙁

I need to activate this ModeLine to run my display without errors:

ModeLine “needthis” 60.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync

(and yes, I tried about a dozen different names of this ModeLine, including “1024x768_60″…)

First, I wanted to do this via xrandr, but after –newmode and –addmode”, the mode is listed but cannot be activated.

xrandr –output default –mode “needthis” –rate 60
results in

xrandr: Failed to get size of gamma for output default

if I add

–gamma 1:1:1

I get

xrandr: size of gamma is zero

In both cases, the system just continues to use the old resolution.

Then, I tried to add a modeline to that effect to my xorg.conf. I now have added that d*mn ModeLine to just about every block there is in my xorg.conf, just to be sure. But in the log, it always says:

Not using mode “needthis” (no mode of this name)

and sure enough the mode is ignored.

I’m banging my head against the wall here. Why does something a basic as this just not work? I cannot change to any other resolution (e.g. “800×600”), either, by the way. :-((

Here is my xorg.conf (which looks totally stupid now, I know):

Section “Modes”
Identifier “all0”
ModeLine “needthis” 60.000 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
EndSection

Section “Monitor”
Identifier “disp0”
Option “DDC” “False”
ModeLine “needthis” 60.000 1024 1048 1184 1344 768 771 777 806 -HSync -VSync
Option “Preferred Mode” “needthis”
EndSection
Section “Device”
Identifier “card0”
Driver “vesa”
EndSection

Section “Screen”
Monitor “disp0”
Identifier “default”
SubSection “Display”
Modes “needthis”
EndSubSection
EndSection

Can anyone help me?

Thanks in advance.
——
vasa1

Hi out there,
my Lubuntu 14.04 installation (fluxbox) is driving me mad. …
How does the standard Lubuntu with Openbox work?

the kaz

I will try that tomorrow. Could that make a difference, though? The xorg server should be the same.

I will try Lubuntu from USB stick tomorrow, and’ll throw in Knoppix for good measure. If anyone has any pointer as to what might go wrong, please feel free to drop me a line. I cannot believe that something so simple could not work with the plain vesa driver (on an Atom D2xxx), so it must be me doing something wrong. 8-(

anglican

Have you tried using cvt to generate the modeline, e.g.

cvt 1280 1024

The modeline goes in the Monitor section and the mode in the Screen section. Something like:

Section “Monitor”

Modeline “1280x1024_60.00” 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

EndSection

Section “Screen”

SubSection “Display”
Depth 24
Modes “1280×1024” “1024×768”
EndSubSection
EndSection

gnome-search-tool won’t open files

dgermann

gnome-search-tool will display a list of files, for instance, .odt, .pdf, .jpg. I used to double click the file and it would open in the proper app.

Now, when I double click, up pops a nautilus screen, with the file already highlighted. Then I have to click that file listing to get it to open. (Then clear out the extra instance of nautilus.)

Have another ubuntu machine and clicking the file opens it like before. Both boxes are 12.04 lts.

Have tried re-installing gnome-search-tool, and poking around in gconf-editor and nothing seems to put it aright. Google was not my friend.

I’m sure you know the secret incantation….
——
dgermann

Bumpity, bumpity.

Anybody got some clues on this, please?

Thanks!

Monitor Disconnecting For A While on Startup…

Ravi_Raj

Hello there,

Recently installed Ubuntu 14.04. Using HP-w17e monitor and AMD Radeon Graphics card. Everything works fine after installation, but I had seen that while switching on the system or restarting, the monitor automatically disconnects itself (red light blinking) for few seconds and then the login screen comes.

Is there a option from which I can stop this disconnection.
——
grahammechanical

I do not think so. What you are seeing comes about because of the complicated way that a Linux distribution loads and the fact that modern digital displays are designed to shut down if the video signal is no longer present.

As far as I can work things out we start with the motherboard having a default video setting. That is what we get when the Linux boot menu appears. Then Linux starts to load and at some point Linux makes an inquiry of the monitor as to the optimum screen settings. Then a video driver is loaded. meanwhile Linux continues loading and then has to load a desktop user interface. During this process the signal from the video adapter drops for a few seconds.

This is life at the moment with Linux.

Regards

Ravi_Raj

Hi GrahamMechanical,

You are absolutely right. But, will you please tell me a solution.

Thanks in advance.