allt i 16:9
Kategoriregler
Varning! Det som diskuteras här är inte alltid enkelt och det kan hända att vissa installationer/modifieringar kan göra ditt system oanvändbart. Inget för nybörjare. Gör alltid backup av känslig data innan du experimenterar.
Varning! Det som diskuteras här är inte alltid enkelt och det kan hända att vissa installationer/modifieringar kan göra ditt system oanvändbart. Inget för nybörjare. Gör alltid backup av känslig data innan du experimenterar.
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
allt i 16:9
Jag vill vissa visa alla foto'n i 16:9 format.
Hur ska jag gå till väga? Vilket sätt är lättast?
-Ska jag skapa en kopia av varje bild som är beskuren till 16:9.
-Finns det ett 16:9-filter att använda så att bildspelet(programet) beskär istället.
Wallpapoz som jag använder nu, skalar bilderna och det gör att det blir "sorgkanter" om bilden inte redan är beskuren. Vad jag vet finns det inget program med inställning som begränsar med "kortsidan".
Tacksam för ideer.
Hur ska jag gå till väga? Vilket sätt är lättast?
-Ska jag skapa en kopia av varje bild som är beskuren till 16:9.
-Finns det ett 16:9-filter att använda så att bildspelet(programet) beskär istället.
Wallpapoz som jag använder nu, skalar bilderna och det gör att det blir "sorgkanter" om bilden inte redan är beskuren. Vad jag vet finns det inget program med inställning som begränsar med "kortsidan".
Tacksam för ideer.
- Ulsak
- Inlägg: 4808
- Blev medlem: 06 aug 2007, 19:04
- OS: Ubuntu
- Utgåva: 22.04 Jammy Jellyfish LTS
- Ort: Göteborg
Re: allt i 16:9
ok, jag gjorde så här med en skrivbordsbakgrund som var 1280x1024 som jag ville ha till 1280x800
Öppna bilden med GIMP
Klicka på beskärningsverktyget i verktygslådan. I dialogrutan kan du sedan manuellt ställa in det värde som önskas samt position på beskärningen.
Öppna bilden med GIMP
Klicka på beskärningsverktyget i verktygslådan. I dialogrutan kan du sedan manuellt ställa in det värde som önskas samt position på beskärningen.
- Osprey
- Inlägg: 6310
- Blev medlem: 06 apr 2008, 00:09
- OS: Ubuntu
- Ort: Göteborg/Mölndal/Falkenberg
- Kontakt:
Re: allt i 16:9
Det där funkar med t.ex gThumb. Först måste man givetvis ställa in så man har ett 16:9-fönster och sedan ställer man gThumb till "anpassa till bredd om större". Då skalar den så att bredden alltid blir korrekt beroende på fönstrets storlek och det som åker utanför på höjden hamnar utanför, men kan om man så vill dras uppåt och nedåt om man vill titta på det. Jag har för mig att den centrerar det på höjden, så att den alltså klipper lika mycket både upptill och nedtill...
Agera genom att ta och behålla initiativet, ta de risker detta kräver...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
Tack för förslagen. Jag ska pyssla lite med det så återkommer jag. 

-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
GIMP erbjuder en del hjälp som underlättar beskäring.
För det 16:9 redigering jag gjort, har jag valt......
-Bild -> Storlek på rityta
-avmarkera synk-kedja och reducera höjd-värdet till 9/16-delar och positionera bilden rätt -> tryck änrda storlek.
-ctlS, ctlW, ctlO nästa
Ganske jobbigt när det är många bilder.
Kanske finns det något smartare för att göra jobbet mindre betungande.
För det 16:9 redigering jag gjort, har jag valt......
-Bild -> Storlek på rityta
-avmarkera synk-kedja och reducera höjd-värdet till 9/16-delar och positionera bilden rätt -> tryck änrda storlek.
-ctlS, ctlW, ctlO nästa
Ganske jobbigt när det är många bilder.
Kanske finns det något smartare för att göra jobbet mindre betungande.
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
gThumb tycker jag om. Det kommer bli den jag använder på 16:9-skärmar. Detta att den fyller skärmen i sidled är bekvämt. Dock saknar jag den där fina snabba och bekväma "hjulzoomen" som eyes of Gnome erbjuder.
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
Men jag hade hoppas på att någon av det "kodkunniga" skulle ha ett förslag på hur Wallpapoz kunde redigeras, så det där med "justera efter bredd" var möjligt. 
Det hade varit kul att kunna ta hela albumet till TV-applikationen utan att behöva "handpåläggning".
http://ubuntu-se.org/phpBB3/viewtopic.php?f=208&t=35403

