It is a well known fact that proper scheme $X$ over $k$ has a up to isomorphism unique dualizing sheaf (EGA I, Hartshorne). 


This dualizing sheaf $\omega\_X$ comes with two striking properties:


(i) *There is a homomorphism $t : H^n(X, \omega\_X ) \to k$ (also called the trace) such that for every coherent
$\mathcal{O}\_X$-Module $\mathcal{F}$ the following holds: There exists a canonical bilinear map*


$$ \operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) \times H^n(X, \mathcal{F}) \to H^n(X, \omega\_X) $$


*which gives an isomorphism:*


$$ \operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) \cong H^n(X, \mathcal{F})^\*$$


*by composing with t. Here,* \* *means the dual vector space over $k$.*


(ii) *In addition for every integer $i ≥ 0$ and coherent $\mathcal{F}$ , there exists a canonical isomorphism: $\operatorname{Ext}^i(\mathcal{F}, \omega\_X) \cong H^{n-i}(X, \mathcal{F})^\*$ if and only if $X$ is Cohen–
Macaulay.*


In other words (i) means $H^n(X, \mathcal{F})^\*$ is representable. Now $H^n(X, \mathcal{F})^\*$ carries structure of a $k$-vector space. If we assume that $\dim\_k H^n(X, \mathcal{F}) < \infty$, then $H^n(X, \mathcal{F}) \cong H^n(X, \mathcal{F}) ^\*$ and in following we will not differ between $H^n(X, \mathcal{F})$ and it's dual.


A one dimensional $k$- subspace $V\_1 \subset H^n(X, \mathcal{F})$ correspond in high tec language to an orbit of a non zero vector $v \in H^n(X, \mathcal{F})$ by action of $k$ on $H^n(X, \mathcal{F})$ via multiplication, ie $V\_1= k \cdot v$.


Now my first question is what are the special morphisms in $\operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) $ which correspond to $V\_1$ aka to the orbit of $k$-action on $v$. How are they related to each other as objects in $\operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) $? 


In other words if $\operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) $ inherits the $k$-action from $H^n(X, \mathcal{F})$, are the elements from the same orbit related to each other in certain "deep" way? Any intuition how one can think about these orbits (except of the boring answer "lines in $H^n(X, \mathcal{F})$")?


The second question is if we take $\mathcal{F}= \omega\_X$, then $id\_{\omega\_X} \in \operatorname{Hom}\_(\omega\_X,\omega\_X)$. Is it's image in $H^n(X, \mathcal{F})$ "special" in certain way? What can we say about this element considered as vector?



The Serre duality theorem intuition
First of all, dualizing sheaves are unfortunately not treated in EGA. The treatment in Hartshorne has some limitations. Perhaps some of them are related to your questions.


For pointers to more recent and complete treatments of duality, I suggest you to look at [the MO question "Serre duality in families"](https://mathoverflow.net/a/358135/6348).


Let me start by your second question. The defining property of $\omega\_X$, namely
$$
 H^n(X, \mathcal{F})^\* \cong
\operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) 
$$
expresses the fact that the functor $H^n(X, -)^\*$ is *representable*. This means that there is a representing pair $(\omega\_X, \int\_X)$ with $\int\_X \colon H^n(X, \omega\_X) \to k$ a *canonical* isomorphism that, as you explain, indices the previously displayed isomorphism. This is what you denote "$t$" in your post. Notice that $\int\_{X}$ is what corresponds to $\operatorname{id\_{\omega\_X}}$ in the isomorphism
$$
H^n(X, \omega\_X)^\* \cong
\operatorname{Hom}\_{\mathcal{O}\_X}(\omega\_X,\omega\_X) 
$$


The fact that the representing object of a functor is unique up to unique isomorphism means that there is no choice for it, once you have a concrete description of $\omega\_X$ it forces a unique description of $\int\_X$.


How to get such a description? On the projective space $\mathbb{P}^n\_k$ one gets a characterization of $\Omega\_{\mathbb{P}^n\_k|k}$ as $\mathcal{O}\_{\mathbb{P}^n\_k}(-n-1)$ and from this characterization a canonical isomorphism:
$$
\int\_{\mathbb{P}^n\_k} \colon H^n(\mathbb{P}^n\_k, \Omega^n\_{\mathbb{P}^n\_k|k}) \longrightarrow k
$$
Therefore $\omega\_{\mathbb{P}^n\_k|k} = \Omega^n\_{\mathbb{P}^n\_k|k}$. Once you get this description you extend it to other projective varieties and with a little more work to proper varieties over $k$. This is explained under the assumption that $k$ is perfect in J. Lipman's blue book, *Dualizing sheaves, differentials and residues on algebraic varieties*, Astérisque No. **117** (1984).


Now for your fist question. The pairing
$$
\operatorname{Hom}\_{\mathcal{O}\_X}(\mathcal{F},\omega\_X) \times H^n(X, \mathcal{F}) \to k
$$
that assigns to a linear map $\varphi \colon \mathcal{F} \to \omega\_X$ and a cohomology class $\alpha \in H^n(X, \mathcal{F})$ the element $\int\_{X} (\alpha \circ \varphi)$ where "$\circ$" denotes Yoneda composition. So the fact that $H^n(X, \omega\_X)$ is 1-dimensional means, essentially, that the integral is unique up to "rescaling", so any time you take a multiple of $\alpha$ you are basically recalling it. In a perhaps more abstract point of view one may interpret $\alpha \colon \mathcal{O}\_X \to \mathcal{F}[n]$ (in the derived category), therefore $\alpha \circ \varphi \colon \mathcal{O}\_X \to \omega\_X[n]$ is just a scalar multiple of the "volume form": the element in $H^n(X, \omega\_X)$ whose image by $\int\_{X}$ is $1 \in K$.


The fact that you are dealing with canonical maps suggests that one should avoid identifying a space with its dual, unless there is canonical choice of the isomorphism. This is crucial in this theory.


What is fascinating to me is that this story makes sense in any characteristic, and that there is an interesting counterpoint between the abstract aspects (dualizing sheaves, representable functors) and the more concrete ones in the sense of computations with cohomology classes, traces and differentials.