Det hade varit kul att kunna ta hela albumet till TV-applikationen utan att behöva "handpåläggning".

http://ubuntu-se.org/phpBB3/viewtopic.php?f=208&t=35403
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
email
http://wallpapoz.akbarhome.com/index.html
On Fri, Feb 20, 2009 at 4:33 AM, Hans Linde <hans.linde@telia.com> wrote:
> > Great tool. Exelent tool.
> > I really like it. Its' on must if the families PCs now. And they hate it, as
> > they have had enought of my pictures. :-)
> >
> > Serious now,
> > you've make a great work and I am using it on several PC-applications.
> >
> > I am asking for a 16:9 screen fine tuning.
> > By having the possebility to set the scaling to fit the width on the
> > picture,
> > a 16:9 screen would be filled.
> > Yes , it is not obvios the picture fits in nicely anyway, but I think it
> > usualy does.
> >
> > I have got a TV-application, where I use Openbox on Gnome(Ubuntu) and
> > your Wallpapoz as wallpaper.
> > As the TV is a Plasma, no icon or panels can be used. And this also effects
> > the pictures.
> >
> > I like to pick any folder from my "photo-nas", without having to make a 16:9
> > crop-ing.
> >
> > I hope you see the advantage.
> >
> >
Ah, thank you for your compliment. Yeah, I see the advantage. But I am
already retired from developing Wallpapoz. So, I am sorry, Hans.
Me.
http://wallpapoz.akbarhome.com/index.html
On Fri, Feb 20, 2009 at 4:33 AM, Hans Linde <hans.linde@telia.com> wrote:
> > Great tool. Exelent tool.
> > I really like it. Its' on must if the families PCs now. And they hate it, as
> > they have had enought of my pictures. :-)
> >
> > Serious now,
> > you've make a great work and I am using it on several PC-applications.
> >
> > I am asking for a 16:9 screen fine tuning.
> > By having the possebility to set the scaling to fit the width on the
> > picture,
> > a 16:9 screen would be filled.
> > Yes , it is not obvios the picture fits in nicely anyway, but I think it
> > usualy does.
> >
> > I have got a TV-application, where I use Openbox on Gnome(Ubuntu) and
> > your Wallpapoz as wallpaper.
> > As the TV is a Plasma, no icon or panels can be used. And this also effects
> > the pictures.
> >
> > I like to pick any folder from my "photo-nas", without having to make a 16:9
> > crop-ing.
> >
> > I hope you see the advantage.
> >
> >
Ah, thank you for your compliment. Yeah, I see the advantage. But I am
already retired from developing Wallpapoz. So, I am sorry, Hans.
Me.
- Osprey
- Inlägg: 6310
- Blev medlem: 06 apr 2008, 00:09
- OS: Ubuntu
- Ort: Göteborg/Mölndal/Falkenberg
- Kontakt:
Re: allt i 16:9
Kikade på det och det är en massa python-kod om någon känner sig hågad... själv är jag inte tillräckligt hemma i python för att kunna ge mig på det med rimligt arbete...Hans Linde skrev:Men jag hade hoppas på att någon av det "kodkunniga" skulle ha ett förslag på hur Wallpapoz kunde redigeras, så det där med "justera efter bredd" var möjligt.
Agera genom att ta och behålla initiativet, ta de risker detta kräver...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
Jag tittade själv i wallpapoz.py.
Jag är förståss inte kunnig i det här men.....är det inte här det ska "skruvas till"
#================================================
#
# wallpapoz_system.py - Wallpapoz
# Copyright (C) 2007 Akbar <akbarhome@gmail.com>
#
#================================================
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
#================================================
## wallpapoz_system.py -- finds current desktop and changes wallpaper
# achieve goal by calling external program
import os
import string
class WallpapozSystem:
def __init__(self):
self.wallpaper_style = 'scaled'
self.finding_screen_resolution()
self.check_beryl()
if self.beryl:
self.finding_row_and_column()
self.finding_total_workspaces()
def set_style(self, style):
self.wallpaper_style = style
## class method to find monitor resolution
def finding_screen_resolution(self):
raw_resolution = os.popen('xwininfo -root').read()
start_width = raw_resolution.find('Width')
end_width = raw_resolution.find('\n',start_width)
start_height = raw_resolution.find('Height')
end_height = raw_resolution.find('\n', start_height)
self.screen_width = int(raw_resolution[start_width+7:end_width])
self.screen_height = int(raw_resolution[start_height+8:end_height])
## class method to find amount of workspaces in user desktop
def finding_total_workspaces(self):
if self.beryl:
self.total_workspaces = self.row_workspaces * self.column_workspaces
else:
self.total_workspaces = int(os.popen("xprop -root _NET_NUMBER_OF_DESKTOPS").read()[36:38])
## class method to find if user use beryl in his system or not
def check_beryl(self):
raw_geometry = os.popen('xprop -root _NET_DESKTOP_GEOMETRY').read()
# output of xprop -root _NET_DESKTOP_GEOMETRY is '_NET_DESKTOP_GEOMETRY(CARDINAL) = 1024, 768\n'
# and we just need the '1024, 768' part
raw_geometry = raw_geometry[34:raw_geometry.find('\n')]
geometry = string.split(raw_geometry, ', ')
self.geometry_width = int(geometry[0])
self.geometry_height = int(geometry[1])
self.beryl = False
if self.geometry_width!=self.screen_width:
self.beryl = True
return
if self.geometry_height!=self.screen_height:
self.beryl = True
## class method to find how many rows and columns of workspaces
def finding_row_and_column(self):
self.row_workspaces = self.geometry_height / self.screen_height
self.column_workspaces = self.geometry_width / self.screen_width
## class method to find how many workspaces there are in user desktop
def get_total_workspaces(self):
return self.total_workspaces
## class method to know what workspace we are in now
def current_desktop(self):
if self.beryl:
raw_viewport = os.popen('xprop -root _NET_DESKTOP_VIEWPORT').read()
# output of xprop -root _NET_DESKTOP_VIEWPORT is '_NET_DESKTOP_VIEWPORT(CARDINAL) = 1024, 768\n'
# and we just need the '1024, 768' part
raw_viewport = raw_viewport[34:raw_viewport.find('\n')]
viewport = string.split(raw_viewport, ', ')
x_pos = int(viewport[0]) / self.screen_width
y_pos = int(viewport[1]) / self.screen_height
workspace = x_pos + self.column_workspaces * y_pos
else:
raw_workspace = os.popen('xprop -root _NET_CURRENT_DESKTOP').read()
workspace = int(raw_workspace[33] + raw_workspace[34])
return workspace
## class method to change desktop wallpaper
def change_wallpaper(self, wallpaper):
os.system('gconftool-2 -t string -s /desktop/gnome/background/picture_filename ' +
'"' + wallpaper + '"' + ' -s /desktop/gnome/background/picture_options ' +
self.wallpaper_style)
## class method to detect that we have changed workspace or not
def has_changed(self, previous_desktop, cur_desk):
if previous_desktop != cur_desk:
# if we move to workspace that we don't use, just ignore
if cur_desk >= self.total_workspaces:
return False
return True
else:
return False
Jag är förståss inte kunnig i det här men.....är det inte här det ska "skruvas till"


#================================================
#
# wallpapoz_system.py - Wallpapoz
# Copyright (C) 2007 Akbar <akbarhome@gmail.com>
#
#================================================
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
#================================================
## wallpapoz_system.py -- finds current desktop and changes wallpaper
# achieve goal by calling external program
import os
import string
class WallpapozSystem:
def __init__(self):
self.wallpaper_style = 'scaled'
self.finding_screen_resolution()
self.check_beryl()
if self.beryl:
self.finding_row_and_column()
self.finding_total_workspaces()
def set_style(self, style):
self.wallpaper_style = style
## class method to find monitor resolution
def finding_screen_resolution(self):
raw_resolution = os.popen('xwininfo -root').read()
start_width = raw_resolution.find('Width')
end_width = raw_resolution.find('\n',start_width)
start_height = raw_resolution.find('Height')
end_height = raw_resolution.find('\n', start_height)
self.screen_width = int(raw_resolution[start_width+7:end_width])
self.screen_height = int(raw_resolution[start_height+8:end_height])
## class method to find amount of workspaces in user desktop
def finding_total_workspaces(self):
if self.beryl:
self.total_workspaces = self.row_workspaces * self.column_workspaces
else:
self.total_workspaces = int(os.popen("xprop -root _NET_NUMBER_OF_DESKTOPS").read()[36:38])
## class method to find if user use beryl in his system or not
def check_beryl(self):
raw_geometry = os.popen('xprop -root _NET_DESKTOP_GEOMETRY').read()
# output of xprop -root _NET_DESKTOP_GEOMETRY is '_NET_DESKTOP_GEOMETRY(CARDINAL) = 1024, 768\n'
# and we just need the '1024, 768' part
raw_geometry = raw_geometry[34:raw_geometry.find('\n')]
geometry = string.split(raw_geometry, ', ')
self.geometry_width = int(geometry[0])
self.geometry_height = int(geometry[1])
self.beryl = False
if self.geometry_width!=self.screen_width:
self.beryl = True
return
if self.geometry_height!=self.screen_height:
self.beryl = True
## class method to find how many rows and columns of workspaces
def finding_row_and_column(self):
self.row_workspaces = self.geometry_height / self.screen_height
self.column_workspaces = self.geometry_width / self.screen_width
## class method to find how many workspaces there are in user desktop
def get_total_workspaces(self):
return self.total_workspaces
## class method to know what workspace we are in now
def current_desktop(self):
if self.beryl:
raw_viewport = os.popen('xprop -root _NET_DESKTOP_VIEWPORT').read()
# output of xprop -root _NET_DESKTOP_VIEWPORT is '_NET_DESKTOP_VIEWPORT(CARDINAL) = 1024, 768\n'
# and we just need the '1024, 768' part
raw_viewport = raw_viewport[34:raw_viewport.find('\n')]
viewport = string.split(raw_viewport, ', ')
x_pos = int(viewport[0]) / self.screen_width
y_pos = int(viewport[1]) / self.screen_height
workspace = x_pos + self.column_workspaces * y_pos
else:
raw_workspace = os.popen('xprop -root _NET_CURRENT_DESKTOP').read()
workspace = int(raw_workspace[33] + raw_workspace[34])
return workspace
## class method to change desktop wallpaper
def change_wallpaper(self, wallpaper):
os.system('gconftool-2 -t string -s /desktop/gnome/background/picture_filename ' +
'"' + wallpaper + '"' + ' -s /desktop/gnome/background/picture_options ' +
self.wallpaper_style)
## class method to detect that we have changed workspace or not
def has_changed(self, previous_desktop, cur_desk):
if previous_desktop != cur_desk:
# if we move to workspace that we don't use, just ignore
if cur_desk >= self.total_workspaces:
return False
return True
else:
return False
- Osprey
- Inlägg: 6310
- Blev medlem: 06 apr 2008, 00:09
- OS: Ubuntu
- Ort: Göteborg/Mölndal/Falkenberg
- Kontakt:
Re: allt i 16:9
Det ingår en hel del mer än det, prova att ladda hem wallpapoz-0.4.1.tar.bz2 och packa upp det...
Agera genom att ta och behålla initiativet, ta de risker detta kräver...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
http://www.enargo.com/it/
OpenVMS Shark - i Linux finns inte SYS$CMKRNL...
-
- Inlägg: 3375
- Blev medlem: 06 sep 2008, 07:46
- OS: Crunchbang
- Utgåva: Vet inte/ingen utgåva passar
Re: allt i 16:9
Jo jag använder Wallpapoz, hela packetet finns installerat på PCn.
EDIT:
Ojj..ursökta ett halt svar. Något försvann
..
Jag trodde att jag hade hittat filer som skulle editeras, men det var ett "långskott"
EDIT:
Ojj..ursökta ett halt svar. Något försvann

..
Jag trodde att jag hade hittat filer som skulle editeras, men det var ett "långskott"
